<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: loumaciel</title><link>https://news.ycombinator.com/user?id=loumaciel</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 15 Apr 2026 11:07:21 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=loumaciel" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by loumaciel in "Show HN: LangAlpha – what if Claude Code was built for Wall Street?"]]></title><description><![CDATA[
<p>It becomes the only MCP. All other MCPs are registered within the tool.</p>
]]></description><pubDate>Wed, 15 Apr 2026 08:42:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=47776315</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=47776315</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47776315</guid></item><item><title><![CDATA[New comment by loumaciel in "Show HN: LangAlpha – what if Claude Code was built for Wall Street?"]]></title><description><![CDATA[
<p>You can make MCP tools work for any type of data by using a proxy like <a href="https://github.com/lourencomaciel/sift-gateway/" rel="nofollow">https://github.com/lourencomaciel/sift-gateway/</a>.<p>It saves the payloads into SQLite, maps them, and exposes tools for the model to run python against them. Works very well.</p>
]]></description><pubDate>Tue, 14 Apr 2026 17:53:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=47768881</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=47768881</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47768881</guid></item><item><title><![CDATA[New comment by loumaciel in "Ask HN: What Are You Working On? (March 2026)"]]></title><description><![CDATA[
<p>I’m building Sift, a drop-in gateway that makes LLM tool use far more reliable when tools return large JSON payloads. The usual pattern is that agents paste raw tool outputs directly into the prompt, which quickly blows up context, causes truncation/compaction, and leads to incorrect answers once earlier results disappear. Sift sits between the model and its tools (MCP, APIs, CLIs), stores the full payload locally as an artifact (indexed in SQLite), and returns only a compact schema plus an artifact_id. When the model needs something from the data, it runs a tiny Python query against the stored artifact instead of reasoning over thousands of tokens of JSON. In benchmarks across 103 questions on real datasets, this approach cut input tokens by ~95% and improved answer accuracy from ~33% to ~99%. Repo: <a href="https://github.com/lourencomaciel/sift-gateway" rel="nofollow">https://github.com/lourencomaciel/sift-gateway</a>.</p>
]]></description><pubDate>Mon, 09 Mar 2026 13:23:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=47308747</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=47308747</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47308747</guid></item><item><title><![CDATA[New comment by loumaciel in "Show HN: Keep large tool output out of LLM context: 3x accuracy 95% fewer tokens"]]></title><description><![CDATA[
<p>Happy to answer questions about the sandboxing, artifact format, or the benchmark setup.<p>The benchmark harness and datasets are in the repo if anyone wants to reproduce or extend the tests. Curious if others have run into the same context compaction issues with tool-heavy agents.</p>
]]></description><pubDate>Thu, 05 Mar 2026 13:53:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=47261568</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=47261568</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47261568</guid></item><item><title><![CDATA[Show HN: Keep large tool output out of LLM context: 3x accuracy 95% fewer tokens]]></title><description><![CDATA[
<p>LLM agents often place raw JSON tool outputs directly in the prompt. After a few tool calls, earlier results get compacted or truncated and answers become incorrect or inconsistent.<p>I built Sift, a drop-in MCP gateway that stores tool outputs as local artifacts (filesystem blobs indexed in SQLite) and returns an `artifact_id` plus compact schema hints when responses are large or paginated.<p>Instead of reasoning over full JSON in the prompt, the model runs a small Python query:<p><pre><code>    def run(data, schema, params):
        return max(data, key=lambda x: x["magnitude"])["place"]
</code></pre>
Query code runs in a constrained subprocess (AST/import guards + timeout/memory caps). Only the computed result is returned to the model.<p>Benchmark (Claude Sonnet 4.6, 103 questions across 12 datasets):<p>- Baseline (raw JSON in prompt): 34/103 (33%), 10.7M input tokens<p>- Sift (artifact + code query): 102/103 (99%), 489K input tokens<p>Open benchmark + MIT code:
<a href="https://github.com/lourencomaciel/sift-gateway" rel="nofollow">https://github.com/lourencomaciel/sift-gateway</a><p>Install:<p><pre><code>    pipx install sift-gateway
    sift-gateway init --from claude
</code></pre>
Works with Claude Code, Cursor, Windsurf, Zed, and VS Code. Existing MCP servers and tools require no changes.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47261565">https://news.ycombinator.com/item?id=47261565</a></p>
<p>Points: 10</p>
<p># Comments: 1</p>
]]></description><pubDate>Thu, 05 Mar 2026 13:53:08 +0000</pubDate><link>https://github.com/lourencomaciel/sift-gateway</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=47261565</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47261565</guid></item><item><title><![CDATA[New comment by loumaciel in "US weighs Google break-up in landmark antitrust case"]]></title><description><![CDATA[
<p>What alternative promotional strategies?</p>
]]></description><pubDate>Wed, 09 Oct 2024 19:37:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=41791792</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=41791792</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41791792</guid></item><item><title><![CDATA[New comment by loumaciel in "US weighs Google break-up in landmark antitrust case"]]></title><description><![CDATA[
<p>You don't rely on Google to handle everything, it's self-service. Whether you use Google or another platform depends entirely on where your audience is. For example, my father runs a small construction company, and 90% of his leads come from Google search. That’s where people are looking for services like his.</p>
]]></description><pubDate>Wed, 09 Oct 2024 19:36:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=41791787</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=41791787</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41791787</guid></item><item><title><![CDATA[New comment by loumaciel in "US weighs Google break-up in landmark antitrust case"]]></title><description><![CDATA[
<p>Online advertising has leveled the playing field, allowing smaller brands to compete with big names. Platforms like Google make it easy to capture attention, which is why even giants like Nike are losing market share to newer players. This shift spans all non-regulated industries. Without online ads, launching a nationwide brand would require enormous budgets, leaving us stuck with the same old monopolies.</p>
]]></description><pubDate>Wed, 09 Oct 2024 19:32:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=41791759</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=41791759</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41791759</guid></item><item><title><![CDATA[New comment by loumaciel in "US weighs Google break-up in landmark antitrust case"]]></title><description><![CDATA[
<p>Tons of small businesses rely on advertising. Tons of legit businesses only exist because online advertising became easy and widespread.</p>
]]></description><pubDate>Wed, 09 Oct 2024 19:03:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=41791463</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=41791463</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41791463</guid></item><item><title><![CDATA[New comment by loumaciel in "Turning Everyday Gadgets into Bombs Is a Bad Idea"]]></title><description><![CDATA[
<p>In this analogy, what is water in the real world?</p>
]]></description><pubDate>Thu, 19 Sep 2024 23:01:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=41597229</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=41597229</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41597229</guid></item><item><title><![CDATA[New comment by loumaciel in "Improvements to data analysis in ChatGPT"]]></title><description><![CDATA[
<p><a href="https://www.findly.ai/">https://www.findly.ai/</a> works with databases.</p>
]]></description><pubDate>Thu, 16 May 2024 23:14:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=40384475</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=40384475</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40384475</guid></item><item><title><![CDATA[New comment by loumaciel in "Building ColdFusion for the Web"]]></title><description><![CDATA[
<p>Aha, I see, makes sense!</p>
]]></description><pubDate>Mon, 01 Jan 2024 00:36:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=38828727</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=38828727</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38828727</guid></item><item><title><![CDATA[New comment by loumaciel in "Building ColdFusion for the Web"]]></title><description><![CDATA[
<p>Maybe they were expressing their confusion because you were speaking Spanish to people in Brazil?</p>
]]></description><pubDate>Sun, 31 Dec 2023 15:06:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=38824513</link><dc:creator>loumaciel</dc:creator><comments>https://news.ycombinator.com/item?id=38824513</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38824513</guid></item></channel></rss>