{"slug": "show-hn-i-built-a-coding-agent-to-learn-harness-engineering", "title": "Show HN: I built a coding agent to learn Harness Engineering", "summary": "Annanay, a staff software engineer, open-sourced Agni, a desktop coding agent built to explore coding-agent internals and harness engineering, on GitHub at getagni/agni. In an early October 2026 benchmark, Agni running the open-weights GLM5.2 model scored about 70% on SWE-bench Verified at roughly $0.33 per task, versus about 75% at roughly $0.55 per task for mini-SWE-agent 2.0.0 with Claude Opus 4.6. Annanay invited contributors to pick up open issues to learn how such harnesses work.", "body_md": "Hi HN!\n\nI'm Annanay, a staff swe by day, and building fun OSS tools by night :)\n\nI wanted to learn the internals of a coding agent, all the design decisions and tradeoffs they make and so I built Agni ([https://github.com/getagni/agni](https://github.com/getagni/agni)), and I made it open source today!\n\nAgni works with one of the many open weights models and is packaged into a beautiful desktop app!\n\nFrom an early benchmark in Oct 2026, Agni with GLM5.2 scores ~70% on SWE bench verified (at about $0.33 per task), while mini-SWE-agent 2.0.0 with Claude Opus 4.6 scores ~75% (at about $0.55 per task). So Agni works :)\n\nIf you also want to learn how these harnesses, feel free to pick one of the issues and contribute!\n\nComments URL: [https://news.ycombinator.com/item?id=50746752](https://news.ycombinator.com/item?id=50746752)\n\nPoints: 2\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-i-built-a-coding-agent-to-learn-harness-engineering", "canonical_source": "https://github.com/getagni/agni", "published_at": "2026-12-03 15:01:30+00:00", "updated_at": "2026-12-03 15:18:26.665571+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "large-language-models", "developer-tools"], "entities": ["Annanay", "Agni", "GLM5.2", "mini-SWE-agent 2.0.0", "Claude Opus 4.6", "SWE-bench Verified", "GitHub"], "also_reported_by": [], "takeaway": "Agni with open-weights GLM5.2 scored about 70% on SWE-bench Verified at roughly $0.33 per task, versus about 75% at roughly $0.55 per task for mini-SWE-agent 2.0.0 with Claude Opus 4.6.", "recommendation": {"advice": "Benchmark your coding agent on SWE-bench Verified with per-task cost tracked alongside pass rate, as Agni did to compare GLM5.2 at $0.33 against mini-SWE-agent 2.0.0 with Claude Opus 4.6 at $0.55.", "playbook": "coding-agents", "playbook_url": "https://wpnews.pro/playbooks/coding-agents"}, "alternates": {"html": "https://wpnews.pro/news/show-hn-i-built-a-coding-agent-to-learn-harness-engineering", "markdown": "https://wpnews.pro/news/show-hn-i-built-a-coding-agent-to-learn-harness-engineering.md", "text": "https://wpnews.pro/news/show-hn-i-built-a-coding-agent-to-learn-harness-engineering.txt", "jsonld": "https://wpnews.pro/news/show-hn-i-built-a-coding-agent-to-learn-harness-engineering.jsonld"}}