frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: NanoClaw – “Clawdbot” in 500 lines of TS with Apple container isolation

https://github.com/gavrielc/nanoclaw
106•jimminyx•1h ago
I’ve been running Clawdbot for the last couple weeks and have genuinely found it useful but running it scares the crap out of me.

OpenClaw has 52+ modules and runs agents with near-unlimited permissions in a single Node process. NanoClaw is ~500 lines of core code, agents run in actual Apple containers with filesystem isolation. Each chat gets its own sandboxed context.

This is not a swiss army knife. It’s built to match my exact needs. Fork it and make it yours.

Comments

cyanydeez•1h ago
The singularity, but instead successive exponential improvement, its excessive exponential slop which passes the Turing test for programmers.
aaronbrethorst•1h ago
lol, I might finally have to upgrade my Mac mini to Tahoe. Yofi.
avaer•1h ago

  Quick Start
  git clone https://github.com/anthropics/nanoclaw.git
Is this an official Anthropic project? Because that repo doesn't exist.

Or is this just so hastily thrown together that the Quick Start is a hallucination?

That's not a facetious question, given this project's declared raison d'etre is security and the subtle implication that OpenClaw is an insecure unreviewed pile of slop.

raybb•1h ago
Seems to be fixed now
kklisura•1h ago
Claude hallucinated that repo here in this commit https://github.com/gavrielc/nanoclaw/commit/dbf39a9484d9c66b...
mcintyre1994•1h ago
I like that Claude's hypothesis was that Anthropic created openclaw and this anti-openclaw :)

> This is the anti-[OpenClaw](https://github.com/anthropics/openclaw).

jimminyx•1h ago
Fixed, thanks. Claude Code likes to insert itself and anthropic everywhere.

If it somehow wasn't abundantly clear: this is a vibe coded weekend project by a single developer (me).

It's rough around the edges but it fits my needs (talking with claude code that's mounted on my obsidian vault and easily scheduling cron jobs through whatsapp). And I feel a lot better running this than a +350k LOC project that I can't even begin to wrap my head around how it works.

This is not supposed to be something other people run as is, but hopefully a solid starting point for creating your own custom setup.

thepoet•1h ago
One of the things that makes Clawdbot great is the allow all permissions to do anything. Not sure how those external actions with damaging consequences get sandboxed with this.

Apple containers have been great especially that each of them maps 1:1 to a dedicated lightweight VM. Except for a bug or two that appeared in the early releases, things seem to be working out well. I believe not a lot of projects are leveraging it.

A general code execution sandbox for AI code or otherwise that used Apple containers is https://github.com/instavm/coderunner It can be hooked to Claude code and others.

jckahn•23m ago
> One of the things that makes Clawdbot great is the allow all permissions to do anything.

Is this materially different than giving all files on your system 777 permissions?

treelover•1h ago
Interesting choice to use native Apple Containers over Docker.

I assume this is to keep the footprint minimal on a Mac Mini without the overhead of the Docker VM, but does this limit the agent's ability to run standard Linux tooling? Or are you relying on the AI to just figure out the BSD/macOS equivalents of standard commands?

ohyoutravel•1h ago
omg these ai generated comments are maddening lol
cadamsdotcom•2m ago
If only there were some way to answer your own question. Maybe with some kind of engine that searches.
mark_l_watson•1h ago
I like the idea of a smaller version of OpenClaw.

Minor nitpick, it looks like about 2500 lines of typescript (I am on a mobile device, so my LOC estimate may be off). Also, Apple container looks really interesting.

hebejebelus•1h ago
I think these days if I’m going to be actively promoting code I’ve created (with Claude, no shade for that), I’ll make sure to write the documentation, or at the very least the readme, by hand. The smell of LLM from the docs of any project puts me off even when I like the idea of the project itself, as in this case. It’s hard to describe why - maybe it feels like if you care enough to promote it, you should care to try and actually communicate, person to person, to the human being promoted at. Dunno, just my 2c and maybe just my own preference. I’d rather read a typo-ridden five line readme explaining the problem the code is there to solve for you and me,the humans, not dozens of lines of perfectly penned marketing with just the right number of emoji. We all know how easy it is to write code these days. Maybe use some of that extra time to communicate with the humans. I dunno.

Edit: I see you, making edits to the readme to make it sound more human-written since I commented ;) https://github.com/gavrielc/nanoclaw/commit/40d41542d2f335a0...

iterateoften•54m ago
Project releases with llms have grown to be less about the functionality and more about convincing others to care.

Before the proof of work of code in a repo by default was a signal of a lot of thought going into something. Now this flood of code in these vibe coded projects is by default cheap and borderline meaningless. Not throwing shade or anything at coding assistants. Just the way it goes

101008•49m ago
I agree 100% with you. It's even worse though. They haven't checked if the Readme has hallucinated it or not (spoiler: it has):

https://news.ycombinator.com/item?id=46850317

hebejebelus•41m ago
I don’t want to come off like I’m shitting on the poster here. I’ve definitely made that kind of careless mistake, probably a dozen times this week. And maybe we’re heading to a future where nobody even reads the readme anymore because they won’t be needed because an agent can just conjure one from the source code at will, so maybe it actually straight up doesn’t matter. I’ve just been thinking about what it means to release software nowadays, and I think the window for releasing software for clout and credit is closing, since creating software basically requires a Claude subscription and an idea now, so fewer people are impressed by the thing simply existing, and the standard of care for a project released for that aim (of clout) needs to be higher than it maybe needed to be in the past. But who knows, I’m probably already a dinosaur in today’s world, and I really don’t mean to shit on the OP - it’s a good idea for a project and it makes a lot of sense for it to exist. I just can’t tell if any actual care has gone into it, and if not, why promote?
jimminyx•11m ago
OP here. Appreciate your perspective but I don't really accept the framing, which feels like it's implying that I've been caught out for writing and coding with AI.

I don't make any attempt to hide it. Nearly every commit message says "Co-Authored-By: Claude Opus 4.5". You correctly pointed out that there were some AI smells in the writing, so I removed them, just like I correct typos, and the writing is now better.

I don't care deeply about this code. It's not a masterpiece. It's functional code that is very useful to me. I'm sharing it because I think it can be useful to other people. Not as production code but as a reference or starting point they can use to build (collaboratively with claude code) functional custom software for themselves.

I spent a weekend giving instructions to coding agents to build this. I put time and effort into the architecture, especially in relation to security. I chose to post while it's still rough because I need to close out my work on it for now - can't keep going down this rabbit hole the whole week :) I hope it will be useful to others.

BTW, I know the readme irked you but if you read it I promise it will make a lot more sense where this project is coming from ;)

renewiltord•58m ago
To be honest, when I see many vibecoded apps, I just build my own duplicate with Claude Code. It's not that useful to use someone else's vibecode. The idea is enough, or the evidence that it works for someone else means I can just build it myself with Claude Code and I can make it specific to my needs.
Johnny_Bonk•41m ago
Can you use MCP tools? I saw that with open claw they moved away from that which I personally didn't like but
johntash•23m ago
I somewhat like the idea of not using MCP as much as it is being hyped.

It's certainly helpful for some things, but at the same time - I would rather improved CLI tools get created that can be used by humans and llm tools alike.

dceddia•24m ago
This look nice! I was curious about being allowed to use a Claude Pro/Max subscription vs an API key, since there's been so much buzz about that lately, so I went looking for a solid answer.

Thankfully the official Agent SDK Quickstart guide says that you can: https://platform.claude.com/docs/en/agent-sdk/quickstart

In particular, this bit:

"After installing Claude Code onto your machine, run claude in your terminal and follow the prompts to authenticate. The SDK will use this authentication automatically."

hebejebelus•18m ago
Wow, thanks for posting that, news to me! In this case I don’t understand why there was a whole brouhaha with OpenClaw and the like - I guess they were invoking it without the official SDK? Because this makes it seem like if you have the sub you can build any agentic thing you like and still use your subscription, as long as you can install and login to Claude code on the machine running it.
firloop•17m ago
Was there a brouhaha with OpenClaw or was that with OpenCode?
hebejebelus•15m ago
I think you’re right and it was OpenCode. The semantic collisions are going to becpme more of a problem in the coming Cambrian explosion of software
disillusioned•6m ago
It was with OpenCode, but a LOT of the commentariat is insisting that running OpenClaw through subscription creds instead of API is out of TOS and will get you banhammered.
disillusioned•16m ago
Tons of chatter on Twitter making it sound like you'll get permabanned for doing this but... 1) how would they know if my requests are originating from Claude Code vs. OpenClaw? 2) how are we violating... anything? I'm working within my usage limits...

$70 or whatever to check if there's milk... just use your Claude Max subscription.

zarzavat•5m ago
> how would they know if my requests are originating from Claude Code vs. OpenClaw

How wouldn't they know? Claude Code is proprietary they can put whatever telemetry they want in there.

> how are we violating... anything? I'm working within my usage limits...

It's well known that Claude code is heavily discounted compared to market API rates. The best interpretation of this is that it's a kind of marketing for their API. If you are not using Claude code for what it's intended for, then it's violating at least the spirit of that deal.

jimminyx•4m ago
OP here. Yes! This was a big motivation for me to try and build this. Nervous Anthropic is gonna shut down my account for using Clawdbot.

This project uses the Agents SDK so it should be kosher in regards to terms of service. I couldn't figure out how to get the SDK running inside the containers to properly use the authenticated session from the host machine so I went with a hacky way of injecting the oauth token into the container environment. It still should be above board for TOS but it's the one security flaw that I know about (malicious person in a WhatsApp group with you can prompt inject the agent to share the oauth key).

If anyone can help out with getting the authenticated session to work properly with the agents running in containers it would be much appreciated.

mstank•5m ago
I don’t understand the whole skill vs. feature deal with impactful features like docker support. How do you get it to run the skill unless you can get it running in docker (if you don’t have a Mac)?
popcorncowboy•5m ago
> running it scares the crap out of me

A hundred times this. It's fine until it isn't. And jacking these Claws into shared conversation spaces is quite literally pushing the afterburners to max on simonw's lethal trifecta. A lot of people are going to get burned hard by this. Every blackhat is eyes-on this right now - we're literally giving a drunk robot the keys to everything.

The AI Grand Prix

https://www.dcl-project.com/
2•quadzilla•1m ago•1 comments

SkyNet Project

https://zenodo.org/records/18452356
1•KaoruAK•4m ago•0 comments

Data Structure Alignment

https://en.wikipedia.org/wiki/Data_structure_alignment
1•Brysonbw•4m ago•0 comments

Ask HN: What serious task have you accomplished with Moltbot / OpenClaw?

1•lukol•5m ago•0 comments

I put AoE II sounds in my Claude Code Worktree/Sandbox Manager and it's glorious

https://www.agent-of-empires.com/docs/sounds.html
2•river_otter•8m ago•3 comments

Scaling markets with non-human operators

https://selectfromwhereand.com/musings/scaling_operators/
2•iamsam123•15m ago•1 comments

Show HN: Wikipedia as a doomscrollable social media feed

https://xikipedia.org
3•rebane2001•17m ago•0 comments

Artemis II: A Step Towards Permanent Human Activity Beyond Low Earth Orbit

https://www.realcleardefense.com/articles/2026/01/31/artemis_ii_a_step_towards_permanent_human_ac...
1•Gaishan•19m ago•0 comments

Oracle to Raise Up to $50B This Year for Cloud Investment

https://www.bloomberg.com/news/articles/2026-02-01/oracle-to-raise-up-to-50-billion-this-year-for...
2•zerosizedweasle•21m ago•2 comments

The Physics of Glitches: Analyzing 'The Backrooms' as a Systems Failure

https://misssandwich.substack.com/p/the-yellow-perversion-of-the-real-eed
1•misssandwich•21m ago•1 comments

We built an AI sysadmin that works (and won't delete /usr)

https://github.com/goshops-com/opsagent
2•sjcotto•28m ago•1 comments

Time Machine-style Backups with rsync (2018)

https://samuelhewitt.com/blog/2018-06-05-time-machine-style-backups-with-rsync
2•accrual•30m ago•0 comments

VoidLink: The Cloud-Native Malware Framework Weaponizing Linux Infrastructure

https://blog.checkpoint.com/research/voidlink-the-cloud-native-malware-framework-weaponizing-linu...
1•PaulHoule•32m ago•0 comments

Testing your fit for policy careers (2024)

https://emergingtechpolicy.org/essentials/policy-fit-testing/
2•jstrieb•32m ago•0 comments

It's All About the Pixel Economy

https://cvalenzuelab.com/pixel-economy
1•nsm•32m ago•0 comments

Before ChatGPT-HW debate there were other "If students use X to do HW" debates

https://blog.computationalcomplexity.org/2026/02/before-chatgpt-hw-debate-there-were.html
1•zdw•33m ago•0 comments

Selfhosted Bible PWA

https://mobilebible.net/
2•PaxSubChristo•34m ago•3 comments

Otava: Change Detection for Continuous Performance Engineering

https://github.com/apache/otava
1•tanelpoder•34m ago•0 comments

History and Timeline of the Proco Rat Pedal (2021)

https://web.archive.org/web/20211030011207/https://thejhsshow.com/articles/history-and-timeline-o...
2•brudgers•36m ago•1 comments

Show HN: I made a voice cloning Discord bot

https://copykitten.gg/
1•TheSaltySeaCow•38m ago•0 comments

Two kinds of AI users are emerging. The gap between them is astonishing

https://martinalderson.com/posts/two-kinds-of-ai-users-are-emerging/
2•martinald•44m ago•0 comments

How One Line of Python Triggers 12,000 Lines of Code [video]

https://www.youtube.com/watch?v=5B6W2OGfxq0
2•thunderbong•55m ago•0 comments

Show HN: Cut Your Pinecone Bill by 50% (Open Source Cost Auditor)

https://github.com/billycph/VectorDBCostSavingInspector
1•billycph•55m ago•0 comments

Aliasing and the Heisenberg Uncertainty Principle

http://blog.sigfpe.com/2013/01/aliasing-and-heisenberg-uncertainty.html
2•wtrm•56m ago•0 comments

Automatic Epstein file downloader [video]

https://www.youtube.com/watch?v=D0TX1zGOO9U
5•xecaz•58m ago•2 comments

Your Deepest Value Is Adaption

https://www.overcomingbias.com/p/your-deepest-value-is-adaption
1•jger15•1h ago•0 comments

Kanjideck: The full walkthrough from zero to launch

https://alt-romes.github.io/posts/2026-01-30-from-side-project-to-kickstarter-a-walkthrough.html
5•romes•1h ago•0 comments

A heterogeneous population code at the first synapse of vision

https://www.nature.com/articles/s41467-026-68757-x
2•bookofjoe•1h ago•0 comments

Show HN: Dungeon-1, a Zork-style text adventure built with constrained LLMs

https://dungeonminusone.com/login.html
1•jwproj•1h ago•0 comments

Zombie (Album, 1976)

https://en.wikipedia.org/wiki/Zombie_(album)
2•defrost•1h ago•0 comments