0xmrpeter efb7f552a9 docs: add agent switch feature documentation
Documents the /switch command, mid-conversation agent switching behavior,
history label injection, session resume logic, and the agentSwitch.labelHistory
config option. Adds a dedicated feature page and updates chat-commands,
agents, configuration-schema, README, and SUMMARY.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 18:43:24 +07:00
..

API Reference

Complete reference for CLI commands, REST API, configuration schema, and environment variables.

Section Contents
CLI Commands Every openacp subcommand: usage, options, examples
REST API HTTP endpoints exposed by the local API server
Configuration Schema Full ~/.openacp/config.json field reference
Environment Variables OPENACP_* env vars and their config equivalents

The REST API listens on http://127.0.0.1:21420 by default (configurable via api.port / api.host). All authenticated endpoints require a Bearer token read from ~/.openacp/api-secret. The CLI reads this file automatically; external clients must read it explicitly.