SELECT 1
Entry 045Tue 2026.11.24
One launch a day. Picked, run, explained.

Tue 2026.11.24

ELBI: data analysis memory for agents

Today's pick: ELBI

ELBI is a product that saves an agent’s data analysis as code that can run again. Several agents can use the saved results over MCP.

It is today’s pick because an agent can use the latest analysis results when the data changes.

exit 0Ran itIt works. A saved analysis was computed again after the data changed.

In four panels

  1. 1The problem

    1. Agent’s analysisAnalyzes data in a session
    2. Written to CLAUDE.mdThe result as plain text
    3. Next sessionReads the file at the start
    4. The value from that dayStays the same after the data changes

    If you save a data analysis result in such a file, the file keeps the value from the day you saved it even after the data changes.

  2. 2How it works

    1. Agent’s analysisWritten with propose_derivation
    2. Claims checkedControls, outliers, resampling
    3. Derivation savedCode and the input data version
    4. Served as an MCP toolAny agent can call it
    5. Computed againIn the background after the data changes

    Ran today

    ELBI saves an analysis result as a derivation instead of as text.

  3. 3What is different

    BeforeELBI

    What gets saved

    The result as text (CLAUDE.md)The code and the input data version

    Trade-offRight after a change, the old result comes back unmarked

    The check before saving

    No check (CLAUDE.md)Only claims that pass are served

  4. 4Running it

    Added customer c4 to sales.csv on the running server, then called again 2 seconds later

    MCP response from run_churn_risk
    | customer_id | risk |
    | --- | --- |
    | c4 | 0.5 |
    | c2 | 0.1667 |
    | c3 | 0.0244 |
    | c1 | 0.0099 |

    The next call returned the old result with 3 customers, and a call 2 seconds later returned the new result with 4 customers.

Found on
Show HN
Built with
Python, MCP

The problem

An AI agent forgets what it learned in a session once the session ends. The Claude Code docs say each session starts with a fresh context. CLAUDE.md files and auto memory carry what a session learned to the next one. A CLAUDE.md file is plain text that you write, and auto memory is a feature where Claude records what it learns as it works. Claude reads CLAUDE.md and auto memory at the start of every session. ELBI’s README uses a agent skillInstructions, sometimes with scripts, that an AI agent uses for a specific task. file to show that a conclusion saved as text stays the same when the data changes. If you save a data analysis result in such a file, the file keeps the value from the day you saved it even after the data changes.

How it solves it

Ben Lengerich, founder of Intelligible, posted ELBI as a Show HN on November 23, 2026 (UTC).

ELBI saves an analysis result as a derivation instead of as text. A derivation is a Python function that declares the data it reads. ELBI runs the function and records the code and the version of the input data with the result. Its MCPModel Context Protocol. It is a standard for how AI models connect to outside tools and data. server offers one tool per derivation that runs it. An agent can write a new derivation with the propose_derivation tool. The agent can also state a claim, such as "x raises y". ELBI approves and serves the claim only if it passes a check. The check tests whether the effect holds when other variables are controlled for, outliers are removed or the sample is drawn again.

What is different

First, what gets saved is different. In CLAUDE.md and auto memory, the result stays as text. ELBI saves the code that produced the result together with the version of the input data. When the data or the code changes, it computes the result again. It does this in the background and returns the old result to the agent right away. ELBI’s docs say this keeps an agent from waiting, even for a slow analysis. The trade-off is that right after the data changes, an agent may answer from the old result. In this run, the first response after I added customer c4 did not include c4. In the recomputed result, c4 had the highest risk score, at 0.5. An agent that asks who is most likely to leave before the recompute finishes will get c2 as the answer. The response does not mark the result as old, so the agent cannot tell from the response alone.

Second, the check before saving is different. In CLAUDE.md and auto memory, a conclusion is saved without any check. ELBI checks a claim and serves it only if it passes. But the check uses only numeric columns as possible confounderA variable that affects both the apparent cause and the result. If you ignore it, an effect can appear where there is none..

How it was built

  • The repository has 145 commits from September 2 to November 20, 2026. Of these, 82 are Dependabot dependency updates, and the rest are by Aidan O'Brien (23), Sam Bradin (13), Joshua Shunk (11), Ben Lengerich (7) and others.
  • The code is made up of four packages: elbi, elbi-core, elbi-cli and elbi-agent. Their src folders hold 80,666 lines of Python in all. There are 184 test files.

Running it

With environment variables cleared, I installed elbi 0.2.0 from PyPI in a separate directory. I sent MCP requests myself instead of using an agent, and connected no LLM.

  1. Install. uv tool install elbi took 118 seconds.
  2. Server. I ran elbi mcp in the example project that elbi init made. The MCP server started after 7.6 seconds. It served 34 verification tools whose names start with verify, plus a tool that runs the example derivation.
  3. Cache. The example derivation uses each customer’s purchases to score their risk of leaving. It took 507 ms on its first run and 5 ms on the second. While the server was running, I added one customer to the example’s sales.csv. The next call returned the old result with 3 customers, and a call 2 seconds later returned the new result with 4 customers.
  4. The day-old skill file example. The README example is a hypothetical stock portfolio. A skill file written after the market closed on August 6 says to cut TTD’s share of the portfolio by 3%. In the next day’s data, TTD fell 21.9%. ELBI used this data to compute a cut of 9.23% in TTD’s share. The values matched the README.
  5. Claim check. I made 300 rows of data to test a claim that discounts raise spend. Both the discount and spend depend on the plan (team or enterprise). Within each plan, the slope of spend on discount is 0.05 for team and -3.42 for enterprise. Once the plan is taken into account, the claim does not hold. When the plan was a text column, ELBI approved and served the claim. I also put the plan column in controls to account for it. The verify_analysis tool still said SOUND and estimated that each extra point of discount raises spend by 34.3. When I turned the plan into a numeric column of 0 and 1, verify_analysis said UNSOUND and named that column as a confounder. The code shows that non-numeric columns are dropped from controls without a warning.
MCP response from run_churn_risk right after sales.csv changed
| customer_id | risk |
| --- | --- |
| c2 | 0.1667 |
| c3 | 0.0244 |
| c1 | 0.0099 |
MCP response from run_churn_risk 2 seconds later
| customer_id | risk |
| --- | --- |
| c4 | 0.5 |
| c2 | 0.1667 |
| c3 | 0.0244 |
| c1 | 0.0099 |

Not checked

  • Derivations that a real agent writes. Connect Claude Code over MCP and let the agent write a derivation and state its own claims.
  • The chat UI (elbi serve). The CLI help says elbi serve opens a chat UI and also runs the MCP server. Run it in the same example project.

Verdict

It works. A saved analysis was computed again after the data changed. But the claim check left out a confounder in a text column and approved a wrong claim. It is worth trying if your agents repeat the same data analysis in every session.

What to take away

  • When you test a tool that verifies effects, also use data with a confounder in a text column. ELBI skipped the plan column, which held text, and approved a wrong claim.
  • Keep the version of the input data with an agent’s analysis results. In the ELBI example, the day-old skill file’s value differed from the value computed again.

Getting started

  1. uv tool install elbi
  2. elbi init acme-data-context && cd acme-data-context && elbi mcp
You need
Python and uv.
An agent that supports MCP, such as Claude Code, Cursor or Codex.
Cost
Free under the Apache 2.0 License. No account is needed.

Steps select 1 ran.

Progress

  1. Day 3Quiet
  2. Day 7Upcoming
  3. Day 15Upcoming
  4. Day 30Upcoming
  5. Day 90Upcoming
  6. Day 180Upcoming
  7. Day 365Upcoming

Latest check Day 3, Thu 2026.11.26

Commits since launch
0
Stars
37 → 42
Last commit
2026.11.20

No commits in this period.

Full history →