Quark Agent 夸克智能体

The 5KB Agent Kernel That Composes Everything 5KB 微内核,组合一切

TypeScript MIT 89% Bench MoA Sandbox A2A
Install安装 npx github:Madapexai/quark-agent setup
01 / Principle01 / 原理

How It Works工作原理

A layered onion architecture — from a 5KB core to pluggable channels and protocols. 洋葱式分层架构——从 5KB 内核到可插拔的通道和协议。

PLUGINS MoA / A2A / GEPA / MCP CHANNELS 7 Channels TOOLS 16 Tools, 7 Categories 5KB KERNEL
Core

5KB Kernel5KB 内核

Agent + Provider + Memory + Sandbox — the minimal runtime that makes everything else a plugin.Agent + Provider + Memory + Sandbox——让其他一切成为插件的最小运行时。

Layer 2

16 Composable Tools16 个可组合工具

7 categories: fs, web, edit, data, memory, multimodal, browser. Each a defineAction — mix and match freely.7 类:文件、网络、编辑、数据、记忆、多模态、浏览器。每个都是 defineAction——自由组合。

Layer 3

7 Channels7 通道

CLI, HTTP/SSE, Discord, Slack, Feishu, GitHub, Telegram — one agent, every interface.CLI、HTTP/SSE、Discord、Slack、飞书、GitHub、Telegram——一个 Agent,所有界面。

Layer 4

Plugins & Protocols插件与协议

MoA routing, A2A agent-to-agent, GEPA self-evolution, MCP marketplace — extend without limits.MoA 路由、A2A Agent 间通信、GEPA 自进化、MCP 市场——无限扩展。

02 / Platforms02 / 平台

7 Channels, One Agent7 通道,一个 Agent

Deploy once, reach everywhere. Every channel auto-inherits all tools and models. 部署一次,触达所有平台。每个通道自动继承所有工具和模型。

CLI Terminal终端

Interactive command-line chat with streaming output.交互式命令行对话,流式输出。

HTTP/SSE REST APIREST 接口

REST API with server-sent events streaming.REST API,支持 SSE 流式响应。

Discord Bot机器人

Bot via Gateway WebSocket with slash commands.通过 Gateway WebSocket 接入,支持斜杠命令。

Slack Events API事件 API

Events API with HMAC verification and bolt framework.Events API + HMAC 验证 + Bolt 框架集成。

Feishu / 飞书Lark Enterprise IM企业 IM

Enterprise IM integration with event subscription.企业即时通讯集成,支持事件订阅。

GitHub Automation自动化

Issue and PR automation via webhook events.通过 Webhook 事件实现 Issue/PR 自动化。

Telegram Bot APIBot API

Bot via Telegram Bot API with inline queries.通过 Telegram Bot API 接入,支持内联查询。

Supported LLM Providers支持的 LLM 提供商

OpenAI Anthropic Gemini Ollama OpenRouter DeepSeek Volcengine
03 / Features03 / 特点

What Makes Quark Agent Different差异化特点

5KB Microkernel5KB 微内核

Smallest possible kernel. Tools, channels, models — all plug-and-play.最小内核。工具、通道、模型——即插即用。

16 Composable Tools16 个可组合工具

7 categories: fs, web, edit, data, memory, multimodal, browser. Mix and match.7 类 16 个工具:文件、网络、编辑、数据、记忆、多模态、浏览器。自由组合。

MoA RoutingMoA 路由

Task complexity detection → auto-routes to fast/medium/powerful models.任务复杂度检测 → 自动路由快/中/强模型。

Sandbox Policy沙盒策略

Shell allowlist/denylist, tool auto-approve, strict/balanced/permissive presets.Shell 白名单/黑名单,工具自动授权,三档预设。

Self-Evolution (GEPA)自进化 (GEPA)

Agent evolves its own prompts through genetic programming.Agent 通过遗传编程自进化 prompt。

A2A ProtocolA2A 协议

Agents discover and talk to each other via Agent-to-Agent protocol.Agent 间通过 A2A 协议发现与通信。

Checkpoint断点续跑

State persistence, auto-save, crash recovery. Resume long-running tasks.状态持久化、自动保存、崩溃恢复。断点续跑长程任务。

Zero Dependency零依赖

All providers use native fetch. No OpenAI SDK, no Anthropic SDK, no axios.所有 Provider 用原生 fetch。零 SDK 依赖。

04 / Benchmark04 / 评测

Benchmark Results评测结果

Evaluated on industry-standard benchmarks — 200 real tasks, real LLM, real tool calls. 业界标准评测——200 道真实任务,真实 LLM,真实工具调用。

0
Overall Pass Rate总通过率
0
GAIA Average均值
0
AgentBench Average均值
BenchmarkTotal总数Pass通过Rate通过率
GAIA L1403997.5%
GAIA L2353394.3%
GAIA L3252184.0%
DB-Bench503876.0%
OS-Interaction302893.3%
Knowledge-Graph201995.0%
89%
Pass通过
GAIA L1 GAIA L2 GAIA L3 DB-Bench OS + KG
05 / Roadmap05 / 路线

Roadmap发展路线

v0.1 Done
5KB kernel + 16 tools + 7 channels5KB 内核 + 16 工具 + 7 通道
The foundational microkernel with all core tools and channel adapters.基础微内核,包含所有核心工具和通道适配器。

v0.2 Done
Benchmark 89% + npx install + plugin marketplace + Discord/Slack评测 89% + npx 安装 + 插件市场 + Discord/Slack
Industry benchmarks hit, one-command install, and new channel integrations.达到业界评测标准,一键安装,新增通道集成。
v0.3 Done
MoA routing + sandbox policy + setup wizard + checkpointMoA 路由 + 沙盒策略 + 配置向导 + 断点续跑
Intelligent model routing, security policies, onboarding wizard, and state persistence.智能模型路由、安全策略、首次配置向导、状态持久化。
v0.4 Soon
npm publish + Computer-use + Browser-use Agentnpm 发布 + Computer-use + Browser-use Agent
Official npm package, computer interaction tool, and browser automation agent.官方 npm 包、计算机交互工具、浏览器自动化 Agent。
v0.5 Soon
Multi-agent orchestration + MCP marketplace多 Agent 编排 + MCP 市场
Agent orchestration layer and Model Context Protocol marketplace.Agent 编排层和 Model Context Protocol 市场。
v1.0 Soon
Production-ready + enterprise features生产就绪 + 企业级特性
Full production readiness with enterprise-grade reliability and features.全面生产就绪,企业级可靠性与特性。
06 / Community06 / 社区

Join the Community加入社区

Quark Agent is built by the community. Every contribution matters. Quark Agent 由社区驱动。每一份贡献都重要。

Code代码

Pick a good-first-issue or submit a PR.认领 good-first-issue 或提交 PR。

Browse Issues浏览 Issue

Skills & Plugins技能与插件

Write a new tool with defineAction or publish a plugin.defineAction 写新工具或发布插件。

Learn More了解更多

Documentation文档

Fix a typo, write a guide, translate a page.修正错字、编写指南、翻译页面。

Contributing Guide贡献指南

Ideas想法

Share use cases, request features, ask questions.分享用例、请求功能、提出问题。

Discussions讨论区
Madapexai/quark-agent

Star us on GitHub在 GitHub 上给我们加星

Help others discover Quark Agent. Every star counts.帮助更多人发现 Quark Agent。每个星标都很重要。

Star on GitHub加星 GitHub