Codync
A free, open-source 1:1 alternative to Grok Bot and Muse. Message Claude Code, Codex, Cursor and 40+ coding agents as persistent bots from your iPhone, Mac or Linux desktop. Group chats, threads, appr
A self-hosted context engine for AI agents: durable memory that survives sessions, plans that survive plan rot, git-style branches and blame, and provable token savings. MCP-native, zero telemetry.
Developer toolsGitHub @agentstatelabsOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Repository information has not been collected yet.
No updates detected yet. GitHub releases will appear here.
Persistent, searchable, accountable memory for AI agents — the shared team memory layer. Eliminate context anxiety.
Taken from the repository README
Loading the full README.
Read the full README ↗The Agent System of Record.
CTXone records every agent and user interaction — decisions, plans, code changes, and full work sessions — and turns per-agent and per-developer silos into shared institutional memory any agent or teammate can recall cold. It's built on AgentStateGraph, so everything it records is content-addressed, branchable, and blameable: not just what was decided, but who, when, and why.
Agents are brilliant and amnesiac. Each session starts from zero, re-derives what was already settled, and evaporates when the window closes — the reasoning, the decisions, and the cost all lost. CTXone is the durable record that fixes that: work happens, CTXone captures it, and the next agent (or the next teammate, or you in three weeks) inherits it instead of rediscovering it.
remember / recall decisions, conventions, and gotchas across sessions; token-budgeted recall injects the right prior context instead of re-reading docs (typically thousands-fold cheaper than re-deriving it).why_did_we and blame trace any decision to who made it, when, and the reasoning — before you reverse a settled call.ctx CLI, and a Python client (pip install ctxone).Part of a suite: CTXone is the shared team layer for AgentStateDeveloper (per-developer code context). Installing either offers the other — see Pairs with AgentStateDeveloper.
| Component | Directory | Description |
|---|---|---|
| CTXone Hub | server/ | MCP server + HTTP API + Lens web UI — one daemon, the memory interface for AI tools |
| CTXone Engine | engine/ | Core memory + graph layer (AgentStateGraph) |
| CTXone Lens | web/ | Web UI: dashboard, plans, sessions, browse, history, branches, taint, diff. ⌘K palette, 15s auto-refresh, multi-theme |
| ctx | cli/ | CLI for memory, plans, branches, taint, and team operations |
| ctxone (Python) | bindings/python/ | Python client library (pip install ctxone) |
The web UI over everything CTXone records — dashboards, sessions, code intelligence, and memory, with per-model token and cost accounting throughout.
CTXone is the team layer for AgentStateDeveloper — they're built as a suite:
Each works standalone, but together:
--no-nudge or CTX_NO_SUGGEST=1).ctx skill also installs a combined suite skill
that teaches the agent the joint workflow: use ASD for the code specifics, and
record what you decide into CTXone so the team inherits it.ctx bootstrap offers to install both.See the 5-minute quickstart — from nothing to live token savings in 5 minutes.
macOS (Homebrew):
brew install agentstatelabs/ctxone/ctxone
macOS / Linux (one-liner):
curl -sSL https://raw.githubusercontent.com/AgentStateLabs/CTXone/main/install.sh | sh
From crates.io (Rust toolchain; the CLI crate is ctxone, its binary ctx):
cargo install ctxone ctxone-hub
Uninstall:
curl -sSL https://raw.githubusercontent.com/AgentStateLabs/CTXone/main/uninstall.sh | sh
Windows (PowerShell, one-liner):
iwr https://raw.githubusercontent.com/AgentStateLabs/CTXone/main/install.ps1 | iex
Full Windows guide with background service setup, AI tool paths, updates, and troubleshooting: docs/WINDOWS.md.
Docker (any platform — image is multi-arch linux/amd64 + linux/arm64):
docker run -p 3001:3001 -v ctxone-data:/data ghcr.io/agentstatelabs/ctxone:latest
This works identically on macOS (via Docker Desktop), Linux (native),
and Windows (via Docker Desktop's WSL2 backend — the Linux image runs
inside WSL2 and Windows sees port 3001 on localhost). There's no
separate "Windows container" image; Windows users can either run the
Linux image under Docker Desktop or use install.ps1 for native
ctx.exe / ctxone-hub.exe.
Python:
pip install ctxone
From source:
git clone --recursive https://github.com/AgentStateLabs/CTXone.git
cd ctxone
cargo build --workspace --release
cd web && npm install && npm run build
Wire CTXone into your coding agent. The fastest path is to let the agent do it.
ctx bootstrap
Prints a block you paste into whatever agent you're already in; it installs and primes CTXone — and offers to set up AgentStateDeveloper (code context) too.
| Command | Sets up |
|---|---|
ctx service install | Run the unified hub (ctxone-hub --http --lens) as an always-on login/boot daemon (launchd / systemd / Task Scheduler) — the recommended production path. |
ctx init | Auto-detect and configure your AI tools (MCP). Defaults to --transport http (point tools at the running daemon by URL); target one with ctx init --tool claude / --tool cursor. |
ctx agents install | Write the shared AGENTS.md and prime it as pinned memory in your personal namespace, which every workspace's recall reads. |
ctx skill | Install CTXone's Agent Skill (SKILL.md) into each host's skills directory — teaches the agent to record decisions, plans, and memory. Version-stamped. When the asd CLI is present, it also installs the combined CTXone + ASD suite skill. |
ctx skill --status # what's installed, per host
ctx skill --dry-run # preview without writing
# Store a fact
ctx remember "We use BSL-1.1 for all projects" --importance high --context licensing
# Retrieve relevant memories
ctx recall "licensing decisions"
# Load full project context
ctx context myproject
# Track multi-step work across sessions
ctx plan new my-feature
ctx plan add my-feature "Wire up new endpoint"
ctx plan next my-feature # what should I do next?
ctx plan done my-feature t-001 --proof commit:abc1234
# Link a task to one it satisfies in another plan; find stalled in-progress work
ctx plan link my-feature t-001 other-plan/t-004
ctx plan stale --days 3
# Index canonical docs so agents can discover them by topic
ctx docs add ./docs/ARCHITECTURE.md
ctx docs find "how does recall rank"
# Give each repo its own namespace — branches, plans, and memory isolated per repo
ctx project add myrepo # commit the .ctxproject marker it writes
# Sandbox speculative work on its own branch (memory follows the branch)
ctx --branch feature/x remember "API renamed from foo to bar"
# Check Hub status and token savings
ctx status
ctx stats
CTXone tracks token usage in real-time. Every response includes how many tokens were sent vs how many would have been sent with flat memory loading — making the savings measurable and provable.
Your memory db is the only thing in CTXone that can't be regenerated, so the hub treats it as the crown jewel. All defenses are on by default:
VACUUM INTO — one on startup and
one every 30min (configurable: CTXONE_BACKUP_INTERVAL_SECS,
CTXONE_BACKUP_KEEP). Stored next to the db as <db>.bak.<utc>.rm'd or replaced under
a running hub, you get a WARN within 30s instead of silent loss at
next restart.ctxone-hub --version and --help short-circuit
before any storage code runs, and a missing db file is only created
when you pass --init. Stray invocations no longer leave debris.ctx db backup triggers a snapshot on demand;
ctx db restore <snapshot> swaps one back in (current db is
preserved at <db>.pre-restore-<ts> first).ctx db export writes the branch graph to a
portable JSON file; ctx db import merges one back — for migration,
review, or seeding another db.ctx doctor flags inode drift, stray db files, and missing
recent backups, with one-line fixes.Full details: Data Safety.
ctxone/
├── cli/ # ctx CLI (Rust)
├── server/ # CTXone Hub — MCP server (Rust)
├── engine/ # AgentStateGraph core (git submodule)
├── web/ # CTXone Lens — web UI (SvelteKit)
├── docs/ # Product strategy and design docs
├── install.sh
├── Dockerfile
└── docker-compose.yml
Get started:
ctx db backup/restoreReference:
ctx command, flag, and exit codeRunnable examples: see examples/
Strategy and background:
CTXone is open source: the full self-hosted Hub — memory, plans, recall, branches, token-savings accounting, and Lens UI. No account required. It pairs with AgentStateDeveloper as the suite's code-context half.
The code is licensed under the Business Source License 1.1 (BSL 1.1). You can use CTXone in production, self-host it, modify it, and build on top of it — all without a commercial license. You cannot offer CTXone itself as a competing managed service or redistribute it inside a product you sell. Each version converts to Apache License 2.0 18 months after release.
Full plain-English summary: LICENSING.md (LICENSE is the legal text).
See CONTRIBUTING.md for development setup, project structure, and how to get involved. All contributors are expected to follow the Code of Conduct.