Open sourceThe self-hosted edition of Docy AI

The open-source Agent OS for decisions you can audit.

Open Docy is the self-hosted edition of Docy AI. Compose AI agents from nodes that extract, check, branch, search, write and ask a person. Run them on your own infrastructure and keep the record of what each one decided and why.

Source opens soonSelf-hostedMaintained by Docy AI
# clone and start
$ git clone https://github.com/OpenDocy/opendocy.git
$ cd opendocy
$ docker compose up -d

# then open the app
✓ http://localhost:3000
agents / procurement-contract-review / run 0412 In Progress
Input file
supplier-contract.pdf · 14 pages
queued
Data extractor
parties, value, term, liability_cap
queued
Audit · global
procurement policy · 6 rules
queued
Conditional
risk == "high"
queued
Interaction
approve | reject | escalate
queued
Content generator
decision-summary.docx
queued
Run log
Why Open Docy

Build, run and govern agents on your own infrastructure.

Run where your data lives

One Docker Compose stack on your own server. Agents, inputs and results stay where you put them.

See how every decision was made

Each node's output, every rule's expected and found value, a flowchart and a timestamped log for every run.

A person where it matters

The Interaction node pauses a run at Action Required and resumes when someone answers. The answer is part of the record.

Features

Build, run and review in one app.

The canvas, the task runtime, templates and the audit log, with no hosted dependency.

Read the docs →
counterparty_abnPass
liability_capFail
term_monthsPass
signed_byUnknown

Rules that explain themselves

Rules per field: equals, contains, greater or less than, before, after. Each result shows found, expected and reason, linked to where the value came from.

liability_cap missing · value 1.24M
approverejectescalateupload file

Human in the loop

Ask for text, a choice or a file mid-run. Earlier outputs are shown alongside so the reviewer has the context.

▶ data_extractordebug
supplier"Acme Pty Ltd"
value1240000.00
term_months36

Single-node debugging

Run one node, read its output or error, change it and run again. Drafts save as you work.

supplier
total

Document templates

Upload DOCX or PDF, draw the fields, set font and borders. The template node fills them from upstream output.

supplier-onboardingloop ×24
input_file.repeatable4 groups
data_extractor.batch24 / 24

Batches and loops

Repeatable inputs and batch nodes process a folder of documents with one agent, grouped the way you upload them.

14:02:11 task.runadmin
14:03:40 agent.updateadmin
14:05:02 task.deleteadmin
exportaudit-log.csv

Audit log

Who did what to which agent or task, and the result. Filter by action, resource and date, then export CSV.

What teams build

One runtime. Any decision with rules behind it.

Change the nodes and the rules, keep the runtime and the record. These are the kinds of agents Docy AI runs today.

Energy

Rebate and compliance checks

Check installation evidence against scheme rules, route exceptions to an assessor, produce the filing.

input_file → data_extractor → audit.field → interaction
Finance

Credit assessment

Read the application pack, test it against lending policy, escalate anything outside appetite.

input_file.repeatable → audit.global → conditional
Ops and accounting

Invoice and PO matching

Match invoices to purchase orders in batches, hold mismatches for approval, export the result.

data_extractor.batch → audit.field → interaction
Property

Due diligence

Abstract leases and reports, flag missing clauses, write the investment summary.

data_extractor → audit.global → content_generator
Procurement

Contract and supplier review

Check contracts and signatures against policy, look up the supplier, record who approved.

extract_signature → web_search → interaction
Research

Briefings from sources

Pull named facts from the web, check them against your criteria, generate the briefing document.

web_search → conditional → content_generator
Task lifecycle

Seven states. No hidden ones.

Every task is in exactly one state. Run, rerun or cancel from the task list, and open the flowchart and log for any run.

Not Started Queued In Progress Action Required Pause Completed Failed rerun waits for a person run
Node reference

Fifteen node types. Twelve available in Open Docy.

Full node reference →
NodeYou configureOpen Docy
Input
input_fileFile name, description, allowed formats, size limit (50 MB total)Available
input_file.repeatableGrouped, repeatable uploads with association managementAvailable
Extract
data_extractorProfile scan, area select or manual fields; apply rule; grouped resultsAvailable
data_extractor.batchAs above, over batch or loop inputAvailable
extract_signatureReturns signature image, signer, role and date signedAvailable
Check and route
audit.globalCustom rules over the whole document; value, expected, result, reasonAvailable
audit.fieldRule and expected value per field; compare with reference dataAvailable
conditionalConditions on fields; true and false branchesAvailable
interactionPause for a person: file, text or selectAvailable
Generate
document_templateTemplate, upstream source and field mappingAvailable
web_searchURL and named query itemsAvailable
content_generatorInput fields, prompt and output document nameAvailable
Docy AI
knowledgeKnowledge base and one or more queriesVisible, locked
compliance_policyPolicy and version; include in final exportVisible, locked
custom_componentVariables and Python code in an editor; ports generated on saveVisible, locked

What is in the source. The app, canvas and task runtime are open source. The extraction and AI logic inside each node ships compiled: you can configure, chain and run every available node, but its internals are not in the repository.

Editions

Open Docy or Docy AI.

Agents use the same nodes in both. Start with Open Docy. Move to Docy AI, in our cloud or on your own premises, when you need teams, an API, the policy and knowledge nodes, or agents drafted by chat.

Open Docy

Free · self-hosted

For developers and teams who want to build and run agents on their own servers.

  • Agent canvas, drafts, publish, single-node debug
  • 12 node types, loops and batches
  • Tasks, run logs, flowchart, results and downloads
  • Human-in-the-loop interventions
  • Document templates
  • Audit log with CSV export
  • Email and password sign-in, personal space
Self-host Open Docy

Docy AI

Cloud or on-premise

Everything in Open Docy, plus what a team and an integration need.

  • Build agents by chat: describe the workflow, get a draft on the canvas
  • Team spaces, members and custom roles
  • Sealed decision records and decision replay
  • REST API keys, OAuth and webhooks
  • Knowledge, compliance policy and custom component nodes
  • Versioned compliance policies and knowledge bases
  • Pre-built agent library
  • Tasks by email, task sharing, notifications
  • Usage, budgets, spend limits; Google sign-in
Explore Docy AI
Quickstart

From clone to first result.

Installation guide →
01

Start the stack

Requires Docker with Compose v2.

git clone https://github.com/OpenDocy/opendocy.git
cd opendocy
docker compose up -d
02

Build an agent

Open localhost:3000, create an account and an agent. Add nodes and debug each one as you go.

input_file
  → data_extractor
  → audit.field
  → document_template
03

Run a task

Create a task from the agent, add its inputs, press Run. Review results, answer any intervention, download outputs.

task   procurement-contract-review
run    0412
state  Completed
output decision-summary.docx
FAQ

Common questions.

What is Open Docy?

Open Docy (also written OpenDocy) is the open-source, self-hosted edition of the Docy AI Agent OS. You compose an AI agent from nodes on a canvas, run it as tasks, and get back its decisions with the evidence: extracted values, rule results, a person's answers and generated outputs. It runs on your own server with Docker Compose.

Is Open Docy free?

Yes. Open Docy is free to download and self-host. You pay only for your own server and for the AI model usage your agents make. Docy AI, the commercial edition, is a paid product in the cloud or on-premise.

What is an Agent OS?

An Agent OS is the layer that builds, runs and governs AI agents: a builder to compose them, a runtime that executes them step by step, and a record of what each agent did and why. Open Docy provides the builder, the runtime, human-in-the-loop steps and an audit log.

How do I install Open Docy?

Clone the repository and run docker compose up -d, then open http://localhost:3000. It needs Docker with Compose v2 and runs on Linux, macOS and Windows (WSL2).

Is it only for documents?

No. Documents are the most common input, but agents also search the web, generate content, branch on rules and ask people for input. API input and output belong to Docy AI.

How does it differ from Docy AI?

Open Docy covers building and running agents in a personal space. Docy AI, in the cloud or on-premise, adds an assistant that builds agents from a chat, sealed decision records and replay, team spaces and roles, API keys, OAuth and webhooks, knowledge bases, versioned compliance policies, the pre-built agent library and usage controls.

Is all of the code open source?

The app, canvas and runtime are. The extraction and AI logic inside each node ships compiled, so you can configure and run every available node but its internals are not in the repository. Knowledge, Compliance policy and Custom component nodes are visible and locked.

Where is my data stored?

On the server you run Open Docy on: agents, tasks, uploaded documents and results.

Is there an API?

Not in Open Docy. The REST API, OAuth and webhooks are part of Docy AI. In Open Docy you create and run tasks in the app.

Can I build agents by chatting?

In Docy AI. Describe the workflow and the assistant drafts the agent on the canvas for you to check and adjust. In Open Docy you build agents on the canvas yourself.

Can I move agents to Docy AI later?

Both editions use the same node types, so an agent designed in Open Docy carries over to Docy AI, cloud or on-premise, without redesign.

Early access

Be first to run Open Docy.

The source opens soon. Leave your email and we'll send you the release, plus a few early-access seats on Docy AI for teams who want to try the full edition.

Tell us what you'd build (optional)

We use your email only to tell you about Open Docy early access and the release. Unsubscribe any time. See our privacy notice.