Embedded mode (default)
The SDK writes events directly to a local SQLite database. No server, no network, no infrastructure.- Zero setup — works immediately after
pip install provenlog - Hash chain computed in-process
- Database at
~/.provenlog/events.db(configurable) - No network dependency
- Per-process isolation
Server mode
The SDK sends events to aplog serve instance via HTTP. The server coordinates hash chains, aggregates events from multiple agents, and serves the web dashboard.
- Multi-agent aggregation on a single server
- Web dashboard at the server URL
- WebSocket live streaming
- REST API for queries and verification
- Server-authoritative hash chain sequencing
- Optional API key authentication
Choosing a mode
| Consideration | Embedded | Server |
|---|---|---|
| Setup effort | None | Start plog serve |
| Infrastructure | None | One process |
| Multi-agent visibility | No | Yes |
| Web dashboard | No | Yes |
| Network dependency | No | Yes |
| Hash chain authority | In-process | Server |