frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Build a coding agent in 500 lines (Pure Python, No Vector DBs)

1•owenthereal•1h ago
I maintain jq (jqlang). I tend to like tools that are simple, composable, and transparent.

Recently, I started exploring AI agents, but got frustrated with the state of the ecosystem. Most tutorials and frameworks (LangChain, AutoGPT, etc.) felt like black boxes that added unnecessary layers of abstraction. Debugging a "ReasoningEngine" when it hallucinated was a nightmare.

I wanted to see if I could build a production-grade coding agent from first principles, using nothing but standard Python libraries.

I turned that experiment into a book: https://buildyourowncodingagent.com

The philosophy is "Zero Magic." We build an agent called "Nanocode" using:

- Pure Python (no frameworks, no SDKs) - requests for the LLM API (Claude/DeepSeek/Ollama) - subprocess for executing code and reading stdout/stderr - No Vector DBs (just simple file search) - A simple while loop for orchestration

The final result is in 500 lines of code. It can read/write files, run tests, fix its own bugs (using the error output), and run entirely locally if you use Ollama.

I've put up sample chapters on the site. I wrote this for engineers who want to understand the architecture of tools like Cursor or Claude Code without the marketing fluff.

Happy to answer any questions about the architecture, the "no-framework" approach, or why I think vector DBs are overkill for coding agents.

Taking AI Doom Seriously for 62 Minutes [video]

https://www.youtube.com/watch?v=Qg5QXY_qZuI
1•surprisetalk•1m ago•0 comments

Protect Human Subjects, Not Bureaucracy

https://ifp.org/protect-human-subjects-not-bureaucracy/
1•surprisetalk•1m ago•0 comments

Kilobyte is precisely 1000 bytes

https://waspdev.com/articles/2026-01-11/kilobyte-is-1000-bytes
1•surprisetalk•1m ago•0 comments

Next.js Sucks; or Why I Wrote My Own SSG

https://pcmaffey.com/custom-ssg/
1•surprisetalk•1m ago•0 comments

Underrated ways to change the world, part II

https://www.experimental-history.com/p/underrated-ways-to-change-the-world-b64
1•disgruntledphd2•3m ago•0 comments

Introducing the new v0

https://vercel.com/blog/introducing-the-new-v0
1•MaxLeiter•4m ago•0 comments

Riva: Local-first observability for AI agents

https://github.com/sarkar-ai/riva
1•sarkarsaurabh27•4m ago•0 comments

ScummVM 2026.1.0 "Like a Version" supports 196 new games

https://www.scummvm.org/news/20260131/
1•homarp•5m ago•0 comments

Rice University (TX) students create map exposing ICE raids across the country

https://www.chron.com/news/houston-texas/article/rice-students-ice-map-21319887.php
1•verdverm•6m ago•1 comments

Cloud gaming is kinda amazing

https://world.hey.com/dhh/cloud-gaming-is-kinda-amazing-b8a19c57
1•tosh•6m ago•0 comments

Using Nsight Compute to profile kernels in vLLM without creating repro scripts

https://blog.ncompass.tech/using-ncu-with-large-codebases-part-2
1•adiraja•7m ago•0 comments

Maiasa: A next-gen, fast, robust, ethical language model (that can only say "a")

https://www.maiasa.ai
1•vvye•9m ago•1 comments

Linear representations in LLMs can change dramatically over a conversation

https://arxiv.org/abs/2601.20834
1•gmays•10m ago•0 comments

AgentPulse: Open-source observability for AI agents(costs+debugging)

1•nanduskaiser•11m ago•0 comments

You Shouldn't Use Google's Chrome "Auto Browse" Agentic AI, or Any Others

https://lauren.vortex.com/2026/02/03/do-not-use-agentic-ai
2•speckx•11m ago•0 comments

Black and Latino youth better than white peers at spot out online disinformation

https://news.ucr.edu/articles/2026/02/02/black-and-latino-teens-show-strong-digital-literacy
1•giuliomagnifico•11m ago•0 comments

DIY Irrigation/Sprinklers at Home

https://v0-rachio-irrigation-setup.vercel.app/
1•deankroker•13m ago•0 comments

I track storage drive prices daily so you know when to buy

https://disk-scout.com/
1•matansfb•13m ago•1 comments

Modern and Antique Technologies Reveal a Dynamic Cosmos

https://www.quantamagazine.org/how-modern-and-antique-technologies-reveal-a-dynamic-cosmos-20260202/
1•Brajeshwar•13m ago•0 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
1•rbanffy•14m ago•0 comments

Science should be machine-readable

https://www.biorxiv.org/content/10.64898/2026.01.30.702911v1
2•sinab•14m ago•1 comments

The 9k-RPM Honda Engine That Shouldn't Have Been Possible

https://www.autoblog.com/news/the-9000-rpm-honda-engine-that-shouldnt-have-been-possible
1•makaimc•14m ago•0 comments

Show HN: PII-Shield – Log Sanitization Sidecar with JSON Integrity (Go, Entropy)

https://github.com/aragossa/pii-shield
1•aragoss•15m ago•1 comments

Nordlys Hypernova: 75.6% on SWE-Bench

https://nordlyslabs.com/blog/hypernova
1•botirk•15m ago•2 comments

France dumps Zoom and Teams as Europe seeks digital autonomy from the US

https://apnews.com/article/europe-digital-sovereignty-big-tech-9f5388b68a0648514cebc8d92f682060
3•AareyBaba•16m ago•0 comments

Language-Related Ideological Divergence in LLM Analysis of Political Documents

https://arxiv.org/abs/2601.12164
1•PaulHoule•18m ago•0 comments

Do Stormwater Retention Ponds Actually Work? Detention vs. Retention

https://practical.engineering/blog/2026/2/3/do-retention-ponds-actually-work
1•crescit_eundo•18m ago•0 comments

National Park Service officials make difficult decision about Alcatraz coyote

https://www.sfgate.com/local/article/sf-coyote-alcatraz-relocation-21327736.php
2•jessiefisher•18m ago•0 comments

Show HN: TrueLedger – a local-first personal finance app with no cloud back end

https://trueledger.satyakommula.com
2•satyakommula•19m ago•0 comments

Why Focus Still Matters in a Distracted World

https://talkflow.substack.com/p/why-focus-still-matters-in-a-distracted
2•moss98•20m ago•1 comments