Claude Code and Codex built-in memory vs. sepiace
Even if you have never used a memory service, you can see how plain Claude Code or Codex differs from the same agent with sepiace connected, using the numbers from KiokuBench v1 r1.
What built-in memory is
- Claude Code's built-in memory is its auto memory. It writes down what is worth keeping from a conversation in files on your computer.
- Codex's built-in memory is its memories feature. It builds memories from interactive conversations, such as its CLI interface or VS Code.
- sepiace keeps memory on a server outside the agent. It cuts the memory text from the sentence the agent passes, stores it, and forgets it when asked.
Results
Claude Code
| Measure | Built-in memory | sepiace |
|---|---|---|
| KiokuBench Index and pillars | ||
| KiokuBench Index v1 | 18.9 | 60.6 |
| Remember | 2.4 | 51.5 |
| Replace | 4.5 | 23.2 |
| Forget | 4.7 | 51.2 |
| Discern | 79.4 | 80.7 |
| Combine | 0.0 | 31.3 |
| Use | 78.2 | 80.1 |
| Honesty | 96.3 | 89.6 |
| Efficiency | 100.0 | 100.0 |
| Check questions | ||
| Check questions answered correctly | 34.0% | 59.5% |
| Amount of memory | ||
| Tokens from memory per question | 81 | 82 |
| Tokens written to memory per person | 246 | 2,613 |
| Usage and time to take in the conversations | ||
| Input tokens to take in the conversations (total) | 178M | 224M |
| Estimated usage to take in the conversations (at API prices, total) | $479.04 | $493.15 |
| Time the agent took per message (average) | 8.6 s | 10.2 s |
Codex
| Measure | Built-in memory | sepiace |
|---|---|---|
| KiokuBench Index and pillars | ||
| KiokuBench Index v1*1 | 11.4 | 66.1 |
| Remember | 9.6 | 67.9 |
| Replace | 3.7 | 31.1 |
| Forget | 7.0 | 46.6 |
| Discern | 71.3 | 70.1 |
| Combine | 1.6 | 48.9 |
| Use | 77.5 | 82.4 |
| Honesty | 92.5 | 86.0 |
| Efficiency | 4.0 | 100.0 |
| Check questions | ||
| Check questions answered correctly | 35.8% | 67.9% |
| Amount of memory | ||
| Tokens from memory per question | 2,668 | 69 |
| Tokens written to memory per person | 200,335 | 3,426 |
| Usage and time to take in the conversations | ||
| Input tokens to take in the conversations (total) | 236M | 1,068M |
| Time the agent took per message (average) | 10.8 s | 19.6 s |
- *1 Codex creates memories only from interactive sessions, so for its built-in memory we drove Codex through its interactive CLI screen.
What the results show
- With Claude Code, connecting sepiace raised the Index from 18.9 to 60.6 and the share of check questions answered correctly from 34.0% to 59.5%. The gains came in the Remember, Replace, Forget, and Combine pillars.
- Both are still far from a perfect score. Replace was 23.2 with Claude Code and 31.1 with Codex, and Combine was 31.3 and 48.9.
- With Claude Code, Discern and Use differed by 2 points or less, and Honesty was lower with sepiace. Even with no memory, the route scored 32.2% with Claude Code, because some questions are answered correctly by saying the agent does not know.
- With Claude Code, taking in the conversations used more with sepiace: about 3% more estimated usage and about 19% more time per message. The amount written to memory was about 10 times the built-in memory, while the tokens from memory per question were almost the same.
- With Codex, connecting sepiace raised the Index from 11.4 to 66.1 and the share of check questions answered correctly from 35.8% to 67.9%. Codex's built-in memory wrote about 200,000 tokens per person and added about 2,700 tokens per question, while sepiace wrote about 3,400 and added about 70. The built-in memory route used fewer input tokens and less time per message to take in the conversations, but those numbers leave out the work Codex does in the background to build memories, and the two routes drove Codex differently.
How we measured
- We did not pass the conversations to a memory system directly. We connected memory to Claude Code and Codex and passed the conversations to the agent. Claude Code 2.1.311 ran on Sonnet 5.5, and Codex ran codex-cli 0.162.1 with gpt-5.6-terra.
- The built-in memory route used only each agent's built-in memory. The sepiace route had plugin 0.2.1 installed and the built-in memory turned off.
- We gave 12 people 200 sessions of conversation each and asked the check questions in new sessions. We scored 2,569 questions, graded by GPT-6 Luna.
- The Index and pillars are totals for 12 people. The correct share and the tokens from memory per question are a total or average over 2,569 questions. The amount written to memory is an average for 12 people, the input tokens and estimated usage are totals for 12 people, and the time per message is an average over 8,988 messages.
- Green marks the better of built-in memory and sepiace. For usage and time, the smaller value is better. We did not mark the amount written to memory or the tokens from memory.
Questions, conditions, and other results are on the KiokuBench v1 r1 page
Notes
- Codex creates memories only from interactive conversations, such as its CLI interface or VS Code. For its built-in memory alone, we drove Codex through its interactive CLI screen and let it build memories every 10 sessions and before each check. The sepiace route ran Codex non-interactively with codex exec. OpenAI's usage policy check declined to turn some conversations into memories, and those conversations are not in its memory. The input tokens and time to take in the conversations leave out the work Codex does in the background to build memories.
- Claude Code's estimated usage is what we used on a subscription, converted to API prices. Codex's records have no amount, so we show only tokens. The cost of sepiace's own judgment calls was $0.90 with Claude Code and $2.20 with Codex, and it is not in the estimate.
- We scored a correct answer as 1 point and a partly correct answer as 0.5. Some questions are answered correctly by saying the agent does not know, so even the route with no memory scores about 30%.
- This is a single run on 12 people. Do not rank values that differ by only a few points.
- The grader is a single model, GPT-6 Luna, and we have not yet checked its grading against human grading.
- KiokuBench was designed and run by the team that builds sepiace.