Skip to content

Examples

Run a local Station

Build AI6 and its providers, then start a Station on the sample configuration in examples/config: ai6.cfg (the one bootstrap file every program reads, naming that directory as the configuration provider, with Universal Exports' and Outer Office's sections) and, as a read-only directory provider, the family files agents.toml, operations.toml, theaters.yaml and station.json in three formats (Configuration):

cargo build --workspace --all-features
cargo run -p ai6 --features cli -- serve --config ./examples/config/ai6.cfg

Tune a Station

The Station record takes tables that bound and pace its work, and [providers.<id>] tables that configure the providers it builds. A deployment keeps it as the station record (ai6ctl edit station); in a directory provider a station.toml beside the files above, in place of station.json, could say:

max_concurrent_missions = 4

[scheduler]
check_in = 5                          # seconds between check-ins, instead of 15

[secrets]
max_lease_ttl = "none"                # no ceiling on a secret's lease (a weakening, reported)

[providers.pty]
read_chunk_bytes = 16384              # the pty terminal's read size
drain_quiet_ms = 400

[providers.claude]
tail_lines = 16                       # lines of a failed Run's output quoted

Every key has a default and a table may name only what it changes (Station runtime limits).

Queue a Mission

Sign in through Universal Exports and submit a brief to an Operation with mission.create. The HTTP request and response contract are documented in Missions and intake. The Outer Office's Operations view offers the same form.

For an Outer Office preview with sample data and no connection, follow clients/outer-office/README.md and enable OO_DEMO=true.