Open source

Building and thinking in public.

The code, the designs and the reasoning behind them are public, so you can check what's being built and whether it does what it says.

You can also use almost all of it. Most of it is MIT. Foundry's app is free to use, including at work, but not to resell. Kingdom and Oracle are closed.

MIT

Use it for anything.

Use the code, change it, use it at work and sell what you build with it. Keep the copyright notice.

Building blocks

  • templateA SaaS app you start a product from and own
  • prisma-mapYour Prisma schema, readable at runtime
  • json-rulesOne rule that runs in memory, in Prisma and in SQL
  • permissionsWho can do what, decided on your own records
  • transitionsWhich state change is allowed right now
  • rules-builderA rule editor that only offers what the engine can run

Developer experience

  • atlasA map of your code that CI keeps accurate
  • glossKeeps agent commentary out of your code and hands it back when the agent reads that code
  • configThe shared toolchain and theme

Agentic tools

  • SignetA pass to use an integration through Kingdom, which the owner can take back
  • KCP (in progress)Runs your command-line tools through Kingdom so no token sits on your machine (the Kingdom CLI Proxy); signing in works, running commands is in progress
  • ArchiveKeeps every agent session on your machine and syncs where you choose
  • agent-sessionRuns Claude Code and Codex as long-lived sessions
  • foundry-coreThe engine under Foundry
  • foundry-acpLets agent apps such as Paseo and T3 Code drive Foundry over the Agent Client Protocol (ACP)

Paused, still MIT: conditional-form, hivemind.

Source-available

Foundry: free to use, not to resell.

Foundry's app is under the Business Source License (BSL 1.1). You can read, run and change it, including inside your company. You can't sell it or offer it to others as a product or service. On 6 April 2030 it becomes MIT.

Its engine (foundry-core) and the adapter other agent apps use to drive it (foundry-acp) are MIT now.

Closed

Kingdom and Oracle.

Why

Why some of it is closed.

The code people build on stays open, so the lessons in it travel. The hosted service and the tuning stay closed, so the project can pay for itself.

Thanks to UserEvidence for supporting open-source software.