Config File
Every option in anthivo.config.ts.
anthivo.config.ts sits at the root of your project and is read by every integration. defineConfig gives you type checking and editor completion for each option.
Full example
import { defineConfig } from "anthivo"
export default defineConfig({ project: "checkout-service", requirements: "./docs/requirements.md", env: ".env.test", ami: { agents: 6, suites: ["unit", "integration", "e2e", "regression", "api"] }, provider: { name: "anthropic", apiKey: process.env.ANTHROPIC_API_KEY! }, report: { failOn: "critical", retries: 2 },})Options
- project links runs to a project in the control panel.
- requirements is a file or folder of requirements.
- env is the env file AMI loads before a run.
- ami sets the number of agents and the suites to run.
- provider chooses the LLM provider, key and model.
- report sets the severity that fails a run and how many retries a test gets.
Validation
The CLI validates the config before every run and stops with a clear message if an option is missing or has the wrong type.