Build AI agents and web apps — with a single binary.
Find a file
Max 4e88c7ae78 Update Claude CLI integration with stream-json input format
- Add --input-format stream-json, --output-format stream-json, --verbose flags
- Use heredoc to pass messages via stdin (no CLI length limit)
- Add BuildInputJSONL function for message conversion
- Add shouldSkipClaudeCLI logic to skip when no prompts/skills/mcp
- Update executor to conditionally start claude-proxy only when needed
- Add SystemPrompt field to Options for skip logic
- Add E2E tests for skip mode and command building
- Fix tests to reflect new command structure

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 13:29:31 +08:00
.github Enhance Sandbox Integration and CI Workflow for AI Tests 2026-01-30 17:41:06 +08:00
agent Update Claude CLI integration with stream-json input format 2026-01-31 13:29:31 +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 Update Dependencies and Enhance Agent Context with Forked Context Support 2026-01-25 20:32:02 +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 Agent Documentation and Add Extract Command Functionality 2026-01-27 10:57:27 +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 Enhance Execution Control and Error Handling in Robot Manager 2026-01-28 19:10:01 +08:00
docker Update Dockerfiles and GitHub Actions to use version 1.0.0 2025-12-20 12:12:57 +08:00
docs Update README.md for Improved Clarity and Visual Appeal 2026-01-29 01:04:22 +08:00
dsl Refactor Store Management to Replace Badger with Xun 2025-12-22 09:27:32 +08:00
engine Implement Auto-Generation of Member ID in Robot API 2026-01-22 17:31:36 +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 Implement Attachment Support in Email Messaging 2026-01-18 17:05:24 +08:00
moapi Remove unused utils import and clean up ImagesGenerations function 2024-11-07 17:03:58 +08:00
model Enhance Execution Record Model and Storage Implementation 2026-01-18 16:38:30 +08:00
openai Refactor OpenAI message parsing for improved streaming support 2025-02-09 09:46:41 +08:00
openapi Enhance Execution Control and Error Handling in Robot Manager 2026-01-28 19:10:01 +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
sandbox Replace CCR with claude-proxy for Claude sandbox 2026-01-31 12:44:29 +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 Enhance Attachment Process with Plain Text and UTF-8 Support 2026-01-25 17:32:50 +08:00
task Refactor error handling in various components to improve logging and message formatting 2025-09-28 10:24:17 +08:00
test Enhance Execution Record Model and Storage Implementation 2026-01-18 16:38:30 +08:00
trace Enhance Robot Delivery Logic and Context Management 2026-01-28 14:44:42 +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 Enhance Execution Control and Error Handling in Robot Manager 2026-01-28 19:10:01 +08:00
.gitignore Replace CCR with claude-proxy for Claude sandbox 2026-01-31 12:44:29 +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 feat(sandbox): add persistent Docker sandbox for external CLI agents 2026-01-29 19:23:50 +08:00
go.sum feat(sandbox): add persistent Docker sandbox for external CLI agents 2026-01-29 19:23:50 +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 feat(sandbox): add persistent Docker sandbox for external CLI agents 2026-01-29 19:23:50 +08:00
README.md Update README.md for Improved Clarity and Visual Appeal 2026-01-29 01:04:22 +08:00
README.zh-CN.md Update installation instructions in README 2024-05-31 17:11:11 +08:00

Yao — Build Autonomous Agents. Just Define the Role.

Yao is an open-source engine for autonomous agents — event-driven, proactive, and self-scheduling.

Mission Control

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 )


What Makes Yao Different?

Traditional AI Assistants Yao Autonomous Agents
Entry point: Chatbox Entry point: Email, Events, Schedules
Passive: You ask, they answer Proactive: They work autonomously
Role: Tool Role: Team member

The entry point is not a chatbox — it's email, events, and scheduled tasks.


Features

Autonomous Agent Framework

Build agents that work like real team members:

  • Three Trigger Modes — Clock (scheduled), Human (email/message), Event (webhook/database)
  • Six-Phase Execution — Inspiration → Goals → Tasks → Run → Deliver → Learn
  • Multi-Agent Orchestration — Agents delegate, collaborate, and compose dynamically
  • Continuous Learning — Agents accumulate experience in private knowledge bases

Native MCP Support

Integrate tools without writing adapters:

  • Process Transport — Map Yao processes directly to MCP tools
  • External Servers — Connect via SSE or STDIO
  • Schema Mapping — Declarative input/output schemas

Built-in GraphRAG

  • Vector Search — Embeddings with OpenAI/FastEmbed
  • Knowledge Graph — Entity-relationship retrieval
  • Hybrid Search — Combine vector similarity with graph traversal

Full-Stack Runtime

Everything in a single executable:

  • All-in-One — Data, API, Agent, UI in one engine
  • TypeScript Support — Built-in V8 engine
  • Single Binary — No Node.js, Python, or containers required
  • Edge-Ready — Runs on ARM64/x64 devices