Documentation
¶
Overview ¶
Command local-agent is the local Agent-loop CLI: an agent that plans with a local model and acts through tools confined to the workspace. P0/P1 are read-only (list_dir, read_file, in-process offload_*) with NO network. Write (write_file/delete_file, P2), web_fetch (P3), and run_shell in an OS sandbox (P4.6) are OPT-IN (--allow-write / --allow-fetch / --allow-shell) and gated by one deny→ask→allow policy broker (single chokepoint + audit trail). Offload calls go through the harness pipeline's RunTier with a nil ledger, so they never touch the savings ledger / shadow queue / exemplars; they DO share the result cache (T2-D), so the loop stops re-running the model on byte-identical input. The planner backend is any OpenAI-compatible endpoint (local llama-swap default).