Spectral
Coding AgentThe always-on coding agent for Aexol. It runs on your machines and turns your .aexol specifications into production code, controlled from any browser tab.
Where it runs
On-device
Architecture
Relay
Version
0.9.x
Interface
Browser-driven
Models
Your LLMs
Code stays on your machines
Privately
Overview
Spectral is the always-on coding agent for Aexol. It installs on the machines you code on, runs `spectral serve`, and registers each device with your team so you can drive generations from any browser tab.
Aexol turns a single .aexol specification into production artifacts — GraphQL schemas, Prisma models, backend code, frontend, and tests — and Spectral executes that generation on your hardware. Code and messages stay on your machines; the relay never sees them.
Bring your own LLMs: Spectral routes inference through the provider and model you already use. Because it is an agent, not a model, there is no single vendor locked in.
Capabilities
Aexol Artifact Generation
The Spectral agent executes Aexol generation to produce complete application artifacts — GraphQL schemas, database models, API endpoints, and type definitions.
Definition Generation
The agent creates and refines Aexol language definitions from natural language descriptions, documentation, or existing codebases.
Multi-Language Output
From a single Aexol specification, the Spectral agent generates code targeting TypeScript, Python, Rust, Go, and other languages.
Iterative Refinement
Chat-based refinement workflows where specifications are progressively improved through interactive dialog with the agent.
Architecture
Spectral wraps an open coding agent with a relay client. Each machine you run `spectral serve` on connects to the Aexol relay over a long-lived WebSocket. You pick that device from the browser UI, open a session, and the agent works in your repo — no port forwarding, no SSH.
- Runs on your machines — the agent executes generations where you already code
- Browser-driven — control any registered device from the Aexol relay, from any browser tab
- Private by design — the backend never sees your code or messages
- Your LLMs — uses the LLM providers you already have
Run it
Install & serve
Install with `npm install -g @aexol/spectral`, then `spectral login` and `spectral serve`. Read the full guide in the CLI docs.