
E
Excali-mode
Open Source๐ Alt to LangGraph StudioTurn Excalidraw into an interactive AI agent canvas
๐ณ Self-Hostable๐ No Sign-upโก Editorial Signal: 82/100โ
107 Stars
git clone https://github.com/yibie/excali-mode.git && cd excali-mode && npm installExcali-mode transforms the popular Excalidraw whiteboard into a dynamic, AI-powered execution environment. It bridges visual ideation and agentic workflows, allowing developers to orchestrate AI tasks directly on a visual canvas.
Interact with AI agents and orchestrate multi-step pipelines directly on an Excalidraw whiteboard.
Connect drawing elements and text blocks to form functional agent workflows and prompt chains.
Built on top of the open-source Excalidraw stack for seamless customizability.
Brainstorming and instantly executing multi-agent architectures visually
Prototyping complex prompt chains using spatial node maps
Generating diagrams and code structures simultaneously from visual sketches
Unlike LangGraph Studio which relies on strict graph structures and developer dashboards, Excali-mode offers a free-form, sketch-first canvas experience for rapid visual ideation.
AI engineers, indie hackers, and visual thinkers looking for alternative ways to design and execute agentic workflows.
Excali-mode is engineered to eliminate critical operational friction in ai agents & autonomous. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
Excali-mode is architected as an embedded vector graphics engine and major mode for GNU Emacs, enabling native whiteboarding without external browser runtimes or web server daemons. Developed by yibie, the system interfaces directly with Emacs's modern Canvas API (targeting Emacs 29, 30, and patched 32 builds) through an optimized C dynamic module. At its core, Excali-mode binds the Cairo 2D vector graphics library and the Pango text layout engine to achieve high-fidelity rendering inside Emacs buffer windows. It integrates a dedicated C port of rough.js, procedural algorithms that compute hand-drawn sketchy strokes, organic polygon borders, and hachure fills entirely within native machine code. The execution loop operates completely offline: when an `.excalidraw` file is loaded, an embedded JSON parser deserializes element trees into native C memory structures, bypassing standard Emacs Lisp garbage collection bottlenecks. The system's event dispatch loop translates local X11, Wayland, or native OS mouse drag and keyboard events directly into canvas coordinate space transformations, redrawing dirty regions with sub-millisecond latency. Geometric elements, freehand curves, connection lines, and embedded text retain full bidirectional compatibility with the official Excalidraw web schema while running entirely within an isolated local process boundary without network socket overhead.
Developer ergonomics in Excali-mode bridge classical Emacs keyboard-centric workflows with intuitive spatial visual manipulation. The package installs cleanly via standard package managers using `use-package` or `straight.el` declarations, compiling the dynamic module during initialization. Opening any `.excalidraw` file immediately activates `excali-mode`, presenting an interactive vector canvas directly within an Emacs buffer split. Ergonomic keybindings allow developers to toggle drawing tools seamlessly: dedicated chords switch between rectangles, ellipses, diamonds, freehand pens, connection arrows, and typography labels without touching external menus. Connection arrows dynamically bind to geometric shape anchor nodes, automatically recalculating bezier curves and elbow joints as parent elements are dragged across the canvas. A major ergonomic advantage is deep integration with Org-mode and literate programming workflows: developers can embed inline links to local Excalidraw sketches within technical notes and export rendered diagrams during documentation generation passes via automated SVG and PNG serialization hooks. Buffer-local customization variables (`excali-stroke-width`, `excali-roughness`, `excali-font-family`) provide granular control over aesthetic parameters through standard Emacs customize interfaces. Error telemetry and JSON schema validation warnings surface directly in the `*Messages*` buffer, ensuring immediate visibility into malformed drawing specifications or coordinate overflows during manual buffer editing.
Excali-mode is distributed as free, open-source software under permissive licensing (GPLv3 / MIT compatible), granting software engineers, researchers, and enterprises unrestricted rights to audit, modify, and integrate the tool into proprietary development workflows without licensing fees or recurring seat subscriptions. From a Total Cost of Ownership (TCO) perspective, Excali-mode dramatically undercuts commercial visual collaboration platforms such as Miro, Lucidchart, or Figma. Compute resource requirements are exceptionally modest: the compiled C dynamic module and Cairo rendering pipeline consume less than 40MB of resident RAM inside the parent Emacs process, with near-zero background CPU consumption when the canvas is idle. This stands in stark contrast to Electron-based whiteboards or browser tabs that routinely consume gigabytes of memory and trigger aggressive battery drain on laptops. Furthermore, Excali-mode enforces an absolute zero-telemetry architecture: no analytics beacons, crash telemetry, or network pings are emitted across local interfaces. Sensitive software architectural diagrams, network topologies, proprietary database schemas, and intellectual property remain strictly confined to the local filesystem, entirely eliminating SaaS data breach risks, compliance exposure under GDPR and HIPAA, and unexpected subscription price escalations common to enterprise cloud whiteboarding vendors.
Excali-mode is production-ready as a high-velocity visual scratchpad, technical documentation illustrator, and architecture design engine for software engineers and systems architects working within the Emacs ecosystem. It delivers tremendous productivity gains by eliminating context switching between code buffers and heavy browser applications. The binary deployment verdict is clear: adopt Excali-mode for personal engineering workflows, local architectural modeling, and literate documentation. However, organizations requiring synchronous multi-user collaborative whiteboarding with real-time multiplayer cursors should stick with web-based Excalidraw or Miro, as Excali-mode is explicitly designed as a single-operator local tool. Operational edge cases center on host compilation dependencies: building the dynamic C module requires host development toolchains (`gcc` or `clang`, `libcairo2-dev`, and `libpango1.0-dev`), which may require manual setup on restricted enterprise corporate machines or non-standard Windows Emacs distributions. Additionally, extremely dense diagrams containing thousands of complex hand-drawn paths can introduce noticeable redraw latency during rapid continuous zoom operations. For optimal deployment, ensure Emacs is compiled with dynamic module support enabled, maintain standard `.excalidraw` JSON backups in Git repositories, and configure automatic SVG export hooks for CI/CD documentation publishing pipelines across continuous integration runners.
Excali-mode is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike LangGraph Studio which relies on strict graph structures and developer dashboards, Excali-mode offers a free-form, sketch-first canvas experience for rapid visual ideation.
Yes. Excali-mode is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
No account creation or credit card is required to evaluate Excali-mode. You can immediately access core features or run it locally without onboarding friction.
You can launch or test Excali-mode quickly using the following command: git clone https://github.com/yibie/excali-mode.git && cd excali-mode && npm install Visit the official portal at https://github.com/yibie/excali-mode for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of Excali-mode was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of Excali-mode and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/excali-mode)<a href="https://lordorange.top/tool/excali-mode" target="_blank"><img src="https://lordorange.top/badge/excali-mode.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring Excali-mode.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
From simple autocomplete to multi-agent SWE loops: how autonomous agents read repos, run test suites, and write production software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.