English | 简体中文
Yushi is a no-code on-device AI agent development platform.
Total control. Infinite extensibility.
Get your own agent running locally in minutes.
- Deploy SmallThinker locally with support for RK3588 and RK3576.
Prerequisites
- Git and Rust is installed
- If it’s not installed yet, refer to the prerequisites to set it up.
git clone https://github.com/yushi-apps/yushi.gitcd yushicargo install --path clicargo yushi new my_agentThe directory structure of an agent is as follows:
.
├── Cargo.toml
├── src/
│ ├── main.js
├── .yushi/
│ ├── main_prompt.md
│ ├── model.toml
│ ├── agents/
An agent is simply a regular Cargo project with a .yushi configuration file.
main_prompt.mdis Agent Prompt file,write in Markdown format.model. tomlis the model configuration file for the agentagents/directory contains sub-agents, each written in Markdown—one file per sub-agent.
cd my_agentNavigate to the agent directory and edit .yushi/model.toml to set the model parameters. By default, DeepSeek is used—just fill in your api_key and you're ready to go.
Edit .yushi/main_prompt.md to define the agent; if the file is empty, the LLM model will be used directly.
cargo yushi build --release
./my_agent/target/release/my_agentAfter the build finishes, copy the executable my_agent/target/release/my_agent to your target device and run it.
For cross-compilation, please refer to the Cross-compilation Guide .
curl -X POST http://127.0.0.1:22786/chat -d "What can you do?"This project is offered under a dual-license model.
- AGPL for community edition
- For commercial licensing, please contact
yushi_app@163.comfor details.
- Email:
yushi_app@163.com