AI news

craft-anything: An Open-Source Pipeline Connecting Observation, Rebuilding and Verification

By cxuanAI0 viewsSource: cxuanAI
craft-anything: An Open-Source Pipeline Connecting Observation, Rebuilding and Verification

Built in Rust, craft-anything offers about 320 CLI and MCP tools for analyzing and rebuilding software, with separate Clean-Room and Deep modes. The article walks through its website and application workflows; the project remains in early alpha.

The official project labels craft-anything as early alpha. Some coding-agent integrations and application and game behavior checks have not yet been validated in live runs. The capabilities described below come from the project documentation and the author's experience. Claims such as “1:1” or “days reduced to minutes” are not independent performance findings covering arbitrary software; the degree of reproduction and time required depend on the target, task, dependencies and model. Clean room is a set of tool-access rules, not an operating-system isolation sandbox.

Hello, everyone. I'm cxuan.

Another particularly eye-catching open-source project has recently arrived in reverse engineering and AI programming. The GitHub project is craft-anything.

Its mission is pretty hardcore: help engineers thoroughly understand the underlying structure and operating logic of any website, application or piece of software they have at hand, then use that understanding to rebuild a native version of their own.

You just give it the target and specify the technology stack you want.

Then you simply wait.

Article illustration

Remember REA (“reverse everything”), which was all over the internet a while ago? If REA started a wave of reverse engineering for everyone, craft-anything is like its engineered evolution built entirely in Rust.

The project attracted intense interest as soon as it was open-sourced, surpassing 35K GitHub stars in a short time. The entire engine is written in pure Rust, with extremely low memory use and very smooth cross-platform operation.

Article illustration

In this article, let's talk about craft-anything, where its strengths lie and how to get started.

How exactly does it differ from traditional reverse-engineering tools?

For many people, the first thing that comes to mind when they hear “reverse engineering” is opening Ghidra or IDA Pro and spending days wrestling with screens full of assembly instructions and decompiled pseudocode.

craft-anything takes an entirely different approach. Rather than focusing solely on isolated code, it takes the broader perspective of observation and evidence gathering → mapping the topology → native rebuilding and turns the entire process into an automated pipeline.

You can assign it all sorts of tasks in very natural language. For example:

• Observing, comparing and rebuilding websites and front-end applications:

Prompt  "帮我分析这个目标网站(https://example.com)的页面布局、色彩字体、交互状态流与核心业务逻辑,使用现代 React + Tailwind 从零构建一个干净可维护的原生版本,并自动校验不同屏幕宽度下的还原度。"

• Mapping the architecture of desktop clients and packaged artifacts:

Prompt  "对这个本地桌面应用包做结构与运行行为观测,梳理出它的模块划分、本地数据存储方式以及核心交互链路,输出一份结构清晰的模块化规范和骨架代码。"

• Deep analysis of legacy systems and native binaries:

Prompt  "开启深度分析模式,结合符号解析与反编译工具检查这个二进制文件的内部模块依赖与核心状态迁移逻辑,梳理出完整的业务交互说明,并用 Rust 帮我重写一个独立模块。"

Once it receives a task, craft-anything does not ask a large model to guess and imagine the code. Instead, it follows the four steps in the official design: Study (observe and gather evidence) → Build (construct the project) → Check (compare and verify) → Ready / Refine (ready for use and iterative polishing).

Article illustration

More specifically, it has three advantages:

First, it comes with 320+ tools.

craft-anything uses pure Rust to wrap more than 320 specialized analysis and inspection tools, covering website DOM and visual measurements, Electron, Apple applications, Android, .NET, Java, databases, firmware and even game assets. What's more, of these 320-plus tools, every one is both a standalone CLI command and a standard MCP tool, ready to be handed directly to coding agents such as Claude Code for orchestration.

Second, Clean-Room is the default, with Deep mode also available.

This is a very clever design choice, and directly addresses the boundaries REA was liable to cross:

• Clean-Room mode (enabled by default): It observes only information visible to external users: screenshots, DOM structure, layout dimensions, colors and fonts, visible text, menus and interaction flows. Tools that read the original software's source code or internal files are blocked outright. It can reproduce interactions and logic without looking at a single line of the other software's source code.

• Deep mode (enabled on demand): If you are analyzing your own team's legacy system or private software you are authorized to examine, you can manually switch to Deep mode. The engine then enables low-level file analysis, parsing of executable formats such as ELF / Mach-O / PE, symbol demangling and integration with local decompilers such as Ghidra for deeper dissection. For runtime isolation, Linux uses bwrap, while Windows uses Job Objects to keep child processes under control.

Third, once it understands the software, it helps you build it directly.

Traditional tools stop once they have produced an analysis report, but craft-anything organizes scattered page information, module relationships and interaction event flows into a structured chain of evidence during Study. It then hands this directly to a coding agent to produce a runnable skeleton and a complete project, before automatically returning to Check (for example, comparing rendering at multiple resolutions and checking functional behavior). If there are discrepancies, it automatically proceeds to Refine, aiming to shorten the analysis and reproduction process. The actual time depends on the target, task and model; this article provides no standardized performance test.

It is worth mentioning that craft-anything is not an isolated little toy. Behind it is ArtCraft(storytold) and an entire suite it is developing: an open-source family of creative and office applications built entirely in Rust.

Article illustration

This team is extremely ambitious: using a native, high-performance architecture, it has set about creating alternatives to almost the whole range of commonly used commercial creative software...

• Graphic design and document publishing:PhotoCraft (layers, masks, text and editing of real PSD files, positioned as an alternative to Photoshop), VectorCraft (vector illustration), LightCraft (photo libraries and RAW post-processing), DesignCraft (page layout and publishing), FigCraft (interface design and prototyping, positioned as an alternative to Figma), PdfCraft (PDF reading, organization and protection).

• Audio, video and motion effects:FilmCraft (video editing, color grading and audio), EffectCraft (motion graphics and visual effects), SoundCraft (audio recording and editing).

• 3D materials and CAD engineering:CADCraft (computer-aided design), TextureCraft (3D texture painting), MaterialCraft (node-based procedural materials), plus the community-developed parametric 3D CAD application SolidCraft.

• Everyday office work and data:WordCraft (document processing), DeckCraft (slide presentations), GridCraft (spreadsheets and data).

Meanwhile, Craft Anything is the most distinctive meta tool in the ecosystem. For the dozen or so applications above, the official team has stepped in to remake familiar software for you; Craft Anything instead open-sources the engine for understanding software and rebuilding it from scratch, so anyone can try their hand at crafting anything.

How to use it

Here's how to get craft-anything running.

It comes in three forms: a desktop GUI, a command-line tool (craft-anything-cli) and an MCP Server. It supports macOS, Windows, Linux and FreeBSD, so just choose whichever suits you.

1. Prepare the environment

• Rust toolchain: Requires Rust 1.97 or later (running rustup update beforehand is recommended)

• System dependencies (needed only when building the desktop application on Linux): Debian / Ubuntu users first need to install the windowing and graphics development packages:

sudo apt-get install build-essential libxkbcommon-dev libxkbcommon-x11-0 libwayland-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libgtk-3-dev

•AI Coding Agent: Configure and log in to a supported agent, such as Claude Code, locally in advance

2. Download an installation package or build from source

If you just want to try it quickly, the easiest route is to download a prebuilt package for your platform from GitHub Releases (the latest version at the time of writing is v0.6.1). On macOS, download the universal .dmg or CLI .zip (both are signed and notarized). Ready-made packages are also available for Windows, Linux and FreeBSD.

If you want to build it yourself from source, clone the repository and run the following commands:

git clone https://github.com/storytold/craft-anything.gitcd craft-anything# 方式 A:直接编译启动桌面端图形界面cargo run --release -p craft-anything# 方式 B:全局安装命令行工具 craft-anything-clicargo install --path apps/craft-anything-cli

3. Verify the setup and get hands-on

After installation, run the diagnostic command first to check whether the Rust environment, decompilation extensions and locally connected coding agent are ready:

craft-anything-cli doctor

Once all diagnostic checks pass, you can start building any project directly.

For example, see exactly how many tools it includes from the command line:

craft-anything-cli commands

Issue a reproduction or modification instruction directly against a target URL:

craft-anything-cli rebuild https://example.com "用简洁的现代风格复刻这个页面,并把顶部导航改成深蓝色"

If you prefer to work through conversation in your usual AI assistant, such as Claude Code or Cursor, simply start it as an MCP Server:

craft-anything-cli mcp

Or, for an even more hands-off approach, give the repository directly to your coding agent:

Prompt  帮我检查本地 Rust 环境并编译安装 craft-anything(https://github.com/storytold/craft-anything),完成后运行 craft-anything-cli doctor 帮我确认配置是否正常。

It takes care of everything smoothly.

On my Mac, I personally tried the official craft-anything-cli doctor and commands:

Article illustration

If you open the desktop application, it defaults to a very intuitive simple mode. Select the target, choose Clean-Room or Deep, enter your requirements and click Start:

Article illustration

If you switch to Advanced in the upper-right corner, you get a function list on the left; pseudo-C, disassembly, hexadecimal and call-graph views in the middle; and an Evidence ledger on the right, plus the agent console at the bottom. It essentially welds a traditional reverse-engineering IDE to an AI assistant:

Article illustration

What it feels like in practice

Comparing it with the REA project from a while back, my impression is:

REA is more like a scalpel, good at digging into another application's internal implementation and explaining it in detail, whereas craft-anything sets you up with an entire automated rebuilding factory. It uses pure Rust to build a foundation of more than 320 inspection tools, saves resources, works across platforms and clearly separates Clean-Room reproduction from Deep analysis.

After actually using it, though, there are a few details worth noting:

1. The build requirements are a little higher than for a Node package: It needs a relatively recent Rust version (1.97+). The first cargo build takes a little time, but it really is stable once running.

2. Distinguish rule-based isolation from a kernel sandbox: The official project itself says that default Clean-Room mode mainly blocks tools at the rules layer to prevent the agent from peeking at source code. If you really intend to run high-risk binaries of unknown origin, it is still more prudent to put them in a virtual machine or a separate sandbox.

3. If architectural visualization matters especially to you:craft-anything focuses more on “gather evidence → write code → verify.” If you want to turn the business flows and module topology you have mapped into attractive interactive diagrams, you can still pair it with an architecture-diagram tool such as archify. One handles analysis and rebuilding, while the other draws the logic beautifully, making for a very complete experience.

Conclusion

Whether you are learning from the design of excellent open-source projects, making private interfaces compatible and aligning protocols in legacy systems, or seeing an impressive product interaction and wanting to rewrite it with your own stack, this toolset aims to assist with analysis and construction. This article has not verified whether all these different tasks can be completed in minutes.

Here is the open-source project address. If you are interested, you can go and experiment with it:

• GitHub:https://github.com/storytold/craft-anything

As people used to joke: in the past, software did not count as open source unless its source code was public. Now, with craft-anything, the aim is to help build new projects from observable software behavior, but there is no guarantee that arbitrary software can be reconstructed in full.

This article comes from the WeChat public account “cxuanAI,” and was written by “cxuanAI.”

Related topics

After reading

Join the AINRK community

Read how to join the community and connect with people working in AI.

Community information (opens in a new tab)