agent-can
Agent-first CAN bus session frontend for real devices. Designed to be consumed by LLM agents over MCP or CLI.
Quick start
MCP mode: agent-can --mcp exposes the same verbs as MCP tools over stdio.
Architecture
CLI or MCP → local JSON-lines IPC → session daemon
- CAN backend (PEAK / SocketCAN)
- connect-time DBC alias registry
- raw event buffer + latest-value index
- periodic send schedule table
- raw ASCII trace export
One live session per daemon. The daemon owns all hardware and observation state. CLI and MCP are stateless transports over a shared request contract.
Platform support
| Platform | Backend | Status |
|---|---|---|
| Windows | PEAK CAN (USB/PCI) | Primary target |
| Linux | SocketCAN | Supported |
| macOS | — | Compiles, no hardware backend |