Azathoth 1.6.0 · a shared Azathoth your team works on

Build AI workflows you can see.

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.

View on GitHub
The workflow graph with one step selected and its paths lit.
The workflow view: a graph of steps, with conditions deciding which step runs.

See it

Your workflow is a graph. Click a step and everything feeding it, and everything it feeds, lights up.

A finished run: its result, with each step marked done or skipped.

Run it

Give it text, JSON or a file, and watch each step light up on real models. Every run is kept, step by step.

The remote page, showing what is only here and what is in sync.

Share it

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

Everything the command line does, the editor does too.

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.

The edit view: a step's prompt, its answer format, and the models that meet its needs.

Your models, your choice

Pick which models your instance may use. Open any model and see which of your steps it could run.

A model page listing the steps that can use it.

New in 1.6: remotes

Every command, on a remote

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.

The editor, on any remote

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.

Long work runs as 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.

Every call is a named action

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.

Tokens from your identity provider

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.

A client for your own code

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

Production

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.

Labels and model policy

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.

Judges and feedback

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.

Benchmarks from real runs

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, and see the savings

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.

Spend

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.

Diffs and exports

Compare any two revisions of a workflow, tool or benchmark, value by value, and download any revision exactly as the command line exports it.

Tools from MCP servers

Turn a tool that any MCP server serves into an Azathoth tool, shown for review before it's imported.

Every button names its action

Each button that changes something names the action it takes, and says why when that action isn't allowed.

Since 1.4

Remotes

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.

Restricted data stays where you put it

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.

Every change has a name on it

Each revision records who made it and everything that came before it.

A stable API to build on

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 tool view: a tool's outputs, implementation and tests.

The bet

Agents you control.

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

Six stages. One record of everything.

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.

  1. 01

    Compose

    Workflows are plain documents of steps and tools. No application code.

  2. 02

    Run

    The engine runs every step itself and records exactly what each model saw.

  3. 03

    Benchmark

    Score the workflow against your real cases for quality, speed and cost.

  4. 04

    Optimize

    Try cheaper compatible models, step by step. Evidence picks the winner.

  5. 05

    Promote

    Deliberately make the winner the production version, with an audit record.

  6. 06

    Invoke

    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

Every answer, traced to the page it came from.

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.

  1. 01

    Documents in

    Workflows accept PDFs and images by reference, from local files or S3. A standard tool divides a PDF into citable segments.

  2. 02

    Citations checked

    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.

  3. 03

    Models that read

    A step can show the PDF or image itself to a model that reads it, on OpenRouter or Amazon Bedrock.

  4. 04

    Provenance out

    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

AI work moves out of application code and into operations.

Developers

build tools

Tools are versioned capabilities with clear inputs and outputs: Python, or any command. Built once, reused everywhere.

Domain experts

compose workflows

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 the show

Run, benchmark, optimize, promote and operate everything from the command line, like any other production service.

What ships in 1.6.0

Ready to run today.

Everything below is in the current release, open source and installable now.

Read and cite

Documents & citations

  • PDFs and images in, from local files or S3
  • Citations checked against the text, with no model involved
  • Anchored to the exact words, page and position
  • Exported as W3C Web Annotations, with links to the cited page

Serve and call

Agents & MCP

  • Promoted workflows served as MCP tools, with their schemas
  • OAuth 2.1 resource server with a scope per tool
  • Every invocation audited with its caller
  • Workflow steps can call tools other MCP servers serve
  • Tools from any MCP server, reviewed before they're imported

Composition

  • Steps that run in parallel, with results recorded in a fixed order
  • Routing on conditions, so each case goes to the right specialist
  • Retries, fallbacks and failure policies per step
  • Workflows that call, loop over, and fan out to other workflows

Models

  • Hundreds of models through OpenRouter, plus Amazon Bedrock
  • An approved model list your organization controls
  • Mix models step by step: the cheap one where it's enough
  • Explicit failover to named substitutes if a model goes offline
  • Sensitivity labels, and a declared no-retention, no-training policy per model

Evaluation

  • Benchmarks built from real cases, versioned like code
  • Four ways to score: exact, normalized, schema, or AI judge
  • Good-or-bad feedback on real runs, with a reason and a corrected output
  • Benchmark cases built from real runs, a person choosing each expected output
  • Failed runs score zero, so broken never looks cheap

Optimization

  • Searches for strictly cheaper models that hold quality
  • Keeps today's version in every round for a fair comparison
  • Every experiment saved for inspection
  • Savings per run, projected over production's last 30 days
  • Never deploys on its own. Promotion is always explicit

Production

  • Promote, roll back and invoke from the editor or the command line
  • A versioned JSON job interface: one request in, one result out
  • Idempotent invocations, so retries never double-run
  • Interrupted runs resume where they stopped
  • Files of any size, split and processed in parallel
  • Workflow contracts: input and result schemas enforced on every call

Operations

  • A local editor that does everything the command line does
  • Every command and every editor page also works on a remote
  • Remote tokens from a command, such as your identity provider's
  • Spend reports, billed and estimated dollars always apart
  • Diffs between any two revisions, value by value
  • Every operation available from bash
  • Append-only history; revert by re-importing
  • SQLite on a laptop, PostgreSQL in production
  • OpenTelemetry tracing that never carries content

First-class on AWS

A better home for AI workflows than Step Functions.

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.

  • Amazon Bedrock
  • SQS worker
  • S3 inputs
  • PostgreSQL

Agents (MCP)

Give agents your workflows, not your keys.

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.

  1. 01

    Only promoted workflows run

    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.

  2. 02

    Only what you list is exposed

    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.

  3. 03

    One scope per tool

    Tokens come from your own identity provider, and a caller sees only the tools its token allows.

  4. 04

    Every call recorded with its caller

    Each invocation records who called and how. One lookup shows the input, the outcome and every step of the run.

  5. 05

    Retries never double-run

    Repeating a call with the same idempotency key returns the recorded result, and interrupted calls resume where they stopped.

Local · stdio

One person, one client

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

One shared server, behind your identity provider

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-mcp
azathoth-mcp serve

Callers pass inline values only. The server never reads files or references on a caller's behalf.

The other direction

Workflows can call MCP tools too.

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.

Calling MCP tools

The difference

Measurement, versioning and deployment are part of the architecture.

AzathothThe typical alternative
The engine owns the flow; models only answer promptsThe model drives the loop as an agent
Agents see only the tools an operator listed, scoped per caller, with every call auditedAgents get broad API keys or an ungoverned MCP server
Citations checked against the source document, with no model involvedCitations, if any, are the model's word
Workflows composed as documents from toolsWorkflows written as application code
Every step recorded: model, tokens, cost, attemptsLogs, if someone added them
Benchmarks, judges and optimization built inSeparate evaluation tools, bolted on
Changes proven on a benchmark before promotionPrompt and model swaps go straight to production
Mix models per step, with explicit failoverOne provider per app; an outage means downtime
Interrupted runs resume from a journalRestart from scratch
Same engine on a laptop and on AWSSeparate stories for development and the cloud

Examples that ship

See it work.

Real, runnable workflows come in the box, from small learning examples to a workflow that writes other workflows.

Model watch

Every night, tries newly released models on your own benchmarks and leaves any winner waiting for you to promote. An agent you control.

Code review

Three reviewers run at once (security, correctness, readability), and a lead reviewer steps in only when there are findings.

Ticket triage

Each ticket is routed to exactly one of four specialists, policy-checked, and escalated to a stronger model when confidence is low.

Novel writer

Plans, outlines and writes a book, each chapter through its own edit-and-verify loop until the story ends.

Workflow writer

A workflow that writes, and validates, new Azathoth workflows.

Large files

Counts words across a file of any size in S3 by splitting it and processing the pieces in parallel.

The basics

Prompts, sentiment, redundant producers, loops and maps: small examples to learn from.

Claim documents

Segments a two-page sample claim PDF and answers questions about it, each answer citing the page it came from.

MCP tools

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

Where Azathoth is headed.

What's shipped, what's being built now, and what comes after. No dates on planned work. Follow along on GitHub.

Out now, for founding teams

azathoth-team 0.1.0

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 more

Planned, no dates

More model providers

Direct APIs to Anthropic, OpenAI, xAI and others, and models you run on your own machines.

Audio and video input

The same evidence trail for recordings that 1.3 brings to documents.

Cthulhu

The paid optimizer that improves prompts, structure and escalation, not just model choice.

azathoth-team

Apply to be a founding 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.0

We'll only use this to contact you about azathoth-team. Privacy policy

Get started

Up and running in a minute

python -m pip install azathoth-uiazathoth-ui

Installs Azathoth with it. Python 3.11 or newer, on macOS, Linux or Windows. MIT licensed.

More ways to run it

Engine only
pip install azathoth-ai
MCP server
pip install azathoth-mcp
Optional extras
[documents][mcp][postgres][bedrock][worker][otel]
Container
ghcr.io/eldritchinc/azathoth:1.6.0amd64 and arm64, cosign-signed; includes the CLI, queue worker and MCP server
Storage
SQLite by default, PostgreSQL 15+
Built in public
Solo, from August 1, 2026 to 1.6.0, with more than a hundred architecture decision records.

Running Azathoth across a team?

The 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.