Build AI agents and web apps — with a single binary.
Find a file
Max 51e4c6d208 Enhance P3 Execution with Multi-Turn Conversation and Validation Improvements
- Updated the `RunConfig` to include parameters for multi-turn conversation control, such as `ContinueOnFailure`, `ValidationThreshold`, and `MaxTurnsPerTask`.
- Implemented a new multi-turn conversation flow for assistant tasks, allowing for iterative interactions until completion or maximum turns are reached.
- Enhanced the `ValidationResult` structure to support multi-turn states, including fields for `Complete`, `NeedReply`, and `ReplyContent`.
- Refined the `ExecuteWithRetry` method to accommodate the new conversation flow, ensuring proper handling of task execution and validation.
- Revised the `Validator` to include logic for determining when to continue conversations based on validation results.
- Updated documentation and tests to reflect the new multi-turn capabilities and validation mechanisms, ensuring comprehensive coverage of the changes.
2026-01-18 10:02:11 +08:00
.github Enhance PDF and Content Processing with New File Handling Features 2025-12-29 15:20:38 +08:00
agent Enhance P3 Execution with Multi-Turn Conversation and Validation Improvements 2026-01-18 10:02:11 +08:00
aigc Refactor AIGC ID Handling in Load Function 2025-12-15 12:10:01 +08:00
api Refactor error handling in various components to improve logging and message formatting 2025-09-28 10:24:17 +08:00
assert Implement P3 Run Phase with Enhanced Validation and Execution Logic 2026-01-17 12:22:23 +08:00
attachment Enhance attachment manager with dual text content handling 2025-12-03 18:29:24 +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
bin Enhance File Handling and Input Parsing in Test Framework 2025-12-25 11:50:58 +08:00
cert fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
cmd Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
config Update .gitignore and Refactor Path Resolution in Config 2025-12-25 12:13:04 +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 Complete Job Integration and Enhance Job Management Functionality 2026-01-15 16:16:36 +08:00
docker Update Dockerfiles and GitHub Actions to use version 1.0.0 2025-12-20 12:12:57 +08:00
docs [_] 2022-11-21 13:32:51 +08:00
dsl Refactor Store Management to Replace Badger with Xun 2025-12-22 09:27:32 +08:00
engine Enhance engine loading process with progress reporting and timing 2025-12-05 18:53:21 +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 seed file system support and deprecate legacy registrations 2025-10-20 10:34:52 +08:00
helper Refactor captcha handling in tests and core functionality 2025-10-15 15:43:16 +08:00
i18n fix: Enhance loading functions to handle non-existent directories 2025-05-13 09:10:10 +08:00
importer Refactor error handling in various components to improve logging and message formatting 2025-09-28 10:24:17 +08:00
job Complete Job Integration and Enhance Job Management Functionality 2026-01-15 16:16:36 +08:00
kb Refactor Knowledge Base Collection Initialization and Document Retrieval 2026-01-10 12:38:42 +08:00
mcp Refactor MCP client handling for improved categorization and information display 2025-12-05 14:17:56 +08:00
messenger Refactor Logging in Mail Receiver to Use Structured Logging 2025-12-24 09:51:05 +08:00
moapi Remove unused utils import and clean up ImagesGenerations function 2024-11-07 17:03:58 +08:00
model Enhance Search Result Storage and Intermediate Data Handling 2025-12-15 16:06:11 +08:00
openai Refactor OpenAI message parsing for improved streaming support 2025-02-09 09:46:41 +08:00
openapi Update Auth Scope Handling in User KB Collection Preparation 2026-01-10 12:48:15 +08:00
pack [add] pack & start command support license 2023-04-23 10:57:28 +08:00
pipe Refactor error handling in various components to improve logging and message formatting 2025-09-28 10:24:17 +08:00
plugin Refactor error handling in various components to improve logging and message formatting 2025-09-28 10:24:17 +08:00
query fix setup bugs 2023-05-18 15:28:22 +08:00
runtime feat: Add ConsoleMode configuration to runtime settings 2025-04-04 18:26:35 +08:00
schedule Refactor error handling in various components to improve logging and message formatting 2025-09-28 10:24:17 +08:00
script Refactor assistant script loading and improve error diagnostics 2025-02-24 14:33:04 +08:00
seed Enhance OpenAPI and JSON Parsing Functionality 2025-12-31 11:54:36 +08:00
service Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
setup Fix endpoint URL formatting to handle default port correctly 2024-11-29 20:50:24 +08:00
share Update version constants to 1.0.0 for Yao App Engine 2025-11-06 18:20:49 +08:00
socket [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
store Refactor Context Management to Use Memory Instead of Space 2025-12-22 11:19:00 +08:00
sui Refactor Logging in Request Render Method 2026-01-12 11:02:15 +08:00
task Refactor error handling in various components to improve logging and message formatting 2025-09-28 10:24:17 +08:00
test Refactor Before/After Script Integration in Agent Test Framework 2025-12-26 09:44:56 +08:00
trace Update Memory Leak Test Comments and Thresholds 2025-12-22 11:45:17 +08:00
ui [add] XGen v1.0 packing 2022-09-27 23:54:06 +08:00
utils Update Go module dependencies and enhance assistant context management 2025-11-15 10:05:57 +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 Enhance OpenAPI Integration and API Routing 2026-01-04 15:46:09 +08:00
yao Complete Job Integration and Enhance Job Management Functionality 2026-01-15 16:16:36 +08:00
.gitignore Update .gitignore to include introduction directory 2026-01-09 19:02:43 +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
go.mod Refactor Data Store Implementation and Update Tests 2025-12-22 09:07:41 +08:00
go.sum Refactor Data Store Implementation and Update Tests 2025-12-22 09:07:41 +08:00
LICENSE ⚠️ BREAKING: Rename XGen to CUI and update license terms 2025-05-18 12:16:45 +08:00
main.go Update JSON Extraction Method in Assistants 2025-12-17 09:38:10 +08:00
Makefile Refactor Assistant Stream and Content Handling for Improved Context Management 2025-12-27 19:36:31 +08:00
README.md Add Yao Agents Section to README 2026-01-13 15:30:51 +08:00
README.zh-CN.md Update installation instructions in README 2024-05-31 17:11:11 +08:00

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

🤖 Yao Agents: https://github.com/YaoAgents/awesome ( Preview )

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.