Agentic.Protocol.Codex
(agentic v0.2.2)
Copy Markdown
Codex CLI protocol implementation (one-shot mode).
Each send/3 spawns codex exec --json as a single-turn subprocess:
the concatenated conversation is sent on stdin, the process emits a
JSONL stream describing the run, then exits. There is no long-lived
port and no cross-turn session state — the CLI currently doesn't expose
an ACP subcommand, so streaming multi-turn input isn't available.
Summary
Functions
Callback implementation for Agentic.AgentProtocol.estimate_cost/1.
Callback implementation for Agentic.AgentProtocol.get_usage/1.
Callback implementation for Agentic.AgentProtocol.stream_message/3.
Functions
Callback implementation for Agentic.AgentProtocol.estimate_cost/1.
Callback implementation for Agentic.AgentProtocol.get_usage/1.
Callback implementation for Agentic.AgentProtocol.stream_message/3.