CausalOS comes with a built-in CLI for inspecting, auditing, and serving your agent's memory.
Ensure the CLI is in your path (installed via pip):
causal-os --helpSearch for similar incidents directly from the terminal.
causal-os recall "delete users" --db causal.dbVisualize the causal graph of your agent's interactions as a tree structure.
causal-os view --agent my-agent--db: Path to the database file (default:causal.db).--agent: Filter records by a specific agent ID.
Start a local FastAPI REST server to allow multiple agents or processes to communicate with a single causal database over HTTP.
causal-os serve --port 7433 --host localhost --db causal.db--port: The port to run the server on (default:7433).--host: The host address (default:localhost).--db: Path to the database (default:causal.db).
Once running, you can interact with the server via its REST API (e.g., at http://localhost:7433/records).