Drawing tools for your coding agent
Hand-drawn
diagrams.
As code.
Your agent creates and edits the drawing as code. DrawFather turns it into a hand-drawn diagram.
Editable JSON. Export SVG, PNG, JPG, WebP or PDF.
Hosted beta · invitation required.
Engine: ELv2 source-available.
Schema and examples: MIT.

“Add a cache.
Keep the database in place.”
Cache inserted. Database position preserved.
Rendered by DrawFather. See the agent’s edit request.
Your agent works with the drawing source
DrawFather is an MCP tool for diagrams as code. The drawing lives in a JSON file. Your agent can inspect the shapes, edit the text and connections, and render the image.
Read the documentation · Explore diagram types · Inspect source examples
Diagrams as code
Read the source.
Change the drawing.
A .drawfather file holds the shapes, text and connections. Your agent can read it, change one part, and render the result.
Keep the JSON in your project. Export the image when you need it.
source-example.drawfather{
"type": "drawfather",
"version": 1,
"seed": 42,
"sketch": "handwritten",
"canvas": {
"width": 520,
"height": 240,
"background": "#fffdf7"
},
"elements": [
{
"id": "api",
"type": "rectangle",
"x": 60,
"y": 60,
"width": 400,
"height": 120,
"text": "API",
"fontSize": 32
}
]
}A complete JSON example. Download the source.
Made with DrawFather
Draw systems, processes and ideas
Swipe a diagram sideways to inspect it, or open its full-size SVG.
Sequence diagrams
Message order, participants and activations.
Sequence source · Full-size SVG ↗Processes and cycles
Show how the next step connects.
Cycle source · Full-size SVG ↗Mind maps
Organize ideas into editable branches.
Mind map source · Full-size SVG ↗Each example includes the drawing source and an image you can use.
Hosted beta · invitation required
Connect your agent
Add the server URL and your access key to your agent’s MCP settings. With hosted access, you do not need to install DrawFather.
Already invited? Use the access key shared with you. Public signup is not open yet.
Follow the beta setup guideWhat is DrawFather?
DrawFather is an MCP tool for hand-drawn diagrams as code. Your coding agent reads and edits a .drawfather JSON file. DrawFather renders the source as SVG, PNG, JPG, WebP or vector PDF. Use the hosted beta by invitation, or run the engine yourself.
Do I need to install DrawFather?
Not for the hosted beta. Connect a compatible MCP agent using the server URL and your private access key. Access is by invitation and public signup is not open yet. Local and self-hosted use requires an engine installation and, while the repository is private, repository access.
Can I edit the drawing after exporting it?
Yes. Keep the .drawfather JSON source. Your agent can change a shape, label or connection and render the image again. A PNG or JPG does not contain that editable drawing source.
Where are my drawings stored?
In the hosted beta, drawings, history and exports are stored on DrawFather’s server in your authenticated workspace. Ask your agent to download copies into your project. With the local engine, files stay in the directory you choose on a machine you control. Your agent provider has its own data settings in either mode.
Give your agent diagrams as code
Create the source. Change it in chat. Export the image.
Connect your agent