Build AI agents and web apps — with a single binary.
Find a file
2025-08-23 21:20:11 +08:00
.github/workflows Merge remote-tracking branch 'upstream/main' 2025-08-23 21:20:11 +08:00
.vscode feat: build and docker image 2025-03-09 15:43:48 +08:00
aigc fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
api fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
attachment Refactor storage tests to use unique filenames with UUIDs 2025-07-27 10:05:50 +08:00
audit Update dependencies in go.mod and go.sum to latest versions for improved stability and performance 2025-07-13 09:15:54 +08:00
cert fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
cmd feat: Update versioning and commit information in Makefile and version command 2025-05-18 16:47:32 +08:00
config Refactor startup logic to improve directory checks and enhance welcome message display 2024-11-29 17:36:45 +08:00
connector fix setup bugs 2023-05-18 15:28:22 +08:00
crypto Add algorithm parameter to HmacWith function 2024-01-27 10:17:48 +08:00
cui ⚠️ BREAKING: Rename XGen to CUI and update license terms 2025-05-18 12:16:45 +08:00
data Enhance collection management and segment handling in the API 2025-08-20 18:25:28 +08:00
docker Merge remote-tracking branch 'upstream/main' 2025-08-23 21:20:11 +08:00
docs [_] 2022-11-21 13:32:51 +08:00
dsl Enhance DSL error handling and metadata management 2025-07-16 16:15:16 +08:00
engine Merge remote-tracking branch 'upstream/main' 2025-08-23 21:20:11 +08:00
excel refactor: Simplify sheet dimension retrieval in Excel processing 2025-05-15 13:02:13 +08:00
flow fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
fs [add] fs allows access to the app root directory ( it's an dangerous operation, be careful to use it) 2024-06-25 17:08:54 +08:00
helper Merge remote-tracking branch 'upstream/main' 2025-08-23 21:20:11 +08:00
i18n fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
importer fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
job Add OAuth service implementation with configuration and validation 2025-07-17 12:04:42 +08:00
kb Update chunking options in tests to reflect new defaults and structure 2025-08-14 13:55:40 +08:00
mcp Add system model loading functionality for testing 2025-07-16 16:43:45 +08:00
moapi Remove unused utils import and clean up ImagesGenerations function 2024-11-07 17:03:58 +08:00
model Refactor knowledge base model structure to support new collection and document formats 2025-08-12 17:20:45 +08:00
neo feat: update api 2025-08-23 20:50:51 +08:00
openai Refactor OpenAI message parsing for improved streaming support 2025-02-09 09:46:41 +08:00
openapi Enhance hit and vote retrieval logic in API 2025-08-22 11:25:46 +08:00
pack [add] pack & start command support license 2023-04-23 10:57:28 +08:00
pipe fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
plugin fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
query fix setup bugs 2023-05-18 15:28:22 +08:00
rules add rule and deparment user_id 2025-02-17 17:09:29 +08:00
runtime feat: Add ConsoleMode configuration to runtime settings 2025-04-04 18:26:35 +08:00
schedule fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
script Refactor assistant script loading and improve error diagnostics 2025-02-24 14:33:04 +08:00
service Merge remote-tracking branch 'upstream/main' 2025-08-23 21:20:11 +08:00
setup Fix endpoint URL formatting to handle default port correctly 2024-11-29 20:50:24 +08:00
share Implement system store management and enhance store loading functionality 2025-07-20 11:23:00 +08:00
socket [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
store Enhance CI workflows and Knowledge Base integration 2025-07-23 17:42:10 +08:00
studio Deprecate studio API functions and comment out implementation details 2025-07-22 17:41:03 +08:00
sui fix: Update asset metadata and improve error handling in Agent class 2025-05-09 10:50:49 +08:00
task fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
test Refactor knowledge base model structure to support new collection and document formats 2025-08-12 17:20:45 +08:00
ui [add] XGen v1.0 packing 2022-09-27 23:54:06 +08:00
utils feat: Enhance Pinyin processing with additional options and tests 2025-04-04 16:35:34 +08:00
websocket [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
wework [add] yao.wework.* processes 2023-04-09 21:25:12 +08:00
widget fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
widgets Merge remote-tracking branch 'upstream/main' 2025-08-23 21:20:11 +08:00
yao Enhance collection management and segment handling in the API 2025-08-20 18:25:28 +08:00
.gitignore Merge remote-tracking branch 'upstream/main' 2025-08-23 21:20:11 +08:00
COMMERCIAL_LICENSE.md ⚠️ BREAKING: Rename XGen to CUI and update license terms 2025-05-18 12:16:45 +08:00
COMMERCIAL_LICENSE.zh-CN.md ⚠️ BREAKING: Rename XGen to CUI and update license terms 2025-05-18 12:16:45 +08:00
get-yao.sh feat: update the yao base image 2025-03-09 19:16:46 +08:00
go.mod Update OAuth client configuration and ID generation methods 2025-08-04 11:04:56 +08:00
go.sum Implement MFA functionality in user management 2025-08-02 21:08:37 +08:00
LICENSE ⚠️ BREAKING: Rename XGen to CUI and update license terms 2025-05-18 12:16:45 +08:00
main.go Refactor import statements in main.go for improved organization 2025-05-22 23:21:08 +08:00
Makefile Merge remote-tracking branch 'upstream/main' 2025-08-23 21:20:11 +08:00
README.md feat: build and docker image 2025-03-09 15:43:48 +08:00
README.zh-CN.md feat: build and docker image 2025-03-09 15:43:48 +08:00

Install Yao

curl -sSL https://raw.githubusercontent.com/sjzsdu/yao/refs/heads/main/get-yao.sh | bash

What is Yao?

Yao is an all-in-one application engine that enables developers to create web apps, REST APIs, business applications, and more, with AI as a development partner.

Yao lets you create apps using AI, a visual interface, or by writing them yourself. Its DSL (Domain-Specific Language) is easy to read and write, and it works well with AI. With full programming capabilities and a single command-line tool to handle everything, you can switch smoothly between manual coding and AI assistance, making web app development fast and flexible.

Quick Links:

🏠 Homepage: https://yaoapps.com

🚀 Quick Start: https://yaoapps.com/docs/documentation/en-us/getting-started

📚 Documentation: https://yaoapps.com/docs

Why Yao? https://yaoapps.com/docs/why-yao

Features

Yao is effective in both human and machine programming, with each being independent, allowing for seamless switching between the two.

🔮 AI First

We have designed a human-machine-friendly DSL (Domain-Specific Language) that makes both AI-generated and manually written code more efficient, enabling easy transitions between the two.

Typically, AI generates the initial code, and developers make modifications, significantly boosting development efficiency. In practice, AI can handle 80% to 90% of the work, allowing developers to focus on the remaining 10% to 20%.

🔮 All-in-One

Yao is an all-in-one solution for web development, requiring no additional packages or toolchain dependencies. It ships as a single executable file that includes everything you need to get started.

This greatly reduces the complexity of interacting with AI, significantly improving both the efficiency and quality of the generated code. It also eliminates many unnecessary tasks, allowing developers to focus on more important aspects.

🔮 Native TypeScript Support

Yao includes a built-in V8 engine with TypeScript support, allowing direct code execution and providing hundreds of APIs for databases, files, caching, and more, with multiple ways to add extensions.

Yao offers comprehensive programming capabilities, so you dont have to worry about being unable to implement certain features.

🔮 Multiple Coding Approaches

Combine AI-generated code, visual editing, and manual coding within the same project, with generated code that is easy to read and manually modify.

Once you understand how Yao works and its DSL, you can easily develop a code generator or AI agent tailored to your business needs.

🔮 Serverless

Launch in seconds with built-in cloud functions and API gateways to easily create server-side apps. Integrate seamlessly with the DevOps ecosystem for one-click deployment.

🔮 Edge Devices Support

Yao apps also support running on edge devices equipped with arm64 or x64 chips, suitable for various scenarios in IoT applications.