Model-driven development for coding agents. Plan changes in a shared responsibility model mapped to your code; your agent reads, modifies, and implements it thr
Model-driven development for coding agents. Plan changes in a shared responsibility model mapped to your code; your agent reads, modifies, and implements it thr
[!IMPORTANT] Scryer is in alpha. Expect rough edges, breaking changes between releases, and model-format migrations before 1.0. Bug reports and feedback are very welcome in issues.
Coding agents write faster than you can review. You end up shipping code you don't fully understand, and what you meant drifts from what got built. Scryer keeps a model next to your code: a graph of what each part of the system is responsible for, mapped to the source lines that implement it and to the tests that back each claim. Use it to see how the code matches your intent, and to plan changes against that intent before the agent writes them.
The model describes what each part is responsible for — not its class-by-class structure — in short, language-independent claims on an opinionated C4-style hierarchy. It isn't UML, and it isn't your code redrawn as boxes. You plan a change in the model first; the agent reads it over MCP and builds code to match, so the model stays ahead of the code rather than lagging behind it. Underneath, a deterministic observability layer (no LLM) reports what's built versus planned, source and test coverage, and drift in both directions.
Works with Claude Code, Codex and GitHub Copilot CLI out of the box. Any agent that supports MCP can read and write the model.
untested claims so the gap stays visible. Scryer never runs your tests, but it tracks their verdicts: after a run, the agent hands over the runner's JUnit report and each attached test's pass/fail lands on its claim, fingerprinted so a later edit to the code or the test flips it to stale. Passing is assumed and shows nothing; the lane marks only what's wrong — stale or failing. To find the gaps without opening nodes one by one, the model tree's Tests lens keeps only branches with something to look at — untested claims, failing tests, uncaught breaks — with per-subtree counts, and Needs Review lists the same claims as rows that open on their page. get_test_radius then names exactly the test files that need re-running — never the whole suite.open_probe lets the agent deliberately break a claim's code in an isolated git worktree (synced to your working tree, never touching it), run the attached test, and expect red. A break that survives is the finding: the test doesn't hold the claim. The claim row's lane shows it as its one mark — a double check when every break was caught (a sample, not a proof), a red crosshair when one slipped through — and nothing for claims nobody has probed.auth, persistence, idempotency, …) and scan the model through a concern lens in the tree and on the map. Core domain flow stays untagged.Download the latest release for your platform from the releases page.
scryer-mcp init).get_health reports the plan and drift rollup, source-anchor coverage, and where code and model have parted ways.As you work on code, Scryer detects when source files drift from the model. Trigger a drift check to have the agent reconcile: adopting new behavior into the model, or flagging where the code regressed from what the model claims.
Scryer keeps two layers on disk in .scryer/:
model.scry — the committed model, the source of truth: what the code is believed to satisfy.planned.scry — the draft you and the agent edit on the canvas.The difference between them is the plan: the outstanding model→code work. When you add a responsibility or a node, it shows in the plan as an added mark in the tree. When the agent writes the code, mark_implemented folds that work into the committed model. Drift works the other way: when code changes, the agent reconciles undescribed behavior back into the model.
Plan work is filed into named changes: a session opens a change with open_change {rationale} before it starts, its plan writes tag to it automatically (and are refused while no change is open), so parallel sessions (or you, on the canvas) stay separable. When a change's last entry folds in, it closes and its rationale lands in the history log.
This is how the model stays ahead of the code: intent is captured as a plan before the code exists, and the committed model only ever reflects what's actually been built.
Scryer works with Claude Code, Codex and GitHub Copilot CLI.
claude -p (uses your subscription), Codex via codex exec (uses your API key). Both get the Scryer MCP server attached automatically.copilot --acp), so that's how Scryer launches it; any other agent with a {name}-acp adapter on PATH is launched the same way.When an agent connects via MCP, Scryer captures its identity from the protocol handshake. When a build or sync is triggered, Scryer resolves that identity to a binary and launches it with the right flags.
Copilot notes. Copilot reads the same project .mcp.json Claude Code does, so one file serves both. Two things differ from the others: it reaches Scryer only through that file (its ACP mode doesn't accept a stdio MCP server over the protocol), and it loads a project's MCP servers and hooks only in a folder you've trusted — it asks the first time you open one. Until you do, it stays quiet about both.
Copilot fronts several model providers on one subscription, so its model list spans Claude, GPT and Gemini; pick one under Subagent settings. If you type a model name by hand there, check the spelling — run copilot help config for the current list. Copilot ignores an unrecognised model in ACP mode rather than reporting it, so a typo runs on its default model instead of failing.
The MCP server lets AI agents read and modify your architecture models. It ships bundled with the desktop app.
Link a project directory in the app and click "Enable" on the prompt, or run scryer-mcp init from the command line. Both detect installed AI tools and write config:
.mcp.json + tool auto-approve in .claude/settings.local.json.codex/config.toml.mcp.json, the same file Claude Code reads (Copilot also accepts a committed .github/mcp.json, if you'd rather keep it there)Existing config files are preserved — only the scryer entry is added or updated.
Session hooks are a separate opt-in, per tool, from Subagent settings: .claude/settings.local.json, .codex/hooks.json, or .github/hooks/scryer.json for Copilot.
For Claude Code you can also install a statusLine (from the app, or scryer-mcp init --statusline): a
No open issues yet, or sync has not completed.