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