kostyay

Native Excalidraw diagram preview tool for pi — draw and save diagrams from the agent with a live glimpse webview.

28
1
100% credibility
Found May 04, 2026 at 27 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

An extension for an AI coding agent that lets it draw, preview, refine, and save hand-drawn diagrams in a live window.

How It Works

1
🕵️ Discover the diagram drawer

You hear about a handy add-on that lets your AI coding buddy create hand-drawn diagrams right in your workspace.

2
📥 Add it simply

With one easy instruction to your AI helper, you bring the diagram tool into your setup—no fuss needed.

3
🎨 Ask to draw something

Tell your AI, 'Draw a flowchart for user login,' and it gets to work understanding your idea.

4
Watch it come alive

A preview window pops up, and you see the diagram build itself in real time, shapes and lines appearing just like magic.

5
🔄 Tweak and perfect it

Snap a picture of the diagram, share feedback like 'fix the overlapping labels,' and watch your AI refine it instantly.

6
💾 Save your creation

Once it looks great, tell it to save, and you get a file ready to open and edit in any drawing app.

Professional diagram done

You now have a polished, editable diagram perfect for your project, reports, or sharing with your team.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 27 to 28 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is pi-k-excalidraw?

pi-k-excalidraw is a TypeScript extension for the pi AI coding agent, turning your terminal into a live Excalidraw native diagram editor. Tell the agent to draw diagrams via /excalidraw or tools like draw_diagram, and it renders them instantly in a glimpse webview—no extra servers or child processes. Save as .excalidraw files, load for edits, or convert Mermaid to native Excalidraw elements, all with screenshot feedback loops for refinements.

Why is it gaining traction?

Unlike excalidraw-mcp's external processes, this runs fully native in pi's extension API, streaming partial diagrams for real-time glimpses as the agent generates them. Developers dig the edit mode toggle for manual tweaks, PNG/SVG clipboard exports, and self-correcting via screenshots—making agent-driven diagramming feel responsive and integrated. Low overhead hooks pi users experimenting with react native excalidraw in terminal workflows.

Who should use this?

Terminal-heavy devs using pi for AI-assisted coding who need quick architecture diagrams, flowcharts, or sequences without leaving the agent. Perfect for backend engineers sketching OAuth flows or frontend folks prototyping UIs via voice-like prompts, especially with Mermaid shortcuts for non-designers.

Verdict

Grab it if you're on pi and want excalidraw native diagrams in your agent sessions—solid docs, tests, and live preview make it usable now despite 19 stars and 1.0% credibility signaling early alpha status. Pin to a release for stability; watch for adoption as pi grows.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.