Chris Han

Foundry

2026 - present

foundry

Foundry is a command line tool for orchestrating AI agent workspaces with git worktrees and terminal automation, written in Rust. Foundry automatically creates an isolated git branch and worktree for an AI agent to work in independently as well as an automatically configured terminal workspace for that worktree. It handles merging the branch or creating a PR and cleaning up the workspace and worktree after the development is done. Foundry has a number of features for productivity, such as project-specific agent and terminal configuration and context injection, auto-starting the agent on fixing a GitHub issue on workspace creation, and auto-assignment of port ranges to workspaces and cross-workspace agent status monitoring for parallel agent workspace workflows. Foundry supports many popular CLI coding agents and terminal applications/multiplexers.