Skip to content
项目

关于

Circuit design assets, SPICE fixtures, and an auditable Agent workflow

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Analog Canvas

Analog Canvas is an open, connectivity-aware schematic editor and circuit gallery for analog design, where people and AI Agents work on the same circuit.

Browse the Gallery · Open the editor · Download the Windows preview · Documentation · Cite

Goals

  • One edit model for people and Agents. An authorized Agent changes a Project through MCP or HTTP with the same typed, revision-checked edits as the editor (architecture).
  • A drawing is a circuit. Connectivity, hierarchy and netlists come from what is drawn. A tidy drawing, a clean save or an exit code never establishes electrical correctness; that takes simulation and model evidence (core invariants).
  • Textbook-quality figures. Symbols and drawing style follow the Razavi reference, the single visual authority (visual contract), and SVG and PDF exports stay vector (export).
  • Open circuit data. Public Gallery circuits are open to bulk download, mirroring and AI training; reference datasets keep their own licenses (usage policy).
  • Fit existing flows. Import and export structural SPICE and Spectre (compatibility), run the netlist with your own simulator and PDK, and bring circuits in from Virtuoso or send them to Virtuoso or Aether through EDA plugins that run outside Canvas (plugins).

Start here

  • Design a circuit: open the editor to draw or import a netlist, build a hierarchy, check it, simulate SKY130 with ngspice in your browser, and export figures or netlists. Save keeps the Project private; Publish shares it with the Gallery (user guide).
  • Explore or download circuits: browse the Gallery, or download any public selection with one script and no account (bulk download).
  • Connect an Agent: click Agent in the editor and paste the connection message into an Agent that can run tools, such as Claude Code or Codex (Agent guide). Agents and scripts can also draw without a browser from the command line.
  • Connect another tool: plugins bring circuits in from Virtuoso, send them to Virtuoso or Aether, and connect other environments. They run outside Canvas; add, adopt or request one in the plugins repository.
  • Work offline or in slides: the unsigned Windows desktop preview needs no account (setup), and the PowerPoint add-in reopens an embedded Project from its slide.

Run locally

With Node.js 24 or newer and pnpm 11.16.0 or newer, from the repository root:

pnpm install --frozen-lockfile
pnpm build
pnpm dev

Open /editor at the printed local URL. The development server starts a local Agent relay on first use, so Agent works without a separate Worker. The relay runs workspace packages from their built dist/ output: after pulling package changes, rerun pnpm build and restart pnpm dev.

Repository map

  • apps/: the web editor with its Gallery and account surfaces (editor/), the MCP server (mcp-server/), the Windows desktop preview (desktop/) and the PowerPoint add-in (powerpoint/).
  • packages/: the circuit model, Edit Engine, connectivity, components, SPICE and RNL interchange, export, simulation and the Agent contract. Which package owns each concern: sources of truth.
  • worker/: the Cloudflare Worker and Durable Objects behind hosting, the Gallery, accounts, Cloud Projects and Agent relay sessions.
  • containers/: pinned ngspice Profiles, with the models and standard cells that simulation loads (ngspice/), and the China regional runtime (canvas-cn/).
  • netlists/: one circuit per directory for the import corpus, simulation examples and Agent layout evaluation.
  • fixtures/: test inputs and goldens, including the Razavi visual reference.
  • scripts/: build, generation, validation-gate, release and deployment tooling; config/ holds the Gallery, validation-gate and MCP-distribution settings.
  • references/ and .agents/: pinned external sources and the original development skills.
  • docs/: the documentation (index).

Contributing

Begin with the contributor reading order. Merging a code change to main deploys it to Production (deployment).

License

Copyright © 2026 Zengchun Chen and Zhishuai Zhang.

Except where otherwise noted, Analog Canvas is licensed under the GNU Affero General Public License v3.0 only (AGPL-3.0-only). Modified versions that are distributed or made available for remote network interaction must provide their Corresponding Source under the same license. Third-party dependencies, reference material, and assets retain their respective copyright and license terms.

Citation

If you use Analog Canvas in research, teaching, or another publication, cite:

Zengchun Chen and Zhishuai Zhang. Analog Canvas. 2026. Available at: https://analog-canvas.tokenzhang.com/ Source code: https://github.com/cascode-ai/analog-canvas

@software{chen2026analogcanvas,
  author = {Chen, Zengchun and Zhang, Zhishuai},
  title = {Analog Canvas},
  year = {2026},
  url = {https://analog-canvas.tokenzhang.com/},
  note = {Source code: https://github.com/cascode-ai/analog-canvas}
}

探索相关项目

加载中…