CLI (Local-First)
No account required. Install the CLI, run logito dev start, and get immediate runtime intelligence. Works offline with local-only storage.
Best for: Individual developers, agent workflows, evaluation
Guide
AI agents can write code, deploy services, and modify configuration. But how do they know whether their changes actually worked? This guide covers the emerging pattern of agent-driven runtime validation using MCP and Logito.
The Problem
When an AI agent modifies your API handler, updates a database migration, or changes a configuration file, it has no way to verify whether the change worked correctly at runtime. Unit tests validate code correctness. Integration tests validate contract compliance. But neither tells you whether system behavior changed in ways that matter.
The gap between "the code compiles and tests pass" and "the system behaves correctly in production" is where regressions hide. For human developers, this gap is bridged by experience, intuition, and manual testing. Agents have none of these.
Runtime intelligence closes this gap by capturing actual system behavior, comparing it against a known-good baseline, and producing a structured verdict: what changed, whether it matters, and what to do next.
The Pattern
The agent modifies code, configuration, or infrastructure. This could be a bug fix, feature addition, dependency update, or deployment.
During the test run or deployment, Logito records HTTP requests/responses, latency, error rates, response shapes, and service interactions.
The captured behavior is compared against the previous known-good run. Structural changes (fields removed, types changed), performance regressions (latency spikes), and reliability issues (new errors) are detected.
Via MCP tools, the agent gets a machine-readable assessment: PASS (no drift), WARNING (minor changes), or FAIL (significant regression). The verdict includes specific findings the agent can act on.
If the verdict is PASS, the agent proceeds. If WARNING or FAIL, the agent can investigate the specific findings, attempt a fix, and re-run. If it cannot resolve the issue, it escalates to a human with full context.
Implementation
Logito exposes runtime intelligence through the Model Context Protocol (MCP), the standard interface for AI agents to interact with external tools. Any MCP-compatible agent (Claude, Codex, custom agents) can use these tools.
# Get the latest run summary
logito.get_latest_run
# Review a specific run for drift
review_run { "run_id": "..." }
# Get structured diff against baseline
logito.get_run_diff { "run_id": "..." }
# Check system status
logito.get_system_status
# Investigate a specific issue
logito.explain_issue { "issue_id": "..." }
# Get recommended next action
logito.get_recommended_action { "run_id": "..." } # 1. Agent starts a local capture session logito dev start --project my-api --local # 2. Agent runs the test suite npm test # 3. Agent reviews the run logito review --json # 4. Agent checks for regressions # If review shows regressions, agent investigates: logito ask "what caused the latency regression on /checkout?" # 5. Agent compares against previous run logito compare last
Architecture
At the core of Logito's intelligence is a causal graph — a directed graph of service dependencies, deployment events, and observed runtime relationships. Unlike static service maps, the causal graph is built from actual runtime observations and updated continuously.
Every action Logito recommends is tracked through execution. When an action improves the situation, the confidence for that action type increases. When it doesn't help, confidence decreases. Over time, the system learns which remediation patterns work for your specific infrastructure — institutional memory that persists across team members.
This is the capability that no observability tool currently offers: not just detecting what changed, but predicting what will happen next and calibrating that prediction against reality.
Deployment Models
No account required. Install the CLI, run logito dev start, and get immediate runtime intelligence. Works offline with local-only storage.
Best for: Individual developers, agent workflows, evaluation
OAuth-protected MCP endpoint for AI agents. 35+ tools for querying runs, reviewing diffs, investigating issues, and executing remediation.
Best for: AI agent pipelines, Codex integration, autonomous workflows
Docker container with zero cloud dependency. SQLite storage, deterministic analysis, optional BYO LLM. Binds to localhost only.
Best for: Regulated industries, air-gapped environments, data-sensitive workloads
Install