For teams running agent fleetsOpen source

Context management for software factories.

Your org's knowledge has piled up across every tool and a dozen repos, old next to new and none of it linked. ctxpipe distils it into one curated repo that you own, and serves the exact lines to every agent over MCP.

What an engineering org has accrued, in four stages. First, scraps across all its tools and seven years, old runbooks next to new pull requests and agent rules files that disagree, with two questions that each get three answers. Then the tools connect, the scraps sort into one stack per tool, and each stack is mirrored into its folder of one private git repository in the org's GitHub. Then ctxpipe distils the mirror into a curated dataset, 1,243 raw files to 214 curated ones, each with the current fact and typed links to its sources. Last, Claude Code, Cursor, Codex, OpenCode and VS Code query one MCP endpoint and each get back a ref and line range at the same commit.

  1. 01 · Everywhere

    Years of knowledge across every tool, none of it linked.

    Tickets, docs, chat, incidents, support threads, CI runs and code in a dozen repos, from 2019 to this morning. Drafts, copies and agent rules files that disagree, and nothing says which one is current.

    How many times does capture retry?5 · 3 · 2
    Who owns ledger?Payments · Platform · ask in #payments
    Confluence· Retries runbook2021

    Capture: 5 fixed attempts, 30 s apart.

    Notion· Onboarding (copy)2024

    Capture retries 3 times with backoff.

    Slack· #payments-oncallOct 13
    P

    Is the runbook still right on capture retries? @ctxpipe

    PagerDuty· Incident #2291Oct 9

    Duplicate charges after a capture retry.

    Linear· PAY-212Oct 12

    Idempotency keys for payment capture

    GitHub· PR #418Oct 13

    Retry capture with an idempotency key

    GitHub· retry.tsOct 13

    withIdempotency(capture, { retries: 2 })

    Plain· Thread #8841Oct 10

    Charged twice when checkout timed out.

    GitLab· post.tsOct 11

    withIdempotency(post)

    Buildkite· Build #3120Oct 12

    capture retry spec timed out

    • README.md2020
    • .cursorrules2024
    • AGENTS.md2023
    • CLAUDE.md2025
    • ownership.md2023
    • Onboarding v2 (draft)2025
    • Q3 planning2025
    • #platformSep 2
    • Ledger architecture2022
    • PAY-1872025
    • Incident #19742024
    • Thread #8902Oct 14
    • Build #8802025
    • RFC: ledger outbox2026
    • Onboarding (old)2019
    • #eng-randomtoday
    • Meeting notes2023
    • PR #2122021
    • PAY-982022
    • Postmortem: Nov2021
    • #payments2h
    • Architecture v12020
    • adr/0003.md2020
    • Incident #12112022
    • Build #2122024
    • infra/README.md2022
    • FAQ (copy 2)2024
    • OPS-442023
    • Retry policy (old)2019
    • CODEOWNERS2024
    • #incidentsOct 9
    • Help: Refunds2025

    Every tool · 14 repos · 2019 → today · nothing links any of it

  2. 02 · Ingest

    Connected, and pulled into one repo you own.

    Connect the tools and link the repos. ctxpipe mirrors every page, ticket, thread and incident as Markdown into acme/ctxpipe-context, a private repo in your GitHub, one commit per change, and re-reads your code on every push.

    Buildkite
    connected
    Confluence
    connected
    GitHub
    connected
    GitLab
    connected
    Linear
    connected
    Notion
    connected
    PagerDuty
    connected
    Plain
    connected
    Slack
    connected
    acme / ctxpipe-contextP
    Actxpipe-contextPrivate
    mainCode
    ctxpipe[bot]ctxpipe - Knowledge update of github from PR #418
    buildkite/builds3 weeks agonow
    confluence/payments3 weeks agonow
    github/pulls3 weeks agonow
    knowledge3 weeks agonow
    linear/issues3 weeks agonow
    notion3 weeks agonow
    pagerduty/incidents3 weeks agonow
    plain/threads3 weeks agonow
    slack/channels3 weeks agonow
    sources3 weeks agonow
    AGENTS.md3 weeks ago
  3. 03 · Curate

    Distilled into a library of plain Markdown files.

    From the raw mirror, ctxpipe writes one file per service, API, decision and pattern: the current fact, with typed links to its sources and an end date on facts the code no longer backs. Every one is a Markdown file in git that your team can read and edit.

    acme / ctxpipe-contextP
    Files
    main
    • buildkite
    • confluence
    • github
    • knowledge
    • apis
    • decisions
    • adr-019-idempotency-keys.md
    • operations
    • services
    • ledger.md
    • payments-service.md
    • teams
    • linear
    • notion
    • pagerduty
    • incidents
    • 2291.md
    • plain
    • slack
    • sources
    • AGENTS.md
    ctxpipe-context/knowledge/services/payments-service.md
    ctxpipe[bot]Knowledge update of payments-service from extract_ingest
    PreviewCodeBlame
    1---
    2kind: Service
    3title: payments-service
    4generated_by: ctxpipe-extract
    5sources:
    6 - acme/payments-service
    7claims:
    8 - to: ../decisions/adr-019-idempotency-keys.md
    9 predicate: LINKS_TO
    10 valid_from: 2026-10-13
    11 - to: ../../github/pulls/acme/payments-service/418.md
    12 predicate: LINKS_TO
    13 - to: ../../confluence/payments/retries-runbook.md
    14 predicate: LINKS_TO
    15 valid_to: 2026-10-13
    16---
    17# payments-service
    18
    19## Retries
    20Capture retries twice with an idempotency key
    21(ADR-019, shipped in PR #418 on Oct 13).
    22
    23<!-- ctxpipe:human -->
    24On-call: #payments-oncall. Ask Priya first.
    25<!-- /ctxpipe:human -->
    26
    27## Related
    28- [ledger](ledger.md): same idempotency middleware
    29- [Incident #2291](../../pagerduty/incidents/2291.md)
    30- [PAY-212](../../linear/issues/pay-212.md)
    • generated_byWritten by ctxpipe from the code
    • claimsTyped links to the sources
    • valid_toClaims can carry an end date
    • ## RetriesOne current answer
    • <!-- ctxpipeYour notes stay as written

    Also in the library, each a plain Markdown file: knowledge/decisions/adr-019-idempotency-keys.md, knowledge/services/ledger.md, pagerduty/incidents/2291.md.

  4. 04 · Serve

    Every agent reads it. Any agent can fix it.

    Claude Code, Cursor, Codex, OpenCode and VS Code read it over one MCP endpoint and get refs and exact line ranges at the same commit. When an agent learns something, it writes back with git, like any other change.

    acme / ctxpipe-contextP
    services/payments-service.md#L20-L21
    ctxpipe[bot]Knowledge update of payments-service from extract_ingest
    PreviewCodeBlame
    18
    19## Retries
    20Capture retries twice with an idempotency key
    21(ADR-019, shipped in PR #418 on Oct 13).
    22
    ctxpipe MCPone endpoint
    7 read-only tools
    Claude Code~/acme/refunds-worker

    > Add retries to the refunds worker

    ⏺ ctxpipe - search_knowledge (retry policy for capture)

    services/payments-service.md · L20–21 · a41f9c2

    ⏺ git push · PR #63 Record refund retries

    Cursor~/acme/checkout-web

    > Who should review this ledger change?

    ⏺ ctxpipe - search_knowledge (who owns ledger)

    services/ledger.md · L9 · a41f9c2

    Codex~/acme/ledger

    > Why are capture retries keyed?

    ⏺ ctxpipe - get_related (decisions/adr-019-idempotency-keys.md)

    PR #418 · PAY-212 · incident #2291 · a41f9c2

    OpenCode~/acme/platform-infra

    > Find every retry wrapper

    ⏺ ctxpipe - find_symbol (withIdempotency)

    ledger:src/post.ts:88 · 3 more refs · a41f9c2

    VS Code~/acme/payments-service

    > Draft the capture on-call runbook

    ⏺ ctxpipe - read_file (operations/capture-incidents.md)

    operations/capture-incidents.md · L1–14 · a41f9c2

    Reads over MCP · writes back with git5 agents, one endpoint, one commit. Refs, not answers. No model in the path.
The difference

More context isn't more truth.

Ask your tools a simple question and you get three answers. Ask ctxpipe and your agent gets the current fact, with where it came from.

Your tools

“How many times does payment capture retry?”

  • 55 fixed attempts, 30 s apartConfluence runbook · 2021
  • 33 times with backoffNotion onboarding (copy) · 2024
  • 2withIdempotency(capture, { retries: 2 })payments-service code · Oct 13

47 results across 6 tools. Nothing says which one is current.

ctxpipe

“How many times does payment capture retry?”

2Capture retries twice, with an idempotency key.knowledge/services/payments-service.md · L20–21From the code since PR #418 · ADR-019 · a41f9c2

One fact, its source and the commit. ctxpipe returns sources, not answers.

Kept current

ctxpipe keeps it current. Your team keeps it right.

Both land as commits in the same repo, so you can always see what changed, who changed it, and why.

Automatically

When your code or tools change, ctxpipe updates the files they touch. Nobody has to remember to update the docs.

By your team

Spot something wrong? Get your agent to fix it: it's just git. Review the pull request like any other. Your own notes are never rewritten.

The Workspace repo's history: Priya's merged fix to who owns ledger, then ctxpipe's automatic update to the capture retry rule after PR #418, then a mirrored Linear ticket. Every change is a commit.
acme/ctxpipe-context · main · history
  1. Ledger is owned by Platformyour team

    Priya · fixed with Claude Code · merged #62

    Owner: Payments teamOwner: Platform (since Sep 2026)
  2. Knowledge update of payments-serviceautomatic

    ctxpipe[bot] · after PR #418 merged

    Capture retries 3 times with backoff.Capture retries twice with an idempotency key.
  3. Knowledge update of linear from PAY-212automatic

    ctxpipe[bot] · ticket moved to Done

+ 1,201 more commits, each one you can read or revert

Your software factory

Your factory changes fast. Your sources are a mess. ctxpipe is the glue between them.

Building is cheap now, and harnesses get replaced every quarter. What carries over is what your org knows. ctxpipe keeps it organised and current from your code, tickets and docs, and serves it to whatever factory you run this year.

ProductYour product, prototypes, internal tools, new bets
Cheap to build
builds
FactoryAgent harnesses, central or per team: Claude Code, Cursor, Codex, your own agents, on any model
Changes fast
serves
ContextctxpipeOrganised, current, inspectable. In your git.
Stays current
reads
SourcesCode, tickets, docs, incidents, threads: agent-written, legacy, noisy
Different speeds

Swap the harness or the model. The context stays.

Yours to keep

Your knowledge stays yours.

All your knowledge becomes a library of Markdown files in your GitHub org. ctxpipe keeps that library current and serves it to your agents, but it never holds it: switch ctxpipe off and the knowledge stays exactly where it is, history and all, for your agents to read straight from git.

ctxpipeOn

ctxpipe syncs your tools into the library and serves it to your agents over MCP.

Because it's a repo, it sits under your permissions, SSO and audit log like your code, and there's no export step: git clone is the export. The MIT core that writes it is yours to read, run or self-host.

Get started

Three steps to a Workspace your agents can read.

  1. 01

    Create a Workspace

    Connect GitHub and choose the repository the Workspace writes to. We suggest your-org/ctxpipe-context.

  2. 02

    Link your sources

    Add the code repos to read and the tools to mirror. Each source is a file in the repo, so scope changes by pull request.

    and more, plus any git host
  3. 03

    Point your agents at it

    One MCP endpoint for Claude Code, Cursor, Codex, OpenCode, VS Code and any MCP client.

    $ npx ctxpipe init
Join the waitlist
Hosted in early access, or self-host with Docker Compose, Terraform or AWS CDK.Getting started docs Self-hosting
See it in action

The app is a window onto your files.

Connect your tools, watch jobs commit, browse the graph, and ask Workspace chat for changes you review as pull requests. Everything you do in the app lands in the same repo.

How it compares

Keep what works. Add the layer that keeps it current.

Keep your AGENTS.md files: ctxpipe reads them as knowledge. Keep a code graph for callers and references. What ctxpipe adds is a team's knowledge from every tool, kept current, in files you own.

Compare ctxpipe with
WeakPartialGoodStrong
  • ctxpipe
  • Hosted context enginesA vendor indexes your tools and answers questions

Both index your tools. The difference is who holds the knowledge.

Where hosted engines win: Nothing to set up or host, and often strong code navigation.
Where ctxpipe wins: The knowledge is Markdown in your GitHub: read it, diff it, revert it, and keep it if you leave.

Hover or tab through a dimension to compare it.

More on ctxpipe and hosted context engines
Where hosted engines win
  • The repo you have open. They index it for you, with no files to write first.
  • Code navigation. Often strong across large codebases.
  • Fully managed. Nothing to run or host yourself.
Where ctxpipe wins
  • You own the knowledge. It's Markdown in your GitHub, not rows in a vendor's index you can't read or take with you.
  • You can review it. Every change is a commit: read it, diff it, revert it.
  • Your agent does the reasoning. ctxpipe returns refs and exact lines, with no model in the path, instead of a generated answer.

Same question: “Why are capture retries keyed?”

Often a generated answer, citing its index.

ADR-019 L1–9, PR #418 and incident #2291, at commit a41f9c2. Your agent reads them and decides.

Use them together. Already use one for code search? Keep it, and point your agents at ctxpipe for decisions, tickets and incidents.

FAQ

What your team will ask.

Getting started
How do we deploy it?
Two ways. Hosted: we run it for you (early access). Self-hosted: the MIT core runs on Docker Compose to evaluate, and Terraform or AWS CDK for production, with any OpenAI-compatible model provider, including Azure and Bedrock. When you self-host, ctxpipe's own servers are not in the data path. Self-hosting docs
What does early access involve?
We host ctxpipe for your team before general availability. You get priority onboarding (we help you set up your first Workspace, connect GitHub and your tools, and point your agents at it) and a direct line to the people building it. Your feedback shapes what we ship next.
Do we need GitHub?
Writable Workspaces need GitHub today. Any other git URL works as a read-only Workspace, with search, chat and the graph.
Why join the community?
The Discord is where you talk to the team directly: get help self-hosting, see what's shipping next, and argue for what should come after. It's also where other teams share how they structure their Workspaces.
Control
Can our agents update the knowledge?
Yes, with git. The Workspace is your own GitHub repository, so your agents and engineers change it like code and you review the pull request. ctxpipe commits a skill file that shows coding agents how to write knowledge files, and Workspace chat proposes changes as pull requests too. ctxpipe's MCP tools are read-only today; write tools are coming.
Does ctxpipe write to our code repos?
No. It reads your code repos and writes only to the Workspace's own knowledge repo. Background jobs commit there directly, one job per commit and fast-forward only, so every change can be reverted. Edits from Workspace chat go through a pull request you merge.
Do you train on our code?
No. Hosted ctxpipe sends model calls only to zero-data-retention endpoints, so providers don't store or train on your prompts. SOC 2 is on the roadmap, not done. Self-host to keep everything, model calls included, inside your network. Data processing
Does ctxpipe call a model when our agents query it?
No. Over MCP, ctxpipe returns sources, not answers: knowledge sections, code and related context, each with a ref and line range. Your agent does the reasoning on its own model. Access is read-only and limited to the organisations you approve.
What happens if we stop using ctxpipe?
The Workspace repo stays where it is, with its full history. You lose the background upkeep and the index, not the knowledge. Point any agent or editor at the repo and carry on.

Give every agent the same context.

Hosted ctxpipe is in early access, with onboarding from the team that builds it.

Request early access
or self-host from GitHub