frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Agent in 50 Lines

https://minimal-agent.com/
3•andai•1h ago

Comments

andai•1h ago
Hi HN. I found this tutorial for making a minimal AI agent and wanted to share it with you.

The gist is that current models don't really need tools, they can just use bash. So you can make an agent in 50 lines of code!

I followed this tutorial today and made my own coding agent in 50 lines. That's kind of blowing my mind.

It's not just a toy though. Turns out you can do real work with just Bash!

I just tested it on a real project, I asked it to fix some bugs in my game. It did just fine. Fixed the TS errors too.

In my version I added the one missing line of code, the outer loop that turns it into an actual interactive agent!

Enjoy

https://gist.github.com/a-n-d-a-i/bd50aaa4bdb15f9a4cc8176ee3...

(I vendored in my tiny llm lib, so it's 150 lines dependency free.)

Narcissism of Small Differences

https://en.wikipedia.org/wiki/Narcissism_of_small_differences
1•gregsadetsky•10s ago•0 comments

Flow type checker being ported to rust

https://github.com/facebook/flow/blob/main/rust_port/rust_port_status.md
1•cod1r•1m ago•0 comments

Show HN: Markdown Editor and Reader for Mac

https://www.kitemarkdown.com/
1•antonynjoro•2m ago•0 comments

Porting Zircon (Fuchsia OS's kernel) C++ code to Rust

https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/skills/cpp-to-rust-coder/SKILL.md
1•s314•3m ago•0 comments

Declank – Remove AI Watermarks from Images

https://declank.skeptrune.com/
1•skeptrune•6m ago•0 comments

Introducing GAPs: GraphQL Auxiliary Proposals

https://graphql.org/blog/2026-06-01-announcing-gaps/
1•markl42•12m ago•0 comments

Show HN: Z2H market awareness OS for traders

https://zero2h.com/preview/hn-preview/
1•pkpie1234•16m ago•0 comments

A Declaration of the Independence of Cyberspace (1996)

https://www.eff.org/cyberspace-independence
1•ipnon•16m ago•0 comments

Substack CEO dismisses popular open letter about platform drift as 'AI slop'

https://substack.com/@cb/note/c-271417569
1•navs•18m ago•0 comments

Show HN: Wifiland – I turned nearby Wi-Fi network names into a live fantasy map

https://wifiland.meaningofdesign.com/
1•meaningofdesign•20m ago•0 comments

Lessons from late founding a tech debt ridden startup(2025)

https://inverted-tree.com/posts/lessons-from-founding-tech-debt-ridden-startup/
1•ioxnav•23m ago•0 comments

How to tame AI's voracious appetite for energy

https://knowablemagazine.org/content/article/technology/2026/lowering-energy-use-artificial-intel...
1•anujbans•33m ago•0 comments

Valve P2P networking broken for more than 2 months

https://github.com/ValveSoftware/GameNetworkingSockets/issues/398
27•babuskov•40m ago•5 comments

Please read my cease and desist and lawsuit case against the FBI

4•susdeepstatefbi•45m ago•2 comments

Made globe hologram experience – includes emergency prediction system

https://global-predict--jordantownsend2.replit.app/hologram
2•Subtextofficial•50m ago•0 comments

Most people across 36 countries have negative views of Israel

https://www.pewresearch.org/short-reads/2026/06/04/most-people-across-36-countries-have-negative-...
4•goldfishgold•55m ago•0 comments

Are Memories Transferable – Or Edible?

https://www.quantamagazine.org/are-memories-transferable-or-edible-20260605/
2•anujbans•55m ago•0 comments

Show HN: Get v2.0

https://github.com/Water-Run/get/releases/tag/v2.0
3•linzhangrun•56m ago•0 comments

The Russian who invented semiconductors 25 years before the USA

https://www.semidoped.com/p/til-the-man-who-invented-the-future
14•johncole•1h ago•3 comments

2ez.sol Its 1999 again Free games. 2ez

https://2ez.sol.site
1•sgspace•1h ago•1 comments

Grid: E2EE Alternative to Life360

https://mygrid.app
1•thebiblelover7•1h ago•1 comments

Field of clones: How horse replicas came to dominate polo

https://knowablemagazine.org/content/article/technology/2026/cloned-polo-horses
28•gscott•1h ago•9 comments

Lego launches 12,060-piece Sagrada Família – its biggest ever set

https://www.cnn.com/2026/06/05/style/lego-sagrada-familia-gaudi-scli-intl
3•giuliomagnifico•1h ago•1 comments

Show HN: LLM for Dummies

https://ronreiter.github.io/llm-for-dummies/
1•ronreiter•1h ago•0 comments

Show HN: TakoVM – Isolated model and tool execution used by enterprises

https://github.com/las7/TakoVM
9•sakuraiben•1h ago•0 comments

The gamers taking on the industry to stop it switching off games

https://www.bbc.com/news/articles/c8e8e7g0r82o
1•breve•1h ago•0 comments

Ukrainian drones target St Petersburg in attack Russia calls 'unprecedented'

https://www.bbc.com/news/articles/cg7498kz808o
4•MilnerRoute•1h ago•1 comments

Show HN: Ext-Infer – Native LLM Inference and Embeddings for PHP

https://infer.displace.tech
1•eamann•1h ago•0 comments

Agent in 50 Lines

https://minimal-agent.com/
3•andai•1h ago•1 comments

The oldest surviving animated feature film at 100

https://www.bbc.com/culture/article/20260603-how-a-26-year-old-german-woman-made-the-worlds-oldes...
2•1659447091•1h ago•1 comments