Autonomous debug agent for web apps. Scans your project, runs user flows with Playwright, collects runtime evidence, diagnoses bugs with LLM, and generates patches.
v0.2.0 Β· 48 tests Β· 8 workspaces Β· MIT
Work in progress β This project is not feature-complete. Feel free to fork, modify, and build on top of it.
Double-click start.command
Every time. First time it installs dependencies and builds the UI. After that it starts instantly.
Browser opens automatically β http://127.0.0.1:4317
- Open Console β
sentinel ui(browser opens automatically) - Step 1: Settings β Configure your LLM provider (API key, model)
- Step 2: Add Project β Select your web project folder
- Step 3: Run β Click Run. Sentinel will:
- Auto-initialize
.sentinel/config in your project - Auto-detect and start the dev server
- Scan routes, generate user flows
- Execute flows with Playwright
- Analyze failures with LLM
- Generate bug reports + patches
- Auto-initialize
No manual commands needed. Everything happens in the UI.
For power users who prefer the terminal:
| Command | Description |
|---|---|
sentinel ui |
Launch Web Console |
sentinel run --project=/path |
Full debug pipeline |
sentinel run --demo |
3 hardcoded sample reports (no LLM key, no real bug detection) |
sentinel run --tier 0 |
Report only, no patches |
sentinel map --project=/path |
Generate FeatureMap only |
sentinel doctor |
Check environment & config |
sentinel hello |
Test LLM connectivity |
sentinel init --project=/path |
Initialize .sentinel/ in target project |
sentinel update |
Self-update Sentinel (M8.5 stub) |
Configure via the WebUI Settings page, or edit .sentinel/llm.yml directly:
default: my-provider
providers:
my-provider:
type: openai-compatible # or ollama-native (local models)
baseUrl: https://api.example.com/v1
apiKey: your-key-here
model: model-nameSupported:
- openai-compatible β OpenAI, MiniMax, DeepSeek, Groq, Together AI, etc.
- ollama-native β Local Ollama or LM Studio (free, no API key)
Mapper β Sensor β Runner β Analyst β Critic β Planner β Enhancer β Executor
β β β β β β β β
βΌ βΌ βΌ βΌ βΌ βΌ βΌ βΌ
FeatureMap Probes Evidence Hypothesis Confirm FixOption Enriched Patch
- Mapper β Detects frameworks, routes, data models; auto-generates user flows
- Sensor β Probes runtime state (file system, network, MCP) to collect targeted evidence per request
- Runner β Auto-starts dev server, executes flows with Playwright; emits flow.passed / flow.failed with evidence
- Analyst β LLM diagnoses root cause from collected evidence
- Critic β Validates hypothesis against evidence (confirm/reject)
- Planner β Generates fix options with cost scoring
- Enhancer β Augments fix options with external knowledge when confidence is low or 3rd-party SDK / security / version-bump is involved (skippable via
--no-enhance) - Executor β Writes patches to
.sentinel/auto-patches/(never modifies source directly)
- Auto-init β First run on a new project automatically creates
.sentinel/config - Auto dev server β Detects
dev/start/servescripts and starts the server for you - Global config β LLM settings saved once apply to all future projects
- Auto cleanup β Dev server stops automatically after debug completes
Sentinel/
βββ start.command β Double-click to install + launch
βββ packages/
β βββ core/ Microkernel (Bus / Budget / Kernel)
β βββ subagents/ 8 agents (mapper/sensor/runner/analyst/critic/planner/enhancer/executor)
β βββ adapters/ 13 framework detectors
β βββ providers/ LLM / Memory / Skills / MCP / Knowledge providers
β βββ reporters/ Markdown + JSON report generators + CLI printer
β βββ sensors/ Evidence types + dedupe helpers (sensor agent lives in subagents)
β βββ cli/ CLI entry point
βββ sentinel-ui/ React 19 + Vite Web Console
βββ examples/ nextjs-blog sample project
βββ docs/ Architecture, config spec, roadmap
- bun (install:
curl -fsSL https://bun.sh/install | bash) - macOS / Linux
- An LLM API key (or local Ollama for free usage)
MIT