今日已更新 320 条资讯 | 累计 30775 条内容
关于我们

今日精选

HOT

最新资讯

共 30775 篇
第 396/1539 页
AI 资讯 HackerNews

Show HN: Agent in 9 Lines Python

I asked myself: what would a minimal implementation of an agent look like? Something that works out of the box, is a real agent with tool calling, but without 1000s of lines of code, without dozens or hundreds of npm or pypi dependencies. Something with just a few 'essential' features (not a whole kitchen sink that most agent harnesses come with nowadays). An implementation close to pseudocode that you can look at in one page, everything there at a glance, no scrolling. This is the agent.py I en

tosh 2026-07-22 21:52 3 原文