Skip to content
HomeNewsDigestsConceptsGuidesToolbox
AboutSubscribeUA
Subscribe

AI Today Brief

The daily AI-engineering brief. Built in public. EN · UA.

XTelegramLinkedInYouTubeRSS

Follow AI Today Brief on LinkedIn for daily AI-engineering updates and the weekly “5 shifts that changed how developers work” PDF.

Explore

NewsDigestsConceptsGuides

Company

SubscribeAdvertiseAbout

Legal

Editorial policyAI disclosurePrivacyTerms

© 2026 AI Today Brief. All rights reserved.

  1. Home/
  2. News/
  3. Tools & releases/
  4. Reladraw: Declarative Relative Diagramming Language for Coding Agents
Tools & releases

Reladraw: Declarative Relative Diagramming Language for Coding Agents

Reladraw is a new zero-dependency CLI and text diagramming syntax that defines visual positioning relatively rather than relying on autolayout or absolute coordinates. It includes an official skill package installable directly into Claude Code, Codex, and Cursor.

September 27, 2026· 4 min read
OKCurated by Oleksandr Kuzmenko, AI Product Engineer·Updated September 27, 2026·Sources cited on every story
AI-assisted · editor-reviewed·How we use AI
Reladraw: Declarative Relative Diagramming Language for Coding Agents

Impact: Medium

Why it matters

You can generate structured, human-readable architecture diagrams via AI coding agents without fighting Mermaid autolayouts or draw.io coordinate calculations.

TL;DR

  • 01Provides relative layout syntax without requiring hardcoded coordinate geometry
  • 02Compiles straight to SVG via zero-dependency TypeScript engine
  • 03Includes one-line skill installer for Claude Code, Cursor, and Codex

Key facts

v0.8.0Current Version
Apache-2.0License
Current Version
v0.8.0
Runtime Dependencies
0 (zero-dependency TypeScript CLI)
License
Apache-2.0

The Middle Ground in Diagram as Code

Reladraw balances declarative simplicity with explicit positioning:

  • Mermaid/Graphviz: Declarative boxes and connections, but the engine forces positions you cannot override.
  • draw.io/Excalidraw: Absolute coordinates that require manual drag-and-drop or verbose XML edits by LLMs.
  • Reladraw: Relative rules where nodes are positioned relative to neighbors without numeric offsets.
node store "Database" right of app level with app
edge app.api -> store "queries" from: right to: left

Agent Integration via Skills

The repository provides an installation target for skills, registering the syntax reference and CLI instructions inside agent directories for Claude Code, Codex, Cursor, and Copilot.

Try it in 2 minutes

npx skills add reladraw/reladraw -g -a claude-code

bash

✓ When to use

  • Authoring precise system architecture and sequence diagrams directly via AI agents
  • Storing version-controlled diagrams as concise plain text in Git repositories

✕ When NOT to use

  • When automatic organic layout engines like Graphviz or Dagre are preferred for vast, unstructured networks
  • Interactive collaborative whiteboarding where drag-and-drop mouse interaction is strictly required

What to do today

  • →Install the skill for Claude Code with npx skills add reladraw/reladraw -g -a claude-code
  • →Test rendering a sample diagram to SVG with npx reladraw arch.reladraw -o out.svg
  • →Incorporate relative diagram generation into agent design-review workflows

What the community says

  • “Awesome! Exactly the problem I was having with drawio and mermaid. Nice work on addressing these problems and sharing it!”

    — 0x4a50 on Hacker News

  • “I always wanted this kind of tool, it’s a great idea”

    — stellakhr on Hacker News

#Reladraw#Claude Code#Cursor#Codex#Copilot#Mermaid#Graphviz

Sources

  • reladraw/reladraw GitHub Repository
ShareShare on XShare on LinkedIn
← Previous storyBetterWebSearch MCP Adds Zero-Key Deep Research and Context CompressionNext story →Architecting Agent Memory: Short-Term Buffers vs Hybrid Knowledge Graphs

Related stories

  • Tools & releasesExa Launches Agent Ultra API for Deep Research and Exhaustive Lists
  • Tools & releasesOpenAI Research Agents Leak User Images Highlighting Consumer Training Exposure
  • Tools & releasesChat Templates Dictate LLM Disclaimers and Activation Steering Suppresses Them
  • Tools & releasesMicrosoft Unveils Copilot Super App Merging Chat, Internal Code Apps, and Autopilot

Email digest

Get the morning AI brief

One email a day — the stories that matter for engineers, founders and tech leads. Human-edited, with links to primary sources.

  • ✓120+ sources scanned daily
  • ✓Edited by a human
  • ✓1 email per day
  • ✓EN + UA

By subscribing you agree to the privacy policy.