VERSION 1.0 // MULTI-LANGUAGE AGENT FRAMEWORK 1.0 版本 // 多语言智能体框架

Build
Agents
Faster.

极速构建
智能体
框架。

A lightweight, multi-language AI agent framework with native tool use, SSE streaming, and a ReAct event loop. No bloated abstractions.

一个轻量级、多语言的 AI 智能体框架,原生支持工具调用、SSE 流式输出和 ReAct 事件循环。拒绝臃肿抽象。

Code Overview

Core
Mechanics

核心
机制

A fully functional agent prototype built for deep understanding. Not just a toy, but a robust architecture.

为深度理解而构建的全功能智能体原型。不仅仅是玩具,而是健壮的架构。

01

Multi-Model 多模型支持

Support for Anthropic and OpenAI-compatible interfaces (DeepSeek, Qwen, Kimi). Seamless switching via env vars. 支持 Anthropic 和兼容 OpenAI 的接口 (DeepSeek, Qwen, Kimi)。通过环境变量无缝切换。

02

Streaming 流式输出

Native SSE streaming with real-time reasoning content (thinking process) display for advanced models. 原生 SSE 流式输出,支持高级模型实时展示推理过程(思维链)。

03

Tool Use 工具调用

Built-in BashTool, FileReadTool, and FileWriteTool for native environment interaction and code modification. 内置 BashTool、FileReadTool 和 FileWriteTool,实现原生环境交互与代码修改。

04

ReAct Loop ReAct 循环

Autonomous message event loop allowing multiple tool invocations until the task is marked complete. 自主消息事件循环,允许连续多次调用工具,直至任务标记完成。

// REASONING_ENGINE.LOG STATUS: ACTIVE
Reasoning Output

Four
Languages.

四大
语言。

One unified architecture implemented across four major ecosystems. Learn agent concepts in the language you know best.

同一套统一架构在四大主流生态系统中的实现。用你最熟悉的语言学习智能体概念。

TS

TypeScript

COMPLETED 已完成

Native implementation using pure functional architecture. Flawless streaming parsing and tool scheduling. 使用纯函数式架构的原生实现。完美的流式解析与工具调度。

PY

Python

COMPLETED 已完成

Pythonic asynchronous agent using asyncio and strong type hinting. 使用 asyncio 和强类型提示的 Pythonic 异步智能体。

GO

Go

COMPLETED 已完成

Extreme concurrency and performance utilizing Goroutines and Channels. 利用 Goroutines 和 Channels 达到极致并发与性能。

RS

Rust

COMPLETED 已完成

Memory safe, zero-cost abstractions, compiled to native binaries with minimal footprint. 内存安全,零成本抽象,编译为体积最小的原生二进制文件。

Capabilities 能力展示

E2E_APP_GENERATION wuziqi.html

Zero to App 从零构建应用

"Write a Gomoku web game." The agent autonomously thinks, creates files, writes HTML/JS/CSS, and delivers a playable app. "写一个五子棋网页游戏。" 智能体自主思考、创建文件、编写 HTML/JS/CSS,最终交付可玩的应用。

Gomoku
CLI_EASTER_EGG buddy.ts
Buddy

CLI Pet 终端宠物

Type `/buddy` in the terminal. Shows off rich text rendering and PRNG capabilities directly in the CLI. 在终端输入 `/buddy`。直接在命令行中展示富文本渲染和伪随机生成能力。

Documentation 项目文档

Quick Start 快速开始

$ git clone https://github.com/you-want/mini-cc
$ cd mini-cc
$ cp .env.example .env

Configure your API keys in .env and start exploring the core loops. 在 .env 中配置你的 API 密钥,开始探索核心循环。