What problem does it solve?
MediatorLite's multi-agent workflows require durable, consistent cross-chat memory for session state, inter-agent messages, and audit logs, but manual SQLite management leads to foreign key constraint errors, session ID mismatches, and inconsistent timestamp formatting that breaks context retrieval.
Core Features & Use Cases
- Idempotent schema management: Automatically applies the session database schema on first use with no manual CREATE TABLE steps required.
- Type-safe helper methods: Provides pre-built C# helpers for common operations including logging agent handoffs, recording architecture decisions, tracking mistakes, and managing sprint backlog items.
- Cross-agent context sharing: Enables parent agents and spawned subagents to share the same session context via the MEDIATORLITE_SESSION_ID environment variable, with WAL mode enabled for safe concurrent read/write access. For example, a code-reviewer subagent can pull recent handoff messages to understand implementation context before logging review findings to the shared database.
Quick Start
Use the context-db-schema skill to log a new architecture decision for your current MediatorLite session by providing the decision topic, selected option, and supporting rationale.