Skip to main content
backant setup generates a .backant.toml at the root of each project. This file is the only place Kairos’s per-project behaviour lives. It is committed to your repo and added to CODEOWNERS during setup so policy changes route to you for review. You can edit it by hand, or change keys through the CLI, which validates the value, rewrites the file, and records who changed what:
A host agent uses the same verbs to interview you key by key; see Let your agent run Kairos.
ctl config set rewrites the whole file from the contract. Hand-written comments and unknown keys are dropped and reported in the envelope’s dropped list.

Default .backant.toml

[permissions]

What Kairos is allowed to do.
Leave merge = false until you’ve built trust with Kairos on your codebase. PRs will sit waiting for your approval — which is what you want during the first week or two.

[scope]

Where Kairos is allowed to look and edit. If you set include, only those paths are visible to Kairos. Useful for monorepos where you want Kairos focused on one app.

[behavior]

Safety caps and pacing.
The cheapest turn on a small repo is roughly 0.100.10–0.50. Most land between 1and1 and 5. max_cost_per_cycle = 15.0 is generous; if you’re seeing high bills, lower it to 5.0 and inspect with backant eval run.

[branches]

PR strategy.

[gates]

Actions that always wait for a human yes, even when a permission would allow them.

[freshness_manager]

A small helper that periodically re-checks that memory still matches the repo.

[dream_tools]

Offline memory consolidation. See Dream pass.

Reloading policy

Edits to .backant.toml take effect on the next turn. The daemon rebuilds its permissions block from the file before every turn, so no restart is needed.

Common adjustments

Week 1: defaults (merge = false, modify_ci = false, modify_infrastructure = false).Week 2–3: review Kairos’s PRs daily; if they look clean, consider flipping merge = true on quiet evenings only.Week 4+: if you want it, merge = true plus modify_ci = true for non-critical CI changes. Keep modify_infrastructure = false indefinitely unless you have strong out-of-band gates.
If a single turn is more expensive than expected:
Combine with backant start --pace so Kairos auto-throttles when your Anthropic rate-limit window heats up.
Restrict Kairos to one app inside a monorepo:
Kairos will only look and act inside apps/api/.
Useful while evaluating Kairos against a sensitive repo. Kairos will still observe and judge, but will not write code:
Effectively reduces Kairos to a backant watch-only product.

Where .backant.toml lives

At the root of each workspace, alongside your code. It’s a normal committed file; Kairos enforces the policy on every turn. Setup auto-adds an entry to .github/CODEOWNERS for .backant.toml so the file is review-gated.