frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Agent-C: a 4KB AI agent

https://github.com/bravenewxyz/agent-c
38•liszper•2h ago

Comments

SequoiaHope•1h ago
> License: Copy me, no licence.

Probably BSD or Apache would be better, as they make it easier for certain organizations to use this. If you want to maximize copying, then a real permissive license is probably marginally better.

MrGilbert•1h ago
CC0 would be in the spirit of what OP envisioned.

https://creativecommons.org/public-domain/cc0/

liszper•1h ago
Updated to CC0!
SequoiaHope•1h ago
That’s great! Really cool project too.
SequoiaHope•1h ago
Ah right good point, I forgot Creative Commons, which I don’t usually use for code.
dheera•1h ago
> make it easier for certain organizations to use this

Maybe those organizations should just use this and not worry about it. If their lawyers are getting in the way of engineers using this, they will fall behind as an organization and that's OK with me, it paves the way for new startups that have less baggage.

SequoiaHope•1h ago
The benefit of not having lawyers is pretty limited. There are larger forces at work that mean the larger an organization grows the more it will be concerned with licenses. The idea that ignoring licenses will allow a company to outcompete one that doesn’t is wishful thinking at best. Moreover, I’m not making a judgment on these practices, I’m just stating a fact.
jstummbillig•1h ago
I suspect the goal is not to make anything easier for any corp
asimovfan•41m ago
then you use GPL.
jstummbillig•13m ago
Doing whatever you want seems fine too?
master-lincoln•1h ago
Better go GPL so organizations using it have to open source any improvements they make
Der_Einzige•17m ago
GPL has never been enforced in court against anyone with serious money. It’s not worth the virtual paper it’s written on.
divan•16m ago
Will WTFPL work too?

https://choosealicense.com/licenses/wtfpl/

JSR_FDED•1h ago
Finally, an AI agent that can run on my toaster
Mashimo•1h ago
As long as the toaster as access to the network!

Jokes asides, except that fun of programming I don't quite get the usecase for this agent.

kiicia•1h ago
Kitchen appliances generally use powerline ethernet, ethernet over power is just simple inversion of power over ethernet already used in certain network appliances.
voidUpdate•1h ago
If I find out my kitchen appliance is trying to communicate to the internet, I will rapidly defenestrate it
memming•1h ago
qwen coder with a simple funky prompt?!

`strcpy(agent.messages[0].content, "You are an AI assistant with Napoleon Dynamite's personality. Say things like 'Gosh!', 'Sweet!', 'Idiot!', and be awkwardly enthusiastic. For multi-step tasks, chain commands with && (e.g., 'echo content > file.py && python3 file.py'). Use execute_command for shell tasks. Answer questions in Napoleon's quirky style.");`

ai-christianson•58m ago
Related, I made an example agent in 44 lines of python that runs entirely offline using mlx accelerated models: https://gist.github.com/ai-christianson/a1052e6db7a97c50bea9...
keyle•57m ago
Love this, old school vibe with a new school trick.

The makefile is harder to comprehend than the source, which is a good omen.

Note: 4KB... BUT calling upon curl, and via popen and not using libcurl...

PS: your domain link has an extra `x`.

sam_lowry_•28m ago
Probably vibe-coded.
Chabsff•4m ago
In this instance, I think "bootstrapped" might be appropriate.
fp64•56m ago
Why do you compress the executable? I mean this is a fun part for size limit competitions and malicious activities (upx often gets flagged as suspicious by a lot of anti virus, or at least it used to), but otherwise I do not see any advantage other than added complexity.

Also interesting that "ultra lightweight" here means no error reporting, barely checking, hardcoding, and magic values. At least using tty color escape codes, but checking if the terminalm supports them probably would have added too much complexity......

adinhitlore•54m ago
Fascinating. tested to compile on cygwin?? Maybe try to implement the logic without llm api? I know i'm asking the quadrillion dollar question but still...you're dealing with C, try to punch "above" your weight with a literal AGI project, i hate apis (well try to avoid them, not always possible).
adinhitlore•48m ago
in addition: do you actually need like...10 files for <500 loc, isn't it confusing to separate low loc into so many files? i once had over 30 000 loc in one c file and, get ready: over 100 000 loc in one c# file. It's very easy to navigate with control plus f. But anyway, given the license/free: it's great!
myflash13•49m ago
Perfect, was looking for something just like this. I downloaded Warp.dev only for this functionality, plus saved launch configurations. But still frustrated with Warp's latency for simple terminal commands, it's sometimes faster to open ChatGPT and ask it "what's the command to do x".

Show HN: Async – Claude Code and Linear and GitHub PRs in One Opinionated Tool

https://github.com/bkdevs/async-server
1•wjsekfghks•29s ago•0 comments

UH astronomers discover the biggest explosion since the Big Bang

https://www.hawaii.edu/news/2025/06/04/biggest-explosion-since-big-bang/
1•debo_•35s ago•0 comments

Show HN: Agent Key – OAuth for AI Agents

https://github.com/kagehq/keys
1•lexokoh•46s ago•0 comments

Wearmouse (Android Wear)

https://github.com/ginkage/wearmouse
1•TrianguloY•2m ago•0 comments

AI era leaders think communications degrees more valuable than computer science

https://fortune.com/2025/08/25/in-age-of-ai-tech-leaders-think-communications-degrees-more-valuab...
1•DocFeind•3m ago•0 comments

Anubis_offload – userscript to offload Anubis PoW to native CPU or GPU code

https://github.com/DavidBuchanan314/anubis_offload
1•diggan•3m ago•1 comments

The McPhee method for writing deeply reported nonfiction

https://jsomers.net/blog/the-mcphee-method
1•jsomers•4m ago•0 comments

Understanding Promise.any(): when one success is enough

https://allthingssmitty.com/2025/08/25/understanding-promise-any-when-one-success-is-enough/
1•AllThingsSmitty•4m ago•0 comments

First 5GW off grid data center

https://www.datacenterdynamics.com/en/news/pacifico-energy-unveils-5gw-offgrid-natural-gas-projec...
1•nikhizzle•5m ago•0 comments

Frequently Asked Questions – Emu68

https://pistorm.github.io/faq/emu68/
1•doener•5m ago•0 comments

Meat and Diary Production

https://ourworldindata.org/meat-production
1•hunglee2•6m ago•0 comments

PiStorm: Open-source Accelerator for your Amiga

https://pistorm.github.io/
1•doener•6m ago•0 comments

Continuing the journey of optimal LLM-assisted coding experience

https://twitter.com/karpathy/status/1959703967694545296
1•tosh•7m ago•0 comments

Cosmopolitan Libc – your build-anywhere run-anywhere C library

https://justine.lol/cosmopolitan/index.html
1•matesz•8m ago•0 comments

Show HN: Open-Source Agentic AI for Company Research

https://github.com/DimiMikadze/Mira
1•DimitriMikadze•10m ago•1 comments

The benefits of being an open-source startup

https://newsletter.posthog.com/p/the-hidden-benefits-of-being-an-open
2•Palmik•13m ago•0 comments

How CATL Made Batteries 90% Cheaper (and What Happens Next) [video]

https://www.youtube.com/watch?v=Wf84NJSiAeU
2•thelastgallon•19m ago•1 comments

Show HN: Multi-hop WireGuard chaining, speed-tested and API-controlled

https://github.com/a904guy/VPN-Chainer
1•a904guy•19m ago•0 comments

Using Gemini CLI as a Subagent for Claude Code

https://aicodingtools.blog/en/claude-code/gemini-cli-as-subagent-of-claude-code
2•milooo•19m ago•1 comments

Teams Grow Organically

https://frederickvanbrabant.com/blog/2025-08-22-how-teams-grow-organically/
1•TheEdonian•21m ago•0 comments

Four journalists among 20 killed in Israeli strike on Gaza hospital

https://www.theguardian.com/world/2025/aug/25/journalists-among-people-killed-by-israeli-strike-o...
1•abdusco•21m ago•1 comments

Albania Seizes Its Moment in the Sun

https://www.nytimes.com/2025/08/25/travel/albania-beach-historic-sites.html
1•elsewhen•21m ago•0 comments

Drones to Deliver Mosquitoes to Prevent Bird Extinctions in Hawai'i

https://www.forbes.com/sites/grrlscientist/2025/06/10/drones-deliver-millions-of-mosquitos-to-pre...
1•speckx•22m ago•0 comments

Daily Azure Shit

https://mastodon.social/@azureshit
1•dimitar•23m ago•0 comments

Mediterranean diet may offset genetic risk of Alzheimer's

https://medicalxpress.com/news/2025-08-mediterranean-diet-offset-genetic-alzheimer.html
1•pseudolus•23m ago•0 comments

Painting the Sky with Drones Is Now an Official Job in China

https://www.sixthtone.com/news/1017524
1•sohkamyung•26m ago•0 comments

How much power does gzip save on IoT web access?

https://bitbanksoftware.blogspot.com/2025/06/how-much-power-does-gzip-save-on-iot.html
1•todsacerdoti•26m ago•0 comments

Why we're falling back in love with retro tech

https://www.theregister.com/2025/08/25/straight_outta_1996_why_were/
1•rntn•27m ago•1 comments

Trump blames renewable energy for electricity prices. Experts point elsewhere

https://apnews.com/article/trump-electricity-prices-wind-solar-7c089e33bf237a218f7ea9fe54ecb019
2•doener•29m ago•0 comments

Well, I Called Bullshit on AI Coding – Here's What 60 Days Taught Me

https://mmwa3650.blogspot.com/2025/08/well-i-called-bullsht-on-ai-coding.html
2•viewer_midoria•30m ago•1 comments