Skip to content

Agent And Editor Surfaces

Agent and editor surfaces reuse the same local validation and query core. The current public paths are assura check for structure feedback and assura agent for local project-intelligence handoffs and assura editor session for local editor wrappers. Optional protocol adapters should call the same contracts rather than invent parallel validation.

CapabilityStatusNotes
assura check --format agentSupportedStable JSON shape for wrappers and agent integrations.
assura check --format agent --agent codexSupported adapterOptional Codex UserPromptSubmit delivery adapter.
assura agentSupportedLocal coding-agent command group with JSON defaults for diagnostics, context packs, graph/search queries, relation checks, and safe-fix previews.
assura agent integrationExperimentalLocal install/update/remove/status/doctor commands that generate reviewable Codex, OpenCode, Claude, and Pi wrapper bundles under .assura/integrations/<agent>/.
assura editor sessionSupportedLocal JSON-line editor protocol with LSP-shaped diagnostics, context, code-action preview methods, and conservative reload metadata.
integrations/editors/vscodeSupported beta local packageLocal VS Code adapter over shared CLI, daemon, and editor-session contracts. Package tests and smoke scripts gate metadata, daemon visibility, one-shot fallback, and preview-only safe fixes. Marketplace publication is deferred.
assura content agent-contextSupportedGeneric project-intelligence capability schema for wrappers; not agent-specific.
assura content agent-querySupportedGeneric request/response envelope over diagnostics, graph/search, semantic candidates, and code-symbol queries.
Git hook feedbackExperimentalHooks can call the CLI and render bounded status or advice.
Full LSP server and marketplace editor packagesRoadmap onlyContent-Length framed language-server transport and marketplace publication are not part of the current supported surface.
MCP adapterRoadmap onlyOptional future stdio adapter over the same local contracts; no remote access is required for current agent usability.
Automatic agent orchestrationUnsupportedAssura can generate local wrapper bundles, but it does not own full agent workflow orchestration or silently mutate host-agent configuration.

See Agent Feedback Delivery for current CLI output formats and future integration direction.

Local coding agents should start with:

Terminal window
assura agent context .

This reports the shared assura.project-intelligence.agent-context.v1 schema and available diagnostics, safe-fix, graph/search, semantic-candidate, and code-symbol capabilities.

Agents that need one stable envelope around diagnostics or safe-fix previews can use:

Terminal window
assura agent diagnostics .
assura agent safe-fixes .

Maintainers can create reviewable local integration bundles for supported host agents:

Terminal window
assura agent integration install codex .
assura agent integration install opencode .
assura agent integration install claude .
assura agent integration install pi .
assura agent integration doctor codex .

These commands write only under .assura/integrations/<agent>/. The generated wrappers call assura agent nudge, assura check --format agent, and assura daemon commands; host-agent config remains an explicit manual opt-in.

The query envelope uses assura.project-intelligence.agent-query.v1 and wraps the same content-query results used by human CLI commands. For direct project knowledge inspection, use the agent commands with JSON defaults:

Terminal window
assura agent context-pack . --collection goals --id goal-1 --text portable
assura agent search "portable" .
assura agent expand goals goal-1 .
assura agent missing-relations .

Safe-fix wrappers can preview bounded writes before applying them:

Terminal window
assura fix markdown --rule trailing-spaces --dry-run --format json .

The dry-run report uses assura.safe-fix.markdown.v1 and counts proposed files and line fixes without writing.

Editor wrappers can keep one local process open and send LSP-shaped JSON-line requests:

Terminal window
assura editor session .
{"request_id":"diag-1","method":"textDocument/diagnostics","params":{"textDocument":{"uri":"docs/goals/goal_portable_structure.md"}}}
{"request_id":"ctx-1","method":"textDocument/context","params":{"uri":"docs/goals/goal_portable_structure.md","text":"portable","limit":5}}
{"request_id":"fix-1","method":"textDocument/codeAction","params":{"uri":"docs/goals/goal_portable_structure.md"}}

Responses use assura.project-intelligence.editor.response.v1. Code actions are previews only; applying a repair still requires an explicit assura fix markdown --apply --format json command.

For an end-to-end example that starts with repository files and ends with an agent diagnostic and safe-fix preview, see Project Intelligence Demo.