# draw architecture

> Generates publication-quality AI and software architecture diagrams in TikZ, SVG, and JSON.

draw architecture is a paid AI agent skill on Agensi by Nabid Nur, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [Nabid Nur](https://www.agensi.io/creators/nabid-nur)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-08
- Security: scan passed (2026-10-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/draw-architecture
- Tags: ai-agents, architecture-diagrams, tikz, latex, pytorch, technical-drawing

## About this skill

Architecture diagrams in technical docs and papers are often imprecise, messy, or impossible to edit once rendered. This skill generates exact, publication-quality schematics for AI systems, neural networks, and software services from code or descriptions.

### What it does
- **Generate schematics** for RAG, multi-agent systems, and service topologies using a custom SVG/TikZ renderer.
- **Visualize neural architectures** including Transformers, CNNs, and GNNs with precise tensor shapes and data flow.
- **Extract evidence** from PyTorch code, papers, or configs to build diagrams grounded in actual implementation.
- **Search a figure atlas** containing over 100 TikZ master templates for vision, audio, robotics, and LLM components.
- **Export editable formats** including raw TikZ for LaTeX, structured JSON scenes, and production-ready SVG/PDF.

### How it works
1. **Analyze evidence** by inspecting provided source code or text to identify components, interfaces, and tensor dimensions.
2. **Select a route** between the JSON-to-SVG renderer for systems or native TikZ templates for mathematical neural layers.
3. **Build the source** using `archdiagram.py` to validate layout, handle edge routing, and manage group boundaries.
4. **Run semantic review** to verify arrow directions, resolve label collisions, and confirm residual connection origins.

### Frameworks & tools
Built on a Python 3.10+ stdlib renderer. Supports TikZ/LaTeX for math-heavy figures and integrates with Inkscape for PDF/PNG exports.

### Why this beats prompting it yourself
Standard LLMs struggle with spatial reasoning, leading to overlapping nodes and "hallucinated" connections in Mermaid or Graphviz. This skill uses a specialized geometric renderer and a vetted atlas of 100+ professional templates to ensure mathematical and architectural accuracy.

### Use cases
- **Research paper figures** that require monochrome LaTeX typography and TikZ source.
- **System documentation** for multi-agent workflows and RAG pipelines.
- **Code-to-diagram conversion** to visualize existing PyTorch or backend service structures.
- **Technical presentations** needing editable, high-resolution vector schematics.

### Known limitations
Does not train models or infer missing code logic. High-fidelity PDF/PNG export requires a local Inkscape installation. TikZ compilation requires a TeX engine.

## Requires

- Python
- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the draw architecture skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this differ from just asking a standard LLM to write Mermaid or Graphviz code?

Unlike standard LLMs that often produce overlapping nodes or broken logic, this skill uses a specialized geometric renderer and a vetted atlas of 100+ templates to ensure spatial accuracy and valid connection routing.

### What exactly is included in the purchase of this skill?

You will receive the 'draw architecture' skill configuration, access to the library of TikZ master templates, and the custom Python-based renderer used to generate precise SVG and JSON outputs.

### Can I provide my own source code to generate a diagram?

Yes, the skill can analyze PyTorch code or configuration files to extract components and tensor shapes, ensuring your diagrams are grounded in your actual technical implementation.

### What file formats are supported for exporting the diagrams?

The skill exports raw TikZ for LaTeX integration, structured JSON for custom pipelines, and production-ready SVG; high-fidelity PDF and PNG exports are supported if you have Inkscape installed locally.

### Do I need any specific software installed to use the generated outputs?

While the skill generates the code and layout, you will need a TeX engine (like TeX Live or Overleaf) to compile TikZ files and a Python 3.10+ environment to run the underlying renderer.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
