Agentstory — Development skill for Claude Code
Lightweight agent-memory search in Rust: 5 MB binary, ~30 ms search, ~15 MB RAM.
How to install Agentstory
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yongvae/agentstory and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentstory does
Lightweight agent-memory search in Rust: 5 MB binary, ~30 ms search, ~15 MB RAM. Index, search and hand off sessions across Claude Code, Codex, Cursor, Gemini, Qwen, OpenCode, Hermes, Pi, DeepSeek Harness; shared memory, wiki, mistakes log. CLI (ags) + MCP.
Alternatives in Development
- Create Handoff — You are tasked with writing a handoff document to hand off your work to another agent in a new session 10k ★
- Petdex — A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and 4k ★
- Zerostack — Lightweight coding agent written in Rust, optimized for memory footprint and performance 1.7k ★
README
agentstory
English · [中文](README.zh-CN.md)
**A lightweight agent-memory search tool written in Rust.** One 5 MB binary indexes the conversation history of every coding agent on your machine (Claude Code, Codex, Cursor, Gemini, Qwen, OpenCode, Hermes, Pi, DeepSeek Harness), answers searches in ~30 ms using ~15 MB of memory, and hands sessions from one agent to another. It also keeps a shared memory, wiki and mistakes log that every agent reads. Short command: `ags`.
| Measured on 1.45 GB of real agent history (339 sessions, 6,595 turns, Apple M3 Max) | |
|---|---|
| Binary | 5.1 MB, single file, SQLite bundled, no runtime |
| Search (process start to results, incl. CJK) | ~32 ms avg, 15 MB peak memory, at any level |
| Handoff card | ~20 ms, 21 MB |
| Refresh when nothing changed | 0.11 s, 10 MB |
| Full index build | 13.3 s, 112 MB peak |
| Index on disk | 145 MB (10% of the raw history); 112 MB with store_output = false |
| MCP server idle | 8.6 MB |
Reproduce with `scripts/bench.sh` (uses a throwaway index).
Every coding agent writes its history somewhere different: Claude Code in JSONL under `~/.claude`, Codex in rollout files, Cursor in agent transcripts, OpenCode and Hermes in SQLite. When you run several agents (or several bots on one machine), none of them can see what the others did, and none of them can find what *they* did last week.
`agentstory` reads all of them in place, keeps a redacted full-text index, and gives you four things:
agentstory search |
Full-text search across every agent's sessions, including tool output (hits there are labelled [output] and rank below what was said). Works for Chinese/Japanese/Korean with no setup (trigram index), ranks by relevance and recency. |
agentstory show |
Read one session in order: whole, --last 3 turns, or --around . |
agentstory handoff |
A handoff card for continuing someone else's session: the goal, everything the user said since, where |
Related Skills
Starfane
Lightweight single-binary Rust control plane for coordinating Claude Code, Codex CLI, Antigravity (agy), and t
Claude Jr
claude-jr (Claude Junior): a minimal, fast coding agent for the terminal in one 3 MB Rust binary. A lightweigh
Modstage
A Claude Code mod that runs Codex, Grok, Muse, Antigravity (Gemini), Kimi, Qwen Code, OpenCode, Hermes and Cla
8sync
One Rust binary that runs Anthropic's Claude Code on autopilot, with rails: five levels of hands-off work (/do
Tokrs
A command-line interface (CLI) for analyzing token usage in local logs, supporting Claude, Codex, OpenCode, Ki
Lite
A fast, local workspace for Claude Code, Codex, Gemini CLI, Kimi Code, Qwen Code, DeepSeek, OpenRouter, and yo
Related Agents
Opencode Worker
Forwards one scoped task to a model running in OpenCode (Grok, Kimi, GLM, Qwen, DeepSeek, …) through opencode
ChatGPT On Wechat
CowAgent是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、拥有长期记忆并不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页
Teibto Agent
Hand ONE well-scoped code or text edit inside a git repo to the machine's coding-agent CLI (OpenCode or Cline,