Chio/Docs
LOGIN · JOIN

chio run

Spawn an agent as a subprocess under a policy file, so each tool call it routes through the kernel is admitted or refused.

Reference chio@5f63e6e

On this page

Spawn an agent subprocess and enforce policy via the kernel.

All command families · Global flags

Usage

Command synopsistext
chio run [OPTIONS] --policy <POLICY> <COMMAND>...
  • <COMMAND>... The agent command and its arguments. Required.
  • --policy <POLICY> Path to the policy YAML file. Required.

Example

Run from your application directory with an existing policy, replacing your-agent with your executable and its arguments.

Terminalbash
chio run --policy policy.yaml -- your-agent

Read more in Connect an application.