The 5KB Agent Kernel That Composes Everything 5KB 微内核,组合一切
npx github:Madapexai/quark-agent setup
A layered onion architecture — from a 5KB core to pluggable channels and protocols. 洋葱式分层架构——从 5KB 内核到可插拔的通道和协议。
Agent + Provider + Memory + Sandbox — the minimal runtime that makes everything else a plugin.Agent + Provider + Memory + Sandbox——让其他一切成为插件的最小运行时。
7 categories: fs, web, edit, data, memory, multimodal, browser. Each a defineAction — mix and match freely.7 类:文件、网络、编辑、数据、记忆、多模态、浏览器。每个都是 defineAction——自由组合。
CLI, HTTP/SSE, Discord, Slack, Feishu, GitHub, Telegram — one agent, every interface.CLI、HTTP/SSE、Discord、Slack、飞书、GitHub、Telegram——一个 Agent,所有界面。
MoA routing, A2A agent-to-agent, GEPA self-evolution, MCP marketplace — extend without limits.MoA 路由、A2A Agent 间通信、GEPA 自进化、MCP 市场——无限扩展。
Deploy once, reach everywhere. Every channel auto-inherits all tools and models. 部署一次,触达所有平台。每个通道自动继承所有工具和模型。
Interactive command-line chat with streaming output.交互式命令行对话,流式输出。
REST API with server-sent events streaming.REST API,支持 SSE 流式响应。
Bot via Gateway WebSocket with slash commands.通过 Gateway WebSocket 接入,支持斜杠命令。
Events API with HMAC verification and bolt framework.Events API + HMAC 验证 + Bolt 框架集成。
Enterprise IM integration with event subscription.企业即时通讯集成,支持事件订阅。
Issue and PR automation via webhook events.通过 Webhook 事件实现 Issue/PR 自动化。
Bot via Telegram Bot API with inline queries.通过 Telegram Bot API 接入,支持内联查询。
Smallest possible kernel. Tools, channels, models — all plug-and-play.最小内核。工具、通道、模型——即插即用。
7 categories: fs, web, edit, data, memory, multimodal, browser. Mix and match.7 类 16 个工具:文件、网络、编辑、数据、记忆、多模态、浏览器。自由组合。
Task complexity detection → auto-routes to fast/medium/powerful models.任务复杂度检测 → 自动路由快/中/强模型。
Shell allowlist/denylist, tool auto-approve, strict/balanced/permissive presets.Shell 白名单/黑名单,工具自动授权,三档预设。
Agent evolves its own prompts through genetic programming.Agent 通过遗传编程自进化 prompt。
Agents discover and talk to each other via Agent-to-Agent protocol.Agent 间通过 A2A 协议发现与通信。
State persistence, auto-save, crash recovery. Resume long-running tasks.状态持久化、自动保存、崩溃恢复。断点续跑长程任务。
All providers use native fetch. No OpenAI SDK, no Anthropic SDK, no axios.所有 Provider 用原生 fetch。零 SDK 依赖。
Evaluated on industry-standard benchmarks — 200 real tasks, real LLM, real tool calls. 业界标准评测——200 道真实任务,真实 LLM,真实工具调用。
| Benchmark | Total总数 | Pass通过 | Rate通过率 | |
|---|---|---|---|---|
| GAIA L1 | 40 | 39 | 97.5% | |
| GAIA L2 | 35 | 33 | 94.3% | |
| GAIA L3 | 25 | 21 | 84.0% | |
| DB-Bench | 50 | 38 | 76.0% | |
| OS-Interaction | 30 | 28 | 93.3% | |
| Knowledge-Graph | 20 | 19 | 95.0% |
Quark Agent is built by the community. Every contribution matters. Quark Agent 由社区驱动。每一份贡献都重要。
Write a new tool with defineAction or publish a plugin.用 defineAction 写新工具或发布插件。
Help others discover Quark Agent. Every star counts.帮助更多人发现 Quark Agent。每个星标都很重要。
Star on GitHub加星 GitHub