A small, purpose-built multi-agent orchestration engine
One research service coordinates multiple AI workers, persistent evidence and repeatable research assignments. It isn't a general agent platform; it's the machinery built to run this research engine.
Research orchestration service
Provider responses always return to the service. Nothing reaches PostgreSQL until it has been validated.
Pilot verified locally on Windows, 6 December 2026. The dashboard shown in the design is not built yet.
Assignment, job, attempt
Three roles (Library, Discovery and Evaluation) are assignment types run by the same service. System Review and on-demand plans are more assignment types, not separate autonomous services.
Assignment
A versioned recipe: prompt, limits, output contract and source window.
Job
One bounded, immutable request built from an assignment, with its input snapshot frozen.
Attempt
One provider execution, timed and metered. Failures are kept in history.
Validation
Output is checked against the contract; references and excerpts must match the snapshot and source.
Result
Stored with provenance, then scored by the service and reviewed by a person.
Tested behaviour, not guarantees
These are the checks the integration suite and live pilots actually ran. Long unattended operation, account exhaustion and non-Windows recovery remain unverified.
Timeouts and cancellation
A deadline covers the whole attempt; queued and running jobs can be cancelled, including the provider's process tree on Windows.
Tested locally
Bounded manual retries
Retries are explicit and limited. A rejected attempt stays in history; its output is never published.
Tested locally
Recovery after restart
A forced restart keeps queued work and previous results.
Tested locally
Minimal worker environment
Workers get a minimal process environment and an isolated working directory, with web tools on or off per assignment.
Tested locally
Structural vs factual checks
Contract validation proves shape, not truth. Excerpts are separately re-fetched and matched against the original source.
Tested locally
Disposable test database
Integration tests run against a fresh PostgreSQL cluster with synthetic data, never real research.
Tested locally
Measure research quality, reliability and cost
Every attempt records duration and the usage each provider reports. Provider figures aren't directly comparable and aren't bills, so they are kept as reported.
- Today: attempt history, status, durations, provider-reported tokens and health endpoints. In development
- Designed: Cost & Usage with versioned API-equivalent pricing, cost per useful output and usage coverage. Planned
- Designed: Run Analytics & Health: queue activity, errors, provider comparison and prompt versions. Planned
Evaluation takes about five times longer than a Library job
Seconds per accepted attempt in the December pilot
Design tradeoffs
Deliberately small. Each choice keeps the system inspectable by one person.
One service, not a framework
A single ASP.NET Core service owns API, queue, scheduling, supervision, validation and scoring. No external agent framework, vector database or distributed services.
Agents don't manage agents
Workers execute bounded assignments. They don't write to the database, commit to GitHub, deploy, or change their own infrastructure.
Providers are adapters
Codex and Claude aren't permanently tied to a role, and a job doesn't need both. Matched runs compare them on identical inputs.
GitHub holds code, not research
Source control is for code and documentation, never a job queue, runtime store or research bus.
Local-first and private
The research service runs locally. This website is a separate static site with no connection to it.
Schedules last
Recurring runs stay off until manual runs prove useful.