frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: PlanckClaw an AI agent in 6832 bytes of x86-64 assembly

https://github.com/frntn/planckclaw
4•frntn•1h ago
I built an AI agent that fits in 6,832 bytes. The entire runtime (binary, bridges, tools, config) is ~23 KB.

PlanckClaw is written in x86-64 assembly (obviously AI assisted code generation for this one) and uses only 7 Linux syscalls. No libc, no allocator, no runtime. The binary is a pure router: it reads messages from named pipes, asks another pipe what tools exist, builds a JSON prompt, writes it to a third pipe, parses the response, dispatches tool calls, and relays the answer. It never touches the network or executes tools directly.

Everything else composes around it in shell scripts (~460 lines total): - bridge_brain.sh: curls the Anthropic API (~90 lines) - bridge_discord.sh: Discord Gateway via WebSocket (~180 lines) - bridge_cli.sh: terminal interface (~40 lines) - bridge_claw.sh: tool discovery and dispatch (~50 lines)

Four processes, six named FIFOs, zero shared state. Adding a tool means dropping a shell script in claws/. No restart, no recompilation, no config change.

It does real things: tool use (via Claude's tool_use protocol), persistent conversation history in append-only JSONL, automatic memory compaction when history grows too long, and a swappable personality file (soul.md).

This started as a thought experiment: modern agent frameworks pull 400+ transitive dependencies and ship 100+ MB runtimes before generating a single token. I stumbled upon multiple minimalist initiatives like picoclaw, nanoclaw or zeroclaw. I wanted to find the minimum viable agent (the Planck length of AI agents) and see what you could build with just pipes and syscalls.

It's not production software. Buffers are fixed-size (messages > 4 KB get truncated), it only runs on Linux x86-64, and error handling is basic. But it works perfectly and the entire codebase (~2,800 lines including the assembly) is easily auditable.

The wire-level protocol specs for all three extension points (interact, brain, claw) are documented in PROTOCOL.md if you want to write your own bridge.

Comments

skwuwu•1h ago
7kb binary file that runs agent is impressive but i guess it would be very hard to define FSM and implement pipeline manually. is it necessary to separate agent atomically with this hardness?

Node.js worker threads are problematic, but they work great for us

https://www.inngest.com/blog/node-worker-threads
1•goodoldneon•1m ago•0 comments

Show HN: BulkHead – iOS File Manager for SFTP, SMB, WebDAV, and S3

https://www.oddinks.com/bulkhead/
1•xydac•1m ago•0 comments

Tokens Are Not Securities

https://www.bloomberg.com/opinion/newsletters/2026-03-18/tokens-are-not-securities
1•toomuchtodo•2m ago•0 comments

Intel enables Precompiled Shader Delivery in new driver

https://videocardz.com/newz/intel-enables-precompiled-shader-selivery-on-arc-b-series-and-core-ul...
1•davikr•2m ago•0 comments

Comprehension Debt

https://addyosmani.com/blog/comprehension-debt/
1•ragall•3m ago•0 comments

Three More Jury Notes in Social Media Trial Focus on YouTube Witness, Father

https://www.law.com/2026/03/17/two-more-jury-notes-in-social-media-addiction-trial-focus-on-youtu...
1•1vuio0pswjnm7•3m ago•0 comments

The problem is not generating code. It is trusting the change

https://ferrify.uk/
1•gh7941•4m ago•0 comments

Show HN: Trickle – See PyTorch tensor shapes inline in VSCode as you code

https://github.com/yiheinchai/trickle
2•chaiyihein•5m ago•0 comments

Xiaomi MiMo-V2-Omni: See, Hear, Act in the Agentic Era

https://mimo.xiaomi.com/mimo-v2-omni
1•gainsurier•6m ago•0 comments

GitHub and Claude Are Down Three Out of Four Days

https://www.aakash.io/tech-chase/github-and-claude-are-down-three-out-of-four-days
1•ahstilde•6m ago•0 comments

Recovery of the first fiber-optic submarine cable across an ocean – TAT-8

https://www.submarinenetworks.com/en/nv/insights/recovery-of-the-world-s-first-fiber-optic-submar...
2•marklit•8m ago•0 comments

How to write yourself every day

https://psyche.co/guides/how-to-write-yourself-every-day
1•herbertl•8m ago•0 comments

JupyterLab 4 Extensions

https://blog.jupyter.org/700-jupyterlab-4-extensions-8ac295b3d974
2•ktaletsk•8m ago•0 comments

What's Behind 'Alpine Divorce'?

https://www.theguardian.com/lifeandstyle/ng-interactive/2026/mar/17/alpine-divorce-abandoned-hiki...
1•Tomte•9m ago•0 comments

Show HN: Motif - Analyze your Cursor and Claude Code chat history

https://github.com/Bulugulu/motif-cli
1•Bulugulu•9m ago•0 comments

Agentic review of Linux Kernel code changes

https://github.com/sashiko-dev/sashiko
1•l2dy•10m ago•0 comments

Show HN: The-telegram-telegram (thermal printer style)

https://github.com/rscircus/the-telegram-telegram
1•eigenlab•10m ago•0 comments

The Benefits of Conforming

https://beyondloom.com/blog/conforming.html
1•tosh•12m ago•2 comments

Show HN: Packet28 – Context Layer for AI coding agents

https://packet28.dev
3•usharma123•12m ago•0 comments

Ask HN: How do you distinguish prompt issues from model failures in LLMs today

2•se4u•13m ago•0 comments

Lifeguard: A fast Rust-based static analysis tool, for Python lazy imports

https://github.com/facebook/Lifeguard
1•phpencil•14m ago•0 comments

AWS spurs Catch-22, ending PostgreSQL 13 support for RDS

https://www.theregister.com/2026/03/17/aws_ends_support_postgresql_13_rds/
1•arusahni•14m ago•0 comments

EU Inc.: incorporate in any EU country in 48 hours with no minimum capital

https://twitter.com/EU_Commission/status/2034231737161588800
2•bpierre•15m ago•1 comments

Population Around a Point

https://www.tomforth.co.uk/circlepopulations/
1•bookofjoe•15m ago•0 comments

Xiaomi MiMo-V2-Pro: Flagship Foundation Model Towards Agent Era

https://mimo.xiaomi.com/mimo-v2-pro
2•gainsurier•16m ago•0 comments

Construct's official 3D model object

https://www.construct.net/en/blogs/construct-official-blog-1/introducing-constructs-1900
1•AshleysBrain•16m ago•0 comments

Preventing and Debugging Memory Leaks in Node.js

https://betterstack.com/community/guides/scaling-nodejs/high-performance-nodejs/nodejs-memory-leaks/
1•eustoria•16m ago•0 comments

Optimization lessons from a Minecraft structure locator

https://purplesyringa.moe/blog/optimization-lessons-from-a-minecraft-structure-locator/
1•gavide•18m ago•0 comments

Coastline – detect resonance between ideas, fed by your OpenClaw agent

https://coastline-production.up.railway.app/
1•pb_lightmind•18m ago•1 comments

Your ChatGPT Conversations Aren't as Private as You Think

https://stellarraccoon.com/your-chatgpt-conversations-arent-as-private-as-you-think-heres-whats-b...
1•eustoria•18m ago•0 comments