Repositories
Prepare source repositories for fast, reliable Inspect sessions.
Add a repository
Add a repository in Repository settings and make it available to the relevant users, Teams, or Projects. Inspect creates a fresh isolated workspace from the configured base branch for each coding session.
Prepare the environment
A good repository setup installs dependencies ahead of time and documents the commands Inspect should use. Configure a build and the required environment variables.
Repository instructions
Use AGENTS.md for durable repository guidance such as architecture boundaries, verification commands, and contribution conventions. Keep instructions factual and close to the code they govern.