text-to-reality

io.github.ai-wesv0.1.1更新于 Oct 7, 2026

Turn an idea into a device anyone can build: parts, printed parts, wiring, code and a picture guide.

已验证STDIO仅桌面Developer ToolsMedia & Design

概览

AI 生成的概览

把描述的想法变成实体设备的搭建包:零件清单、可打印部件、接线、代码和图文指南。

功能
这个本地服务器为助手提供工具,用于创建搭建项目并完成七个阶段:需求、零件清单、3D 打印部件、接线、固件代码、组装指南和测试。它会记录文件、发现被检查后又被修改的文件、校验搭建包、保留搭建历史,并查询开发板引脚排布和即插式连接器。每个搭建项目都是用户自己拥有的普通文件夹。
适用场景
当你希望助手端到端规划一个小型电子设备时使用:从自然语言描述到可下单的零件清单、可打印外壳、接线方案、固件和分步图文指南。适合没有电子经验、但希望别人能照着组装的人。
运行要求
以 PyPI 包形式通过 uvx 在本地以 stdio 运行,需要先安装 uv。未声明需要账号或 API 密钥。项目保存在由环境变量 TEXT_TO_REALITY_DIR 指定的文件夹中,默认是应用工作目录下的 text-to-reality 文件夹。仅支持桌面端。
安装前请注意
它会在你的机器上写入项目文件夹和文件,请把 TEXT_TO_REALITY_DIR 指向你愿意被写入的位置。生成的零件清单和连接器建议可能促使你向第三方卖家购买硬件;下单或动手搭建前请先检查搭建包。不要求任何凭据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 text-to-reality,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

text-to-reality

Give your agent the power to build real things.

text-to-cad makes a part. text-to-reality makes the working device.

[License: MIT] [PyPI] [Python]

Describe something you want to exist. Your agent turns it into a build package anyone can put together by following pictures:

  • a parts list you can order, using parts that plug together
  • 3D-printable parts for the case and mounts
  • the wiring, every wire and which connector it goes in
  • the code, ready to load
  • a step-by-step picture guide written for someone who has never built electronics
  • tests, so you know it works

No soldering, no breadboard, no electronics experience required. It runs on your machine: no account, no API key, and your projects are plain folders you own.

Example: Agent Meter

"Build me a little desk character that shows what my coding agent is doing and how much of my Claude allowance is left."

[Agent Meter, a small printed robot character with a screen in its head (concept render)]

Agent Meter illustrates this workflow: a Seeed Studio XIAO ESP32-S3 and a small screen inside a printed character, wired with plug-on connectors, with firmware and a picture guide. Its face shows when your agent is working, finished or waiting on you, plus your remaining allowance.

Get the Agent Meter kit →

Install

Ask your agent

text
Install text-to-reality from https://github.com/ai-wes/text-to-reality

Or install it yourself. text-to-reality runs through uv: check it's installed with uv --version, or use uv's installer. Then run the commands for your agent and restart it.

Claude Code

bash
claude plugin marketplace add ai-wes/text-to-realityclaude plugin install text-to-reality@ai-wes

To update: claude plugin marketplace update ai-wes, then claude plugin update text-to-reality@ai-wes.

Codex

bash
codex plugin marketplace add ai-wes/text-to-realitycodex plugin add text-to-reality@ai-wes

Cursor

Cursor also loads the Claude Code plugin; if that's installed, skip this.

bash
git clone --depth 1 https://github.com/ai-wes/text-to-reality ~/.cursor/plugins/local/text-to-reality

Claude Desktop

Add the server to Claude Desktop's config (Settings > Developer > Edit Config), then restart. If it can't find uvx, use its full path (which uvx).

json
{  "mcpServers": {    "text-to-reality": {      "command": "uvx",      "args": ["--no-config", "--managed-python", "--python", "3.13", "--from", "text-to-reality==0.1.1", "text-to-reality", "mcp"]    }  }}

Projects are saved in text-to-reality/ in the folder the app starts in; set TEXT_TO_REALITY_DIR in env to choose another folder.

Other agents

bash
npx skills add ai-wes/text-to-reality

Then add the MCP server above to your agent's MCP config.

Works with text-to-cad

text-to-reality plans the whole device; text-to-cad is great at the printed parts. Install both, and the agent uses text-to-cad for the printed parts when it's available.

How it works

Each build is a folder. The agent fills in seven stages and checks them:

StageWhat's in it
Requirementsbrief.md: what it does, size, power, budget, how you'll know it works
Partsbom.json: every part and quantity
Printed partsCAD source and STL/3MF files
Electronicswiring.json: every wire, its color, and its connector
Codefirmware source and how to load it
Assemblythe picture guide
Testingwhat to check, and what a pass looks like

The local MCP server gives the agent tools to create projects, record files, catch files edited after they were checked, validate the package, keep a build history, and look up board header layouts and plug-on parts.

You can also check a folder yourself:

bash
uvx text-to-reality check ./text-to-reality/my-build

Parts that plug together

Loose jumper wires fall off and get swapped. JIG_ makes connectors that turn the wires going to one row of pins into a single plug, so wiring becomes plugging things in.

The agent uses JIG_ connectors by default. It looks up each board's pin rows, picks one connector per row, lists what to buy, and notes any row a connector can't fit. Get them at jig-robotics.com →

Each connector is a base that holds the wires in order and a cover that snaps on. The picture guide shows how to load it, close it and plug it on.

License

MIT

来源:README.md,提交 68191fb

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.1最新Oct 7, 2026