reposix¶
Agents already know
catandgit. They don't know your JSON schema.
reposix exposes REST-based issue trackers (Jira, GitHub Issues, Confluence) as a real git working tree. An autonomous LLM agent can git clone, cat, grep, edit, and git push tickets without learning a single Model Context Protocol (MCP) tool schema or REST SDK surface. It runs alongside REST — the other 20% of operations (complex JQL, bulk imports, admin) keep using the API directly. reposix handles the 80% where an agent just needs to read, edit, and push.
89.1%fewer tokens vs MCP for the same 3-issue read+edit+push workflow (token economy)8 mscached read ·24 mscold init (latency)5-line install—curl,brew,cargo binstall, orirm(first-run.md)
reposix loop vs MCP loop¶
Same workflow, two loops. The reposix loop reuses cat/sed/git — vocabulary the agent already has — and pushes one commit. The MCP loop discovers tools, then issues one call per field mutation. The token gap is measured: see benchmarks/token-economy.md.
30-second install¶
Full step-by-step in first-run.
After — one commit¶
cd /tmp/reposix-demo
sed -i 's/^status: .*/status: in_progress/' issues/0001.md
echo $'\n## Comment\nReproduced — investigating root cause.' >> issues/0001.md
git commit -am "0001: in progress" && git push
The audit trail is git log. No SDK to vendor; no schemas to load.
Mental model in 60 seconds → How it complements MCP and SDKs →
Tested against¶
reposix's 8 ms cache read is measured against the in-process simulator, but the architecture is exercised end-to-end against three real backends sanctioned by the project owner for aggressive testing:
- Confluence — TokenWorld space (Atlassian Cloud).
- GitHub —
reubenjohn/reposixissues (this project's own tracker). - JIRA — project
TEST(overridable viaJIRA_TEST_PROJECT).
Latency for each backend is captured in docs/benchmarks/latency.md. Sim cold init is 24 ms (soft threshold 500 ms); list-issues 9 ms; capabilities probe 5 ms. Real-backend cells fill in once CI secret packs are wired (Phase 36).
Connector capability matrix¶
The four built-in backends differ in capabilities. reposix doctor prints
your configured backend's row at runtime (see exit codes
for harness integration); the static matrix is also here for at-a-glance
reading:
| Backend | Read | Create | Update | Comments | Delete | Versioning |
|---|---|---|---|---|---|---|
| sim | yes | yes | yes | in-body | yes | strong |
| github | yes | yes | yes | in-body | yes | ETag |
| confluence | yes | yes | yes | separate API | yes | strong |
| jira | yes | no | no | no | no | timestamp |
JIRA is currently read-only — write paths are tracked in
v0.11.1 POLISH2-08+.
For the canonical struct + per-backend constant, see
crates/reposix-core/src/backend.rs (BackendCapabilities).
Build from source (advanced)
The supported install path is the package-manager band above (curl / Homebrew / cargo binstall / PowerShell irm). Build-from-source is for contributors and for platforms not covered by the prebuilt binary archives.
git clone https://github.com/reubenjohn/reposix && cd reposix
cargo build --release --workspace --bins
export PATH="$PWD/target/release:$PATH"
reposix sim & # start the simulator on :7878
reposix init sim::demo /tmp/reposix-demo
cd /tmp/reposix-demo && git checkout -B main refs/reposix/origin/main && cat issues/0001.md
After init, agent UX is pure git: cat, grep -r, edit, git commit, git push. The bootstrap takes ≤ 24 ms against the simulator on a stock laptop.
Where to go next¶
- 💡 Mental model in 60 seconds — three keys to the design (clone = snapshot · frontmatter = schema ·
git push= sync verb). - ⚖️ reposix vs MCP and SDKs — positioning, with measured numbers per row.
- 🔗 How it works — the filesystem layer, the git layer, and the trust model. One diagram each.
- 📊 Latency envelope — the v0.9.0 measured numbers.
- 🪙 Token economy — the 89.1% reduction vs MCP, methodology and fixtures.
What it looks like underneath¶
reposix has three pieces — a local bare git repository built from REST responses (with file content fetched lazily), a git remote that handles both reads and pushes by translating to API calls, and reposix init (a one-shot bootstrap). Two guardrails are load-bearing for autonomous agents: push-time conflict detection rejects stale-base pushes with the standard git "fetch first" error so an agent recovers via git pull --rebase; the fetch size limit caps git fetch and emits a stderr message that names git sparse-checkout as the recovery move. An agent unfamiliar with reposix observes the error, runs sparse-checkout, and recovers with no human prompt engineering.
The detail of how each piece works lives in How it works. The reference material — frontmatter schema, simulator HTTP surface, testing targets — is in Reference.
Honest scope: built across autonomous coding-agent sessions; v0.9.0 architecture pivoted from a virtual filesystem to git-native partial clone (2026-04-24). Treat as alpha — but every demo on this site is reproducible on a stock Ubuntu host in under five minutes. The v0.7 token-economy benchmark measured an 89.1% input-context-token reduction vs a synthesized MCP-tool-catalog baseline (modeled on the public Atlassian Forge surface — see benchmarks/token-economy.md for the methodology and caveats).