Free and open source (AGPL-3.0), self-hosted, agent-native
Diagrams your AI can edit, on your own server.
Draughtsman is free and open source diagramming from Overpass. You run it on your own hardware. A diagram is a typed graph with a lossless text form, so people draw it in a browser and AI agents read and change the same diagram. In its default configuration it makes no outbound connection: no telemetry, no update check, no phone-home.
- Free and open source
- No telemetry
- Runs with no internet
- Bring your own AI, or none
- Fork it and change it
01 The problem
Your diagrams sit outside your control, and your agents cannot touch them.
-
They live in someone else's cloud.
A hosted diagramming tool holds your architecture, your data flows and your network layout on its servers, and needs a connection to work. For a regulated or privacy-conscious organisation, that is one more supplier to approve.
-
Agents cannot edit a picture.
Your engineers already use AI agents on code, tickets and documents. A diagram stored as shapes on a canvas gives an agent nothing reliable to read or change, so diagrams stay a manual job.
-
So they drift.
A diagram that only a person can update is updated when someone has time. Reviewers cannot see what changed, and the picture slowly stops describing the system.
02 The answer
A diagram is data. The picture is a render of it.
A typed graph
Every diagram is a graph of typed nodes and edges: a service, a database, a decision, a sequence message. The canvas, the SVG export and the server-side render are all drawn from it.
A lossless text form
Anything the editor can draw can be printed as Draughtsman DSL and read back byte for byte. That is what makes it safe for an agent to edit, and easy to keep in git.
Changes you can review
Commit diagrams as text beside the code they describe. draughtsman diff says what changed in plain sentences, ready for a pull request.

$ draughtsman diff base.dsl after.dsl --ignore-layout
### Diagram changes: `Order service`
- Added node `Order events` (`queue`)
- Added `flow` edge `Orders API` to `Order events` labelled `publishes`
- Edge `Orders API` to `Postgres` relabelled from `read/write` to `reads`
- 1 layout-only change
03 Agents
Your agent is just another author.
Draughtsman serves eight tools over the Model Context Protocol, on your own instance. An agent lists, reads, creates, patches, renders, compares and critiques diagrams, and the diagram a colleague has open updates when it writes.
[
{ "op": "updateNode", "id": "n_api",
"set": { "label": "Orders API v2" } },
{ "op": "addNode", "node": { "id": "n_cache",
"kind": "cache", "label": "Redis" } },
{ "op": "addEdge", "edge": { "id": "e_3",
"kind": "data", "from": { "node": "n_api" },
"to": { "node": "n_cache" } } }
]
- Live in the editor. We had an agent add a node over MCP; it appeared in an already open editor 0.3 seconds after the patch returned.
- A checkpoint before every agent write. History can restore the diagram as it was, and your undo never reverses an agent.
- No lost work. The server checks nobody else wrote in between, so a concurrent edit is never overwritten.
- On the record. The audit trail names the person who owns the token, and the agent and model that made the change.
- Scoped access. HTTP with an expiring token, read-only if you choose, or stdio on the same machine with no port open. Tested with Claude Code.
04 Your AI, your choice
Bring your own model. Or a fully local one. Or none.
Draughtsman ships no model and calls none until an administrator configures one. With nothing configured, the AI panel is hidden and nothing is sent anywhere.
- Local Ollama on your own hardware
- Hosted An OpenAI-compatible endpoint, such as your own gateway
- Hosted Anthropic
- Hosted Azure OpenAI
Describe a diagram in words and it is drawn and laid out for you, or turn a diagram into a design document, a runbook or a plain-English explanation.
Run a model with Ollama on your own machine and nothing leaves your network. Choose a hosted model and what you send goes to that provider: your decision, not ours. Pick a plain local model name; Ollama forwards names ending in :cloud to its own cloud.

05 Why open source
Read the code. Check the claims yourself.
The most important thing we say about Draughtsman is that it does not phone home. That is easier to believe when you can read the code and run the tests that check it, so the whole product is open source. Everything is stored in one data folder, or in a Postgres you run. The server makes no outbound connection of its own unless an administrator configures one. We do not ask you to trust that: each claim below says how to check it.
-
Outbound
No telemetry, update check or crash reporter. The repository contains a test that listens inside the server process to every name lookup and connection while it is driven through a day's work, and a second that shows each optional feature off by default. Read them, and run them.
-
Browser
The page talks only to your server. In our check, loading the editor and admin pages in Chrome made 98 requests, all to the server's own address. Fonts are bundled, nothing comes from a CDN, and the server's Content-Security-Policy blocks any other origin. A script in the repository scans the built web app for any address it is not meant to contain.
-
Sockets
One listening socket. A snapshot of the running server showed one listener and nothing else; the layout process opens none.
-
Accounts
Hardened by default. Sign-in on every route, Argon2id passwords, sessions and API tokens stored only as hashes, tokens that expire and can be read-only, throttled sign-in and per-user rate limits.
-
Audit
An append-only security log. Sign-ins and failures, role changes, tokens, password resets and whole-instance exports, each with who, when and from where. Never a password or token.
-
Files
Owner-only data. On Unix every file the server creates is owner-only, and it warns at start-up if the folder is open to other users.

What can leave, and only when you switch it on
| Feature | Goes to | Default |
|---|---|---|
| AI | The model endpoint you name | Off |
| The mail server you name, for password resets | Off | |
| Postgres | The database server you run | Off (SQLite) |
| Theme from a website | The one address an administrator types | Off |
We hold no security certification and do not claim one. We publish what we tested and how to repeat it instead, and with the source you can test it your way.
06 Install
One folder or one container. Nothing else to install.
$ git clone https://github.com/overpassapps/draughtsman.git
$ cd draughtsman
$ docker compose up -d --build
$ docker compose logs draughtsman | grep "setup code"
Then open http://localhost:5180, enter the one-time setup code and create the first administrator. Quick start in full
Release archives
A release archive is one self-contained folder: the server, the web app and the layout engine with its own Node. Unpack it and run it. No .NET runtime or package manager is needed on the server. Archives are attached to a release on GitHub Releases when they are published.
Docker
Clone the repository and start it with its own compose file, which builds the image from the checkout. No sign-up and no account with us. No published container image yet, so no registry address is promised here.
Small footprint
SQLite is built in, or point it at Postgres. The server listens on loopback and your reverse proxy terminates TLS. Caddy and nginx recipes were run against real servers in containers.
Air-gapped
Carry across the archive, its checksums and the software bill of materials (CycloneDX 1.5). Nothing is downloaded at first run or later. The repository includes the script that runs the Docker image with no network at all.
Upgrades you can undo
On SQLite an upgrade copies the data first and is undone automatically if it fails. draughtsman config check tests the new version against your settings before you swap.
Backups are files
draughtsman backup writes one zip wherever you point it. Secrets stay out of a default backup unless you ask for them.
Platforms macOS, Linux and Windows (Intel and Arm) and Docker. Run so far: macOS on Apple silicon, Linux arm64 in a container, Windows 11 Arm64 as a service, and the Docker image. What was and was not run
07 How it fits
Everything inside the box runs on your hardware.
The browser editor and your agents reach one Draughtsman server through a REST API and an MCP server. The AI model is the only optional outward connection, and you choose it.
08 Licence
Free to use, change and fork.
Draughtsman is released under the GNU Affero General Public Licence, version 3 (AGPL-3.0). In plain English, and not legal advice:
Use it
Free
For any purpose, including work
Run it for your team, with no seat count
Change it
Fork it
Modify it, build on it, share it
Under the same licence
- If you offer a modified version to other people over a network, you must make your changes available to them under the AGPL. Running it unchanged inside your organisation asks nothing more of you.
- Overpass Limited holds the copyright in the core, which is why it can also offer the commercial licence below.
- There is no licence key, no seat count, no trial period and no feature switched off.
09 Commercial licence
For internal use without the AGPL's obligations.
You do not need it to run Draughtsman. It is for an organisation that wants to modify Draughtsman and integrate it with its own systems for internal use, keep those changes private, and have a contract, a warranty and email support. One-off prices, per organisation:
Team
£1,500
Up to 50 people
One-off, per organisation
Unlimited
£3,000
No limit on people
One-off, per organisation
- 12 months of updates and email support are included. Renewing updates after that is optional, at 25% of list a year.
- Internal use only: it does not cover reselling Draughtsman, or hosting it for people outside your organisation.
- Buy it by email: write to draughtsman@overpass.co.uk with your organisation's name and the tier, and we reply with the terms and an invoice.
- There is still no licence key and no phone-home. The software is the same AGPL build.
Read the commercial licence (COMMERCIAL-LICENSE.md) The source on GitHub
10 Where it stands
What is ready today, said plainly.
Ready to use
- Version 0.1.0, the first release, is public on GitHub and documented page by page against the codebase, saying what was and was not run.
docker compose up -d --buildfrom a fresh clone builds and starts it, with no sign-up.- Ten diagram types, imports from Mermaid, SQL, draw.io and Visio, and exports to SVG, PNG, PDF, Mermaid, DSL and a self-contained fly-through.
- Upgrades are tested, with limits: SQLite upgrades are copied first and undone automatically on failure; Postgres has no automatic rollback.
Not there yet
- No published container image or release archives yet: build it from the repository with Docker.
- The release archives are not yet code-signed, so macOS and Windows warn on first run.
- Local accounts only: no single sign-on or multi-factor authentication yet, and no per-document permissions.
- No real-time co-editing. Two open editors merge each other's changes, but that is not live collaboration.
11 Support the project
The best help is small and honest.
Draughtsman is a young project from a small company. If it is useful to you, these help most:
- Star the repository on GitHub, so other people can find it.
- Report issues. A bug with the steps to reproduce it, or a diagram the importer got wrong, is a real contribution.
- Contribute. Pull requests are welcome. A contributor licence agreement (CLA) is required, which is how Overpass can keep offering a commercial licence alongside the AGPL.
12 Questions
The questions people ask first.
Is it really free?
Yes. It is open source under the AGPL-3.0, with no seat limit, no trial period and nothing switched off. You can run it for your organisation at no cost. The licence in plain English.
Can I fork it and change it?
Yes, that is the point of releasing the source. If you offer your modified version to other people over a network, the AGPL asks you to make your changes available to them under the same licence.
Can my company use it, even commercially?
Yes. The AGPL does not restrict who uses the software or for what. Running it unchanged on your own server asks nothing more of you. If you want to modify it for internal use and keep your changes private, or your policy rules out the AGPL, there is a commercial licence.
What does the commercial licence cost, and how do we buy it?
Team is £1,500 one-off for up to 50 people, and Unlimited is £3,000 one-off. Each includes 12 months of updates and email support, and covers internal use only. Write to draughtsman@overpass.co.uk; there is no online checkout. The terms are in COMMERCIAL-LICENSE.md.
Where does our data go?
Nowhere, in the default configuration. Diagrams, users and settings live in one data folder on your server, or in a Postgres you run. The only things that can reach another machine are an AI endpoint, a mail server, a database server and a theme fetch, and each is off until an administrator turns it on and goes only where they point it. The full list.
Do we have to give AI our diagrams?
No. AI is off until an administrator configures a provider. Point it at a model on your own network and it stays there. If you choose a hosted model, the AI page says exactly what each feature sends: generating sends your description and, when updating, the open diagram; turning a diagram into a document sends only its outline, never geometry, style or images.
Can our agents edit diagrams?
Yes. Eight MCP tools work over HTTP with a token, or over stdio on the same machine. Edits are addressable operations, a checkpoint is stored before each one, and the audit trail records the agent and model. Read-only tokens can look but not change. Agents and MCP.
Can we run it air-gapped?
Yes. The archive carries everything and nothing is downloaded at run time. PDF from the editor prints from the person's own browser. A local model through Ollama gives you AI with no outbound traffic. Air-gapped installs.
Does it phone home?
No. There is no telemetry, update check or crash reporter. The code is open, so you can check that for yourself.
Does it support single sign-on?
Not yet. Version 0.1.0 uses local accounts with no single sign-on and no multi-factor authentication. Administrators can issue password reset links, and people can reset by email if you configure outgoing mail.
Is it certified?
No, and we do not claim any certification or audit. Instead the documentation lists every outbound connection, the checks we ran with their real output, and the checks you can run yourself, including putting the server behind a default-deny egress firewall.
Can we move existing diagrams in, and get them out again?
draw.io and Visio files import directly, and Lucidchart through a Visio export; the importer lists what it could not bring across. Mermaid, SQL and DSL import too. Leaving is easy: an administrator can export every diagram as JSON and DSL with images in one zip. Moving from draw.io, Visio and Lucidchart.
Run it on your own network.
Read the source, try the quick start, and tell us what you find. It is free, and it is yours to change.
Or write to draughtsman@overpass.co.uk