See it
Your workflow is a graph. Click a step and everything feeding it, and everything it feeds, lights up.
Azathoth 1.6.0 · a shared Azathoth your team works on
Azathoth is an open-source engine for AI workflows. Describe the steps, choose the models, and it runs them, records every step, benchmarks them and makes them cheaper. Now you can do all of it in a graph on your own machine.
Your workflow is a graph. Click a step and everything feeding it, and everything it feeds, lights up.
Give it text, JSON or a file, and watch each step light up on real models. Every run is kept, step by step.
Push what you made to a remote and pull what others shipped, with the full history. Two changes to one workflow fork instead of overwriting.
The editor
A local app that opens in your browser. Import workflows, compose them on the graph, and see as you type what would fail and which models can run each step.
Pick which models your instance may use. Open any model and see which of your steps it could run.
New in 1.6: remotes
Add --remote to any command and it runs on that remote, printing exactly what it prints on your machine: the same lines, records and exit status.
Every page of the editor works on a remote as it does on your own instance. A remote's overview shows what it runs, its edition and its jobs.
Runs, invocations, benchmarks and optimizations run on the remote's workers, kept in its database and shown as they go. A run a stopped server left picks up from its journal.
Each call names the action it asks a remote's policy about and what it tells the audit: 27 actions, five marked high privilege. A refusal gives the policy's reason.
A remote can take its token from a command, such as gcloud auth print-identity-token. It runs without a shell, and the token is never written to disk.
api.connect(url) gives your Python an instance whose every call goes to the remote, with the same types and errors as a local one.
Since 1.5
Promote and roll back, and the editor asks first, naming what will change. A Production tab shows what runs now, who promoted it, and every invocation with its outcome, caller and label. Invoke on text, JSON or a file, and resume an incomplete invocation.
Label inputs public, internal or restricted, and see the label on every run, invocation, benchmark and case. Restricted content stays hidden until you choose to show it, and that's never remembered. Declare a model's no-retention and no-training policy, with who declared it and when.
Manage the judge rotation. Mark any run good or bad, with a reason and a corrected output. See what a run cited and the child runs it started.
Build benchmarks and add cases by hand, or straight from a run, production runs included. A person always chooses the expected output, and a case keeps its run's label.
Optimize from a workflow's page, rank the candidates beside what you run now, and promote the winner, with savings per run and a projection over production's last 30 days.
What your instance spent, by day, week or month, per workflow and model. Billed and estimated dollars are never added together, and a call with no known price is never treated as free.
Compare any two revisions of a workflow, tool or benchmark, value by value, and download any revision exactly as the command line exports it.
Turn a tool that any MCP server serves into an Azathoth tool, shown for review before it's imported.
Each button that changes something names the action it takes, and says why when that action isn't allowed.
Since 1.4
Share workflows, tools and benchmarks between your own machines, or with a few people you trust with everything, using full history and digests that are the same everywhere. Tokens are stored only as digests and never reach your browser.
Label data restricted and it only reaches models you've declared don't retain or train on it. Anything else gets nothing, plus a message saying what to declare.
Each revision records who made it and everything that came before it.
The service API that the command line, the MCP server and the editor all call is covered by Azathoth's 1.x promise: it only grows. Since 1.5, it covers everything the command line does, and since 1.6 a remote serves all of it.
The bet
In most AI systems, the model drives: it decides what to do next, calls tools, and talks to the user. That makes it hard to see what happened, harder to swap models, and impossible to measure.
Azathoth flips that. The engine holds the full context, runs the tools itself, and gives each model only what its step needs. Models answer prompts. They never drive, and never change the workflow.
That doesn't mean no agents. A workflow that wakes on a schedule, looks at the world, acts and reports back is an agent, one you control: it does only what its steps name, every step is recorded, and anything that would change production waits for a person. The model watch is one.
So every step is observable, swappable and measurable, and that is what makes evidence-driven optimization possible.
How it works
Each stage is kept separate: a specification never mixes with its evidence, and nothing but promotion grants production authority. Every value a step saw can be traced to the step that produced it.
Workflows are plain documents of steps and tools. No application code.
The engine runs every step itself and records exactly what each model saw.
Score the workflow against your real cases for quality, speed and cost.
Try cheaper compatible models, step by step. Evidence picks the winner.
Deliberately make the winner the production version, with an audit record.
Production runs exactly what was promoted, whether the call comes from the CLI, a queue, or an AI agent.
Every stage writes to one append-only evidence store
Documents
Workflows now read PDFs and images and keep the evidence of where each answer came from. A citation is only kept once it's been checked against the document's own text, with no model involved.
Workflows accept PDFs and images by reference, from local files or S3. A standard tool divides a PDF into citable segments.
When a step cites a passage, it's checked against the document's own text before it's kept, and anchored to the exact words, page and position on the page.
A step can show the PDF or image itself to a model that reads it, on OpenRouter or Amazon Bedrock.
Citations export as W3C Web Annotations that point back into the source, with S3 objects pinned by version. One command gives a link to the cited page.
A citation that doesn't check out can fail the step and retry, or be kept for a later step to judge. Benchmarks and optimization score the share of verified citations beside quality, reliability, latency and cost, so you can see whether a cheaper model still cites its sources.
Who does what
Developers
Tools are versioned capabilities with clear inputs and outputs: Python, or any command. Built once, reused everywhere.
Domain experts
Experts and analysts assemble workflows from those tools on the editor's graph or as plain JSON documents, then test them, without writing code.
Platform teams
Run, benchmark, optimize, promote and operate everything from the command line, like any other production service.
What ships in 1.6.0
Everything below is in the current release, open source and installable now.
Read and cite
Serve and call
First-class on AWS
Azathoth works with Amazon Bedrock models, an SQS queue worker, S3 inputs and PostgreSQL, and adds what Step Functions doesn't have: model choice, benchmarking and optimization.
A CloudFormation template for AWS Fargate is included, with job queues, an encrypted evidence bucket, least-privilege access and autoscaling workers.
End-to-end AWS validation of the template is in progress.
Agents (MCP)
azathoth-mcp serves your promoted workflows as tools for AI clients: Claude Desktop, your IDE, or your own agents. It's Azathoth's promotion rule, extended to agents. Nothing runs that wasn't promoted. Nothing is exposed that wasn't listed.
Each call runs the active production revision. The server won't start if a listed workflow hasn't been promoted, and re-promoting takes effect without a restart.
You choose each workflow, its tool name and the description the model sees, and each tool carries the workflow's input and result schemas. There is no "run anything" tool, and promotion and optimization are never offered.
Tokens come from your own identity provider, and a caller sees only the tools its token allows.
Each invocation records who called and how. One lookup shows the input, the outcome and every step of the run.
Repeating a call with the same idempotency key returns the recorded result, and interrupted calls resume where they stopped.
Local · stdio
For a single local client such as Claude Desktop. It uses the same environment as the CLI, and the guide covers setup on macOS and Windows.
Team · Streamable HTTP
Usually on PostgreSQL, in front of Entra ID, Okta, Cognito or Keycloak. It accepts only signed, unexpired tokens issued for this server and never issues tokens itself. Without an identity provider, it only listens on the local machine.
pip install azathoth-mcpazathoth-mcp serveCallers pass inline values only. The server never reads files or references on a caller's behalf.
The other direction
A workflow step can call a tool that another MCP server serves, over stdio or HTTP. Each step is pinned to a digest of that tool's schemas, so if the server changes the tool, the step stops instead of sending it bad arguments.azathoth tool from-mcp writes the tool's document for you.
The difference
| Azathoth | The typical alternative |
|---|---|
| The engine owns the flow; models only answer prompts | The model drives the loop as an agent |
| Agents see only the tools an operator listed, scoped per caller, with every call audited | Agents get broad API keys or an ungoverned MCP server |
| Citations checked against the source document, with no model involved | Citations, if any, are the model's word |
| Workflows composed as documents from tools | Workflows written as application code |
| Every step recorded: model, tokens, cost, attempts | Logs, if someone added them |
| Benchmarks, judges and optimization built in | Separate evaluation tools, bolted on |
| Changes proven on a benchmark before promotion | Prompt and model swaps go straight to production |
| Mix models per step, with explicit failover | One provider per app; an outage means downtime |
| Interrupted runs resume from a journal | Restart from scratch |
| Same engine on a laptop and on AWS | Separate stories for development and the cloud |
Examples that ship
Real, runnable workflows come in the box, from small learning examples to a workflow that writes other workflows.
Every night, tries newly released models on your own benchmarks and leaves any winner waiting for you to promote. An agent you control.
Three reviewers run at once (security, correctness, readability), and a lead reviewer steps in only when there are findings.
Each ticket is routed to exactly one of four specialists, policy-checked, and escalated to a stronger model when confidence is low.
Plans, outlines and writes a book, each chapter through its own edit-and-verify loop until the story ends.
A workflow that writes, and validates, new Azathoth workflows.
Counts words across a file of any size in S3 by splitting it and processing the pieces in parallel.
Prompts, sentiment, redundant producers, loops and maps: small examples to learn from.
Segments a two-page sample claim PDF and answers questions about it, each answer citing the page it came from.
Workflows whose steps call tools that other MCP servers serve.
The operating rule
Configure explicitly. Execute empirically. Optimize without hidden deployment. Promote deliberately. Invoke exactly what production state says to invoke.
Roadmap
What's shipped, what's being built now, and what comes after. No dates on planned work. Follow along on GitHub.
Shipped
Out now, for founding teams
The team tier, built on 1.6: each person signs in as themselves, holds roles on each remote, and leaves a tamper-evident audit.
Read morePlanned, no dates
Direct APIs to Anthropic, OpenAI, xAI and others, and models you run on your own machines.
The same evidence trail for recordings that 1.3 brings to documents.
The paid optimizer that improves prompts, structure and escalation, not just model choice.
azathoth-team
The team tier of Azathoth, out now: sign-in through your identity provider, roles on each remote, a tamper-evident audit, licensed seats and an admin console. Founding teams get 30–50% off the first year.
What's in 0.1.0Get started
python -m pip install azathoth-uiazathoth-uiInstalls Azathoth with it. Python 3.11 or newer, on macOS, Linux or Windows. MIT licensed.
More ways to run it
pip install azathoth-aipip install azathoth-mcp[documents][mcp][postgres][bedrock][worker][otel]ghcr.io/eldritchinc/azathoth:1.6.0amd64 and arm64, cosign-signed; includes the CLI, queue worker and MCP serverThe open-source remote is for your own machines and people you'd trust with everything. When you need sign-in through your identity provider, rules for who may do what, and an audit of everything that happened, that's what we build at Eldritch, along with getting your workflows into production on your own data.