The ledger
Your repository declares a ledger in logika.json: the events your code emits, the values each one carries and their types, and the rules that should hold between them, such as an export finishing within two minutes. Your agent writes it as it codes, and you review it in pull requests like the code beside it. A ledger can start empty.
The spans
Your app sends those events as ordinary OpenTelemetry spans, through the logika-otel enhancer in Python or TypeScript; only the SDK setup changes. Logika stores every span, log record and metric your app sends, and you and your agent can query all of it with SQL.
The checks
Every five minutes, Logika judges what arrived against the ledger, each event by the ledger its own release was built with. A span that failed, an error log or a broken rule becomes an issue with its evidence: the values, the trace around it and the app versions involved. A thousand repeats of one failure are one issue. The same events also become product analytics.
The queue
Issues land in your project's queue, and everyone who follows the environment gets one email. Your own coding agent (Claude Code, Codex or a command of your own) takes the open issues on your machine, investigates them with Logika's queries, delivers a fix as a pull request or a deploy, and reports back in the same email thread. It starts when someone presses Wake my agent, or on its own if you choose. If the problem comes back on a release after the fix, the issue reopens.
What it doesn't do
- Logika calls no AI model. The agent is yours and runs on your own subscription.
- No log viewer and no live dashboards. You and your agent ask questions with the CLI and SQL; the console shows the issues, analytics and settings.