Architecture control for agentic workflows
Artisan turns your codebase into a living class diagram:
you design in a fluid visual editor, the agent implements at full speed,
and artuml keeps track of who changed what.
The workflow
The human designs, the agent implements, and artuml tracks every change in both directions.
artuml scanC# → diagram: every class, all six UML relations, layered layout, notes preserved. Re-scans merge; nothing you did is lost.
→Drag, rename, rewire, add classes, write notes. Notes bind the agent — they end up in the report it executes.
→artuml diffYour diagram edits become a markdown report: notes first, renames stay renames, additions are scaffolded.
→/artisan-scaffold and /artisan-implement turn the report into code. Existing members are never touched.
/artisan-architect lets the agent suggest structure. Its changes appear amber in your editor until you confirm.
artuml ackYou confirm, both sides sync, and the next scan keeps the picture current. Then the loop runs again.
artuml add/edit/removeThe agent reads the architecture from .artisan/diagram.puml before touching code.
diff report instead of guessing intentNo pack needed — any agent that can run artuml diff works.
Three packages, one loop
artisan-agentOne npx command: installs artisan-uml-cli and copies the /artisan-* packs + artuml CLI skill into opencode, Claude Code and Codex. The entry point.
artisan-umlThe class diagram editor. One self-contained HTML file in your project, a web app in the browser, a layout engine you can import.
artisan-uml-cliscan, diff, mark-ai, ack, status, add/edit/remove, editor, serve — everything the loop needs.
| Command | What it does |
|---|---|
| /artisan-scan | scan code → diagram + PlantUML, open the editor (C# only today) |
| /artisan-scaffold | diagram edits → code stubs |
| /artisan-implement | diagram edits → real code, per notes |
| /artisan-architect | agent proposes an architecture change; you review |
| /artisan-status | pending changes in both directions |
| artisan-cli | skill: artuml CLI reference — commands, flags, config locations (npx artisan-agent install) |
Get started
$ npx artisan-agent install # installs artisan-uml-cli globally + copies the /artisan-* packs # into opencode, Claude Code and Codex command folders $ cd your-project $ artuml scan
Don't use the packs? npm i -g artisan-uml-cli and point any agent at artuml diff — full guide.
Why this exists
As a Software Engineer, I like to plan the architecture of my projects with class diagrams. I wanted to bring them closer to the way we build software today, hand in hand with agentic workflows, to make coding fun again.