跳到正文
原文
Hacker News · agent 关键词· logxroot·· 2026-10-08精选AI 评分56

开发者发布 agentc:小于 1MB 的无 libc 可嵌入 C 语言智能体

Show HN: agentc: <1mb static/no-libc, minimal, embeddable agent with Rust/C API

AI 导读

开发者发布 agentc,一个用 C 编写的极简可嵌入编码智能体,无 libc 依赖、体积小于 1MB,启动内存占用低于 1MB,日常使用 RSS 稳定在几 MB 以内。

推荐理由

作者说明了它与常见依赖 Node 的智能体的差异,可了解嵌入式场景下的取舍思路。

正文 · 原文

Sharing an agent that I built since most of the agents that's nice to work with, take hefty deps like node or is provider dependent.

It's heavily inspired by the wonderful pi agent - and builds on it as something that you can run on tiny hardware or embed easily in your own binaries without needing it's hefty dependency chain.

An agent doesn't really need much - a minimal networking stack, a TUI and an agent loop. Then comes tools, mcp, skills and prompts.

agentc does exactly that - a minimal, static, embeddable coding agent in C - no libc, less than 1MB, starts up using <1MB of RAM, and RSS comfortably sits under a few MBs during usage. It's extensible and everything including status, mcp, tools is architected as an extension.

The embeddable part is by design, but exposing it as an API is still a pending plan and should be done in a few days.

Also: would love some human testing on a Mac! CI builds for: linux - x64, arm64, risv64; win - x64, arm64 and darwin - arm64.

来源:Hacker News · agent 关键词 · news.ycombinator.com