AI & Agent-First EcosystemMCP · Graph · Sandbox
How AI agents work with Wysna
Learn what makes Wysna agent-first. Inspect a project, read structured compiler diagnostics, and validate a patch before writing.
Wysna takes an agent-first approach by giving AI coding agents access to the same compiler checks used to build a project. They can distinguish declarations with the same name, inspect several symbols within a shared byte budget, and validate a coordinated edit before writing its files.
- Locate the change. Use
graphto find dependents andinspectto read declarations or query several symbols in one response. - Read compiler evidence. Use
json-v1for diagnostic codes, exact UTF-8 byte ranges, related declarations, and structured facts such as the expected and actual types. - Preview and apply. Workspace
patchchecks the proposed files in memory, including architecture rules when the project defines them. Apply with the returnedplan_hash. A stale plan must be previewed again. - Test the result. Use
project testto run project cases. Over MCP, listing tests is available without execution permission.
Install the Native SDK to try the workflow. Try the reproducible compiler demo. Follow the project editing walkthrough with the checked architecture example. Set up MCP and LSP to access the same tools from an agent or editor.