Context routing
Assemble the smallest useful context slice for the task instead of pushing the whole corpus into every prompt.
Foundry wraps the coding sessions you already use with project memory, context routing, guardrails, and a record of what the team taught the agent along the way.


Assemble the smallest useful context slice for the task instead of pushing the whole corpus into every prompt.
Record the corrections, redirects, and decisions that normally evaporate when a session ends.
Check conventions, security, architecture, and known failure modes before drift becomes normal.
Trace what happened, what context was loaded, what was corrected, and what should be remembered.
The imagery can be grand. The workflow is ordinary: map context, capture learning, monitor the wire, protect boundaries, and do the work in the repo.














Finds the project context a task actually needs, so the working agent does not have to carry the whole corpus.
Foundry is source-available workshop infrastructure around your existing agent setup. Start locally, then decide which layers to wire in.
git clone https://github.com/inixiative/foundry.git
cd foundry
bun install
bun run setup
bun run start Foundry works around Claude Code and other agent workflows rather than asking teams to migrate their work.
Project memory has to be routed, layered, and measured. Dumping everything into the prompt is not alignment.
The Librarian is the reconciliation point so signals become coherent project state instead of scattered notes.
A lesson learned once should be available to the next run, the next agent, and eventually the whole team.
The core package inside the Foundry repo is MIT.
packages/foundry is BSL 1.1 and converts to MIT on
2030-04-06.