Docs
Channels

API Channels

CLI chat, OpenAI-compatible HTTP, and A2A integration paths.

Not every integration needs a human chat platform. Facio also exposes API-style entry points for scripts, internal tools, and other agents.

CLI chat

The Facio CLI can send a direct message to the agent loop with an explicit session ID. It is useful for local operator testing and debugging, but the Docker quickstart is the primary deployment path.

Useful options include:

OptionMeaning
--message / -mMessage to send.
--session / -sSession key, default cli:direct.
--workspace / -wWorkspace directory.
--config / -cConfig file path.
--markdown / --no-markdownRender assistant output as Markdown.
--logs / --no-logsShow runtime logs during chat.

OpenAI-compatible HTTP

The /v1/chat/completions path lets OpenAI-style clients call Facio. See API Gateway for request shape and limits.

Use it for automation that needs a simple request/response agent endpoint. Use Placet when the workflow needs rich approvals, files, forms, or management controls.

A2A

A2A is opt-in and exposes an authenticated inter-agent RPC surface plus a public agent card.

SettingMeaning
FACIO_A2A_ENABLEDMount /a2a/v1/* and /.well-known/agent-card.json.
FACIO_A2A_TOKENBearer token for A2A peers.
Management tokenAlso grants access to A2A when mounted.

Management API endpoints under /api/v1/a2a/peers can store peer aliases, fetch cards, delete peers, and call a peer.

On this page