Architecture
The Veyra agent system.
4 main agents orchestrate 47 specialised sub-agents. Each one is observable, sandboxed and replaceable.
01 · MAIN
Planner
Decomposes intent into typed task graphs.
Intent parser
Task graph builder
Dependency resolver
Cost estimator
Risk scorer
Strategy selector
Replanner
Escalator
Budget guard
Time-boxer
Goal verifier
Constraint checker
02 · MAIN
Coder
Writes, edits and refactors code.
Auth
Routes
Migrations
Refactor
Type-fixer
Lint
Imports
Docs
Storybook
Tests scaffold
UI/Tailwind
Forms
API client
SDK
Server fns
Edge fn
Workers
Build config
03 · MAIN
Reviewer
Critiques diffs and validates intent.
Static analysis
Security audit
Architecture critique
Perf review
A11y review
Style guide
Diff summariser
Risk classifier
Regression scout
04 · MAIN
Operator
Runs tools, tests and infrastructure.
Shell runner
Test runner
DB runner
HTTP probe
Browser
Package manager
Self-heal
Logger
How it works
Plan · Delegate · Recover · Learn.
01
Decompose
The Planner converts intent into a typed dependency graph.
02
Delegate
Sub-agents claim tasks based on capability and current load.
03
Self-heal
Failure patterns trigger targeted retries or escalation.
04
Self-learn
Outcomes update private memory to improve future runs.

