# ELBI: 에이전트용 데이터 분석 기억
# ELBI: data analysis memory for agents

- Site: https://select1.dev/2026-11-24 (English), https://select1.dev/ko/2026-11-24 (Korean)
- Entry: 045
- Published: 2026-11-24 (KST). Launch date: 2026-11-23
- Pick: ELBI <https://github.com/Intelligible/elbi> (source: Show HN)
- Verified: ran
- What: ELBI 는 에이전트의 데이터 분석을 다시 실행할 수 있는 코드로 저장하는 프로덕트다. 저장한 결과는 여러 에이전트가 MCP 로 함께 사용할 수 있다.
- What (en): 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.
- Why: 오늘의 픽으로 선정한 이유는 데이터가 바뀌면 에이전트가 최신 분석 결과를 사용할 수 있기 때문이다.
- Why (en): It is today’s pick because an agent can use the latest analysis results when the data changes.
- Verdict: 작동한다. 저장한 분석 결과는 데이터가 바뀐 뒤 다시 계산됐다.
- Verdict (en): It works. A saved analysis was computed again after the data changed.
- Tags: agents, mcp, data-analysis, statistics

## Checked against the README

- [pass] README 의 예제에서 스킬 파일을 작성한 다음 날 그때와 같은 질문을 MCP 로 ELBI 에 보내면, ELBI 는 다시 계산한 값을 반환한다(the same question, asked of elbi over MCP … It cuts TTD by about 9%) — 저장소의 examples/03_stale_skill 을 복사해 elbi.sh 를 실행했다. 출력은 as_of 2026-08-07, gross_vol 0.2431, TTD -0.0923, cov_matrix@c55af5ca 로 README 의 값과 같았다
- [pass] 결과는 코드와 데이터의 버전별로 캐시된다. 실행 중인 서버는 그 결과를 계속 제공하다가, 코드나 데이터가 바뀌면 다시 계산한다(cached against the code and the data) — 예제의 sales.csv 에 고객 한 명을 추가했다. 실행 중인 서버의 run_churn_risk 는 바로 다음 호출에서 고객 3명으로 계산한 이전 결과를 반환했다. 2초 뒤 호출에서는 고객 4명으로 다시 계산한 결과를 반환했다
- [fail] 에이전트가 주장을 선언하면 ELBI 는 기록하기 전에 그 주장을 검사한다(If the agent states a claim … elbi checks the claim before recording the finding) — 데이터 300행을 만들고, 할인율과 지출을 모두 플랜마다 다르게 설정했다. 이 데이터로 할인율이 지출을 늘린다는 주장을 propose_derivation 으로 선언했다. 플랜을 고려하면 이 주장은 성립하지 않는다. 플랜 열이 문자열일 때 ELBI 는 이 주장을 승인했다. controls 에 plan 을 넣어도 verify_analysis 는 SOUND 로 판정했고, 할인율이 1 오를 때 지출이 34.3 늘어난다고 추정했다. 플랜을 0과 1의 숫자 열로 바꾸자 UNSOUND 로 판정했다

## Measured

- derivation 의 첫 실행과 캐시된 실행의 응답 시간(MCP): 507, 561, 1,487 ms → 5~7 ms (같은 run_churn_risk 요청을 서버 시작 직후와 그 뒤에 보내 응답 시간을 기록했다. 서버를 세 번 시작했다)

## Progress (days after launch; full history https://select1.dev/2026-11-24/progress)

- day 3 (checked 2026-11-26) [quiet] commits since launch 0, stars 42, releases 2, contributors 7, last commit 2026-11-20

## 한국어

## 무엇이 문제인가

AI 에이전트는 세션이 끝나면 대화에서 알아낸 것을 잊는다. Claude Code 문서에 따르면 세션은 매번 빈 컨텍스트로 시작한다. 이전 세션에서 알아낸 내용은 CLAUDE.md 파일과 자동 메모리로 다음 세션에 전달된다. CLAUDE.md 는 사용자가 일반 텍스트로 작성하는 파일이다. 자동 메모리는 Claude 가 작업하며 알게 된 것을 스스로 기록하는 기능이다. Claude 는 세션을 시작할 때마다 CLAUDE.md 와 자동 메모리를 읽는다. 제작자는 ELBI 의 README 에서 스킬 파일을 예로 들어 이런 파일의 한계를 설명한다. 데이터 분석 결과를 이런 파일에 기록해 두면, 데이터가 바뀌어도 파일에는 기록한 날의 값이 남는다.

## 어떻게 해결했나

Intelligible 창업자 Ben Lengerich 가 2026년 11월 23일(UTC) Hacker News 에 Show HN 글로 ELBI 를 소개했다.

ELBI 는 분석 결과를 텍스트가 아니라 derivation 으로 저장한다. derivation 은 읽을 데이터를 선언한 Python 함수다. ELBI 는 이 함수를 실행해 결과와 함께 코드와 입력 데이터의 버전을 기록한다. MCP 서버로는 derivation 마다 이 함수를 실행하는 도구를 제공한다. 에이전트는 `propose_derivation` 도구로 새 derivation 을 작성할 수 있다. 에이전트가 "x 가 y 를 늘린다" 같은 주장을 함께 선언하면, ELBI 는 주장을 검사하고 통과한 것만 승인해 제공한다. 검사는 다른 변수를 통제하거나 이상값을 제외하거나 표본을 다시 추출해도 효과가 유지되는지 확인한다.

## 무엇이 다른가

첫째, 저장하는 것이 다르다. CLAUDE.md 와 자동 메모리에는 결과가 텍스트로 남는다. ELBI 는 결과를 만든 코드와 입력 데이터의 버전을 함께 저장하고, 데이터나 코드가 바뀌면 결과를 다시 계산한다. 재계산은 백그라운드에서 실행하고, 그동안 에이전트에게는 이전 결과를 바로 반환한다. ELBI 문서에 따르면 계산이 오래 걸리는 분석에서도 에이전트를 기다리게 하지 않기 위해서다. 트레이드오프는 데이터가 바뀐 직후에는 에이전트가 이전 결과로 답할 수 있다는 점이다. 이 실행에서 고객 c4 를 추가한 직후의 응답에는 c4 가 없었다. 다시 계산한 결과에서 c4 는 이탈 위험 점수가 0.5 로 가장 높았다. 재계산이 끝나기 전에 이탈 위험이 가장 높은 고객을 물으면 에이전트는 c2 라고 답하게 된다. 응답에는 이전 결과라는 표시가 없어 에이전트는 응답만으로 이를 알 수 없다.

둘째, 기록하기 전의 검사가 다르다. CLAUDE.md 와 자동 메모리에는 결론이 검사 없이 남는다. ELBI 는 주장을 검사해 통과한 것만 제공한다. 다만 검사는 숫자 열만 교란 변수 후보로 사용한다.

## 어떻게 만들었나

- 커밋은 2026년 9월 2일부터 11월 20일까지 145개다. 그중 82개는 Dependabot 의 의존성 업데이트이고, 나머지는 Aidan O'Brien(23개), Sam Bradin(13개), Joshua Shunk(11개), Ben Lengerich(7개) 등이 작성했다.
- 저장소는 elbi, elbi-core, elbi-cli, elbi-agent 네 패키지로 구성된다. 네 패키지의 src 디렉토리에 있는 Python 코드는 모두 80,666줄이다. 테스트 파일은 184개다.

## 실행해 보니

환경 변수를 비우고 PyPI 의 elbi 0.2.0 을 별도 디렉토리에 설치했다. 에이전트 대신 MCP 요청을 직접 보내 확인했고, LLM 은 연결하지 않았다.

1. 설치. `uv tool install elbi` 는 118초 걸렸다.
2. 서버. `elbi init` 으로 만든 예제 프로젝트에서 `elbi mcp` 를 실행하자 7.6초 뒤 MCP 서버가 시작됐다. 예제 derivation 하나를 실행하는 도구와 함께, 이름이 `verify` 로 시작하는 검증 도구 34개를 제공했다.
3. 캐시. 예제 derivation 은 고객별 구매액으로 이탈 위험 점수를 계산한다. 첫 실행은 507 ms, 두 번째는 5 ms 걸렸다. 서버가 실행 중일 때 예제의 `sales.csv` 에 고객 한 명을 추가했다. 바로 다음 호출은 이전 결과(고객 3명)를 반환했고, 2초 뒤 호출은 고객 4명으로 다시 계산한 결과를 반환했다.
4. 하루 전 스킬 파일 예제. README 의 예제는 가상의 주식 포트폴리오다. 8월 6일 장 마감 뒤 작성한 스킬 파일에는 TTD 종목의 비중을 3% 줄이라고 적혀 있다. 다음 날 데이터에서는 TTD 가 21.9% 떨어졌다. ELBI 는 이 데이터로 비중을 9.23% 줄여야 한다고 계산했다. 값은 README 와 같았다.
5. 주장 검사. 할인율이 지출을 늘린다는 주장을 시험하려고 데이터 300행을 만들었다. 할인율과 지출은 모두 플랜(team, enterprise)에 따라 다르다. 같은 플랜 안에서 할인율에 대한 지출의 기울기는 team 0.05, enterprise -3.42 다. 플랜을 고려하면 이 주장은 성립하지 않는다. 플랜이 문자열 열일 때 ELBI 는 이 주장을 승인하고 제공했다. 플랜의 영향을 통제하도록 `controls` 에 plan 을 넣어도, `verify_analysis` 도구는 SOUND 를 출력하고 할인율이 1 오를 때 지출이 34.3 늘어난다고 추정했다. 플랜을 0과 1의 숫자 열로 바꾸자 `verify_analysis` 는 UNSOUND 로 판정하고 이 열을 교란 변수로 지목했다. 코드를 확인하니 숫자가 아닌 열은 `controls` 에 넣어도 경고 없이 제외된다.

```text title="MCP 응답, sales.csv 를 바꾼 직후의 run_churn_risk"
| customer_id | risk |
| --- | --- |
| c2 | 0.1667 |
| c3 | 0.0244 |
| c1 | 0.0099 |
```

```text title="MCP 응답, 2초 뒤 다시 호출한 run_churn_risk" {3}
| customer_id | risk |
| --- | --- |
| c4 | 0.5 |
| c2 | 0.1667 |
| c3 | 0.0244 |
| c1 | 0.0099 |
```

## 확인하지 못한 것

- 실제 에이전트가 작성하는 derivation. Claude Code 를 MCP 로 연결해, 에이전트가 직접 derivation 을 작성하고 주장을 선언하게 해 보자.
- 채팅 화면(`elbi serve`). CLI 도움말에 따르면 `elbi serve` 는 채팅 화면을 열고 MCP 서버도 함께 실행한다. 같은 예제 프로젝트에서 실행해 보자.

## 판정

작동한다. 저장한 분석 결과는 데이터가 바뀐 뒤 다시 계산됐다. 다만 ELBI 는 문자열 열로 된 교란 변수를 주장 검사에서 제외해, 잘못된 주장을 승인했다. 에이전트가 같은 데이터 분석을 세션마다 반복하는 경우에 써 볼 만하다.

## 얻어갈 것

- 효과를 검증하는 도구는 문자열 열로 된 교란 변수가 있는 데이터로도 시험해 보자. ELBI 는 문자열로 된 플랜 열을 건너뛰고 잘못된 주장을 승인했다.
- 에이전트의 분석 결과에는 입력 데이터의 버전을 함께 남기자. ELBI 예제에서 하루 전 스킬 파일의 값은 다시 계산한 값과 달랐다.

### 용어

- 에이전트 스킬: AI 에이전트가 특정 작업을 할 때 읽는 지침 파일과 실행하는 스크립트의 묶음.
- MCP: Model Context Protocol. AI 모델을 외부 도구와 데이터에 연결하는 방식을 정의한 규격이다.
- 교란 변수: 원인으로 보이는 값과 결과에 함께 영향을 주는 변수. 이 변수를 고려하지 않으면 없는 효과가 있는 것처럼 보일 수 있다.

## English

## 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 skill 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 MCP 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 confounders.

## 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.

```text title="MCP response from run_churn_risk right after sales.csv changed"
| customer_id | risk |
| --- | --- |
| c2 | 0.1667 |
| c3 | 0.0244 |
| c1 | 0.0099 |
```

```text title="MCP response from run_churn_risk 2 seconds later" {3}
| 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.

### Terms

- agent skill: Instructions, sometimes with scripts, that an AI agent uses for a specific task.
- MCP: Model Context Protocol. It is a standard for how AI models connect to outside tools and data.
- confounder: A variable that affects both the apparent cause and the result. If you ignore it, an effect can appear where there is none.

## Launches the same day

- News Blocklist <https://github.com/ruairidhflint/news-blocklist> (Show HN, 20): DNS 차단 목록. 뉴스와 시사 사이트 1만 4천 곳을 Pi-hole 같은 차단 도구에서 막는다.
- Hearth 64 <https://github.com/njgreb/n64fireplace> (Show HN, 12): 닌텐도 64 화면 보호기. 실제 N64 와 CRT TV 에서 실행하는 벽난로 ROM 이다.
- Thane’s Quest <https://thanes-quest.daventry.io/> (Show HN, 11): 브라우저 게임. 제작자가 Claude Fable 과 함께 만든 80년대풍 판타지 RPG 다.
- Zean <https://github.com/okcontract/zean> (Show HN, 6): 검증 도구. Zig 함수를 Lean 모델로 변환해 동작을 증명하게 한다.
- ELBI <https://github.com/Intelligible/elbi> (Show HN, 4): 에이전트용 데이터 분석 도구. 에이전트의 분석 결과를 코드로 저장하고 MCP 로 제공한다.
- safe-anything <https://github.com/erkamyaman/safe-anything> (GitHub, 447): 취약점 검사 도구. 코드의 XSS, SQL 인젝션, 유출된 시크릿, 에이전트 설정을 Rust 로 검사한다.
- Stream-Tube-Desktop <https://github.com/Avaneesh-Inamdar/Stream-Tube-Desktop> (GitHub, 289): Windows 용 YouTube 앱. Rust 로 만들었고 SponsorBlock 이 들어 있다.
- KuroCat <https://github.com/chanke17/KuroCat> (GitHub, 216): 데스크톱 고양이. 키보드와 마우스 입력에 따라 화면 속 고양이가 움직인다.
- Letter Visitors <https://www.producthunt.com/products/letter-visitors> (Product Hunt, 291): 방문자 표시 도구. 웹사이트 화면에 지금 보고 있는 방문자를 보여 준다.
- Gauth Personal Study Agent <https://www.producthunt.com/products/gauth> (Product Hunt, 231): 학습 에이전트. 학생이 어려워한 부분을 기억해 공부를 돕는다.
- Motionflare <https://www.producthunt.com/products/motionflare> (Product Hunt, 216): 영상 제작 도구. 웹사이트로 출시 홍보 영상을 만든다.

## Getting started

- Steps: uv tool install elbi ; elbi init acme-data-context && cd acme-data-context && elbi mcp
- Needs: Python 과 uv., MCP 를 지원하는 에이전트(Claude Code, Cursor, Codex 등).
- Cost: 무료, Apache 2.0 라이선스. 계정이 필요 없다.
