ES
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.

  1. Locate the change. Use graph to find dependents and inspect to read declarations or query several symbols in one response.
  2. Read compiler evidence. Use json-v1 for diagnostic codes, exact UTF-8 byte ranges, related declarations, and structured facts such as the expected and actual types.
  3. Preview and apply. Workspace patch checks the proposed files in memory, including architecture rules when the project defines them. Apply with the returned plan_hash. A stale plan must be previewed again.
  4. Test the result. Use project test to 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.