| name | agentlog |
| description | Load when the user wants to view, sync, or analyze multi-agent activity across multiple devices โ Claude Code / Codex / Cursor / Maestri / browser-use sessions captured to a shared GitHub-synced pool, OR wants a distilled per-project context document so a fresh agent in a different tool can pick up where another left off. Triggers on "agentlog X" commands, "what did I do today across all my agents", "show me my pool", "sync the pool", "ๆไธไธๅฆไธๅฐๆบๅจไธ็ agent ่ฎฐๅฝ", "็็ vps ไธ่ท็", "่ทจ่ฎพๅค agent log", "่ทจๅทฅๅ
ทไธไธๆ", "switch from Codex to Claude Code", "AGENTS.md / CLAUDE.md", "้กน็ฎ็ถๆๆๆกฃ", "agent context". Do NOT load for single-machine tweet material capture (use `seed`) or one-off project planning. |
agentlog ยท Multi-agent, multi-device activity pool + project context layer
agentlog has two layers:
- Layer 1 โ event pool: captures notable activity from all your AI agents (Claude Code, Codex, Cursor, Maestri, browser-use) across all your machines (Macs + VPS) into one normalized event pool, synced via a private GitHub repo.
- Layer 2 โ project context: distills the pool into a per-project
AGENTS.md + CLAUDE.md + docs/agent-context/ snapshot, so any AI coding agent entering the project reads the same up-to-date state, decisions, and next steps.
Boundaries (when NOT to use)
| Task | Use this instead |
|---|
| Capture a single Claude Code session for tweet drafting | seed skill |
| One-off project planning / brainstorming | planner / brainstorming |
| Team collaboration / sharing with others | (not supported in v0) |
Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Device A (Mac) Device B (VPS) โ
โ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โ
โ Claude Code Claude Code โ
โ Codex Codex โ
โ Maestri canvas (scripts) โ
โ browser-use โ
โ โ โ โ
โ agentlog adapters agentlog adapters โ
โ โ โ โ
โ ~/.agent-seeds/ ~/.agent-seeds/ โ
โ (local pool clone) (local pool clone) โ
โ โ โ โ
โ โโโโโ GitHub (private repo) โโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Each agent โ adapter โ local pool shard โ GitHub. Other devices pull. Everyone sees a unified feed.
Setup
Detailed: references/setup.md. Quick version:
gh repo create agent-seeds --private --confirm
agentlog init --repo git@github.com:YOUR_USER/agent-seeds.git
agentlog poll --once --source claude_code
On each additional device: same agentlog init command. Pool syncs via GitHub.
Common flows
See what I did across all agents today
agentlog recap
Live feed of last 4 hours, all sources
agentlog pool --last 4h
Group view by project / agent / source
agentlog pool --by project
agentlog recap --by agent
Pull everything from other machines now
agentlog pull
Push current local changes immediately
agentlog push --force
Manually log an event from a script
agentlog event push '{"action":{"type":"checkpoint","status":"completed","label":"deploy success"},"summary":"shipped api v2"}'
Distill a project's recent activity into a context document (Layer 2)
agentlog context init --project-root .
agentlog brief --project agentlog --last 7d
Writes AGENTS.md + CLAUDE.md + docs/agent-context/{state,decisions,next-steps}.md so the next agent (Cursor / Codex / Claude Code) entering the project reads a unified state. Requires ANTHROPIC_API_KEY.
Re-sync entry-file blocks after manually editing state
agentlog context sync
Migrate historical seed data (one-time)
agentlog migrate-from-seed --dry-run
agentlog migrate-from-seed
Run the background daemon (auto poll + sync)
agentlog daemon install
agentlog daemon start
Reference index
| File | Covers |
|---|
references/cheatsheet.md | Start here โ one-page mental model: commands, capture modes, push rhythm, file layout, schema |
references/setup.md | Full multi-device install, GitHub remote, env vars, daemon install |
references/troubleshooting.md | Common install / sync failures with root-cause + fix (UNKNOWN-0.0.0, command not found, SSH publickey, hostname collision, Cursor adapter blank) |
references/cli-reference.md | Every CLI command with examples |
references/cursor-adapter.md | Cursor IDE SQLite storage layout, action-type mapping, schema-drift handling |
references/brief.md | Haiku distill prompt contract, event selection, idempotency rules |
references/context-contract.md | AGENTS.md + CLAUDE.md double-write, decisions append-only, decision entry format |
For schema details read src/agentlog/schema.py directly โ the type hints + validate() are the source of truth.
When extending
- Adding a new source โ implement
SourceAdapter interface (src/agentlog/adapters/base.py), register in _ADAPTER_REGISTRY in src/agentlog/cli.py
- Changing event schema โ bump
SCHEMA_VERSION in src/agentlog/schema.py and write a converter
- Adding a CLI command โ wire into
build_parser() in src/agentlog/cli.py
Status
v0 โ schema + pool + 5 adapters (claude_code, codex, cursor, maestri, browser_use) + GitHub sync + daemon + shot + recap + Layer 2 (brief + context). Tests: 59 passing.