frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: LLMs suck at writing integration code… for now

https://github.com/superglue-ai/superglue/tree/main/packages/core/eval/api-ranking
19•sfaist•1d ago
Hi HN! Stefan here from superglue and today I’d like to share a new benchmark we’ve just open sourced: an Agent-API Benchmark, in which we test how well LLMs handle APIs.

We gave LLMs API documentation and asked them to write code that makes actual API calls. Things like "create a Stripe customer" or "send a Slack message". We're not testing if they can use SDKs; we're testing if they can write raw HTTP requests (with proper auth, headers, body formatting) that actually work when executed against real API endpoints and can extract relevant information from that response.

tl:dr: LLMs suck at writing code to use APIs.

We ran 630 integration tests across 21 common APIs (Stripe, Slack, GitHub, etc.) using 6 different LLMs. Here are our key findings:

- Best general LLM: 68% success rate. That's 1 in 3 API calls failing, which most would agree isn’t viable in production

- Our integration layer scored a 91% success rate, showing us that just throwing bigger/better LLMs at the problem won't solve it.

- Only 6 out of 21 APIs worked 100% of the time, every other API had failures.

- Anthropic’s models are significantly better at building API integrations than other providers.

Here is the results chart: https://superglue.ai/files/performance.png

What made LLMs fail:

- Lack of context (LLMs are just not great at understanding what API endpoints exist and what they do, even if you give them documentation which we did)

- Multi-step workflows (chaining API calls)

- Complex API design: APIs like Square, PostHog, Asana (Forcing project selection among other things trips llms over)

We've open-sourced the benchmark so you can test any API and see where it ranks: https://github.com/superglue-ai/superglue/tree/main/packages...

Check out the repo, consider giving it a star, or see the full ranking at https://superglue.ai/api-ranking/.

If you're building agents that need reliable API access, we'd love to hear your approach, or you can try our integration layer at superglue.ai.

Next up: benchmarking MCP.

Comments

adinagoerres•1d ago
Hey HN, I'm Adina, Stefan's co-founder at superglue. When we started working on LLM-powered integrations about a year ago, the models were barely good enough to handle simple mappings. We started benchmarking our performance as an internal evals project and thought it would be fun to open source it, to create more transparency around LLM performance. Our goal here is to understand how we can make agents production-ready and improve reliability across the board.
hoerzu•1d ago
Love the benchmarks. Is better to use single LLM for performance or would always advise to add a self reflection step
adinagoerres•1d ago
self-reflection is very important for both humans and LLMs, indeed
hoerzu•1d ago
What's the hello world of super glue?
ForzaAaRon•1d ago
Fascinating read. Interesting how opus performs worse compared to sonnet
sfaist•1d ago
Quite interesting actually. not sure why, I assume it just overthinks. What suprised me even more is how bad o4-mini performed, after taking up hours of evaluation time and more credits than all other llms combined. More thinking != better (integration) coding performance
iamflimflam1•1d ago
I would expect most developers to fail at this challenge. Here’s the doc - you’ve got one chance to get the API to do this.

I can’t tell from the description if the LLMs are allowed to try and then correct based on any errors received.

Though it would be surprising if that helped. Most APIs don’t tell you what you’ve done wrong…

sfaist•1d ago
We would've assumed that the llms are much better at writing working code since it's not random APIs but rather established API patterns which they should be able to one-shot (e.g. Stripe). Bad error messages are a problem indeed. We will release another one with retries very soon.
danmeier•1d ago
very interesting! curious to see the benchmarks for MCP!
ThomasMin•1d ago
Awesome work Stefan, this is super insightful! Really appreciate the transparency and open-sourcing the benchmark. The 68% success rate is a wake-up call for anyone building with LLMs. Your 91% integration layer result is impressive, shows tooling matters. Excited to see what you uncover next with MCP!
maxprokopp•23h ago
Exciting benchmarks, great work Adina and Stefan!
hande-k•16h ago
Really appreciate you sharing this. What I am trying to use is gpt o3, so would be curious to see it in the benchmarks. Still seeing the raw traces tells me the tooling is starting to cross the “actually usable” line and makes me want to try on my examples this weekend. Looking forward to the MCP benchmark as well.
mutant•11h ago
Thanks for the self host option. I tried the slack example and was very impressed with results, thank you!

Show HN: Price Per Token – LLM API Pricing Data

https://pricepertoken.com/
278•alexellman•11h ago•117 comments

Show HN: StackSafe, Taming Recursion in Rust Without Stack Overflow

https://fast.github.io/blog/stacksafe-taming-recursion-in-rust-without-stack-overflow/
2•tison•16m ago•0 comments

Show HN: Apple Health MCP Server

https://github.com/neiltron/apple-health-mcp
146•_neil•2d ago•33 comments

Show HN: The Montana MiniComputer

https://mtmc.cs.montana.edu/
93•recursivedoubts•10h ago•21 comments

Show HN: LogMerge – View multiple log files in a merged view

https://github.com/faisal-shah/pylogmerge
3•faisalhackshah•1h ago•0 comments

Show HN: Baag – Easily run multiple AI coding agents on the same project

https://github.com/pranav7/baag
2•pranav7•14m ago•1 comments

Show HN: A macOS clock that stays visible when coding or binging in fullscreen

https://cornertime.app/en
44•muvich3n•8h ago•33 comments

Show HN: Nia – MCP server that gives more docs and repos to coding agents

https://www.trynia.ai/
77•jellyotsiro•1d ago•64 comments

Show HN: Tsbro – TypeScript for the browser, no build step

https://github.com/stagas/tsbro
33•stagas•4d ago•26 comments

Show HN: BlackMagic-JS – Automatic dark mode framework that just works

https://github.com/LucAngevare/BlackMagic-js
2•LucAngevare•6h ago•0 comments

Show HN: Autark – A self-contained build system for C/C++

https://autark.dev
3•adamansky•7h ago•0 comments

Show HN: I built a CSV/XLSX editor that uses JavaScript to manipulate data (OSS)

https://www.fileglance.info
2•crossing•7h ago•0 comments

Show HN: Metaessen 2.10 – Manage resources for practical use

https://metaessen.com/
3•lilerjee•8h ago•2 comments

Show HN: Configurable parser from binary message to JSON (and viceversa)

https://gitubo.github.io/bixit/
2•maxmosca•8h ago•0 comments

Show HN: Total Premium Paid on Meme Stocks Calculator

https://wastedonmemes.com/
2•goinggetthem•8h ago•0 comments

Show HN: Narev – Open-Source FinOps for AI and Cloud Spend

https://github.com/narevai/narev
3•osquar•9h ago•2 comments

Show HN: StackDAG: Build and share application stacks as DAGs

https://stackdag.pages.dev/
2•JavRedstone•9h ago•0 comments

Show HN: Easy Python Time Parsing

https://github.com/felixnext/python-time-helper
21•felixnext•4d ago•2 comments

Show HN: A code editor that integrates into the browser

https://tachicode.dev/
41•quintu5•1d ago•8 comments

Show HN: The missing link of a bookstore's tech stack

https://bookhead.net/
93•greenie_beans•2d ago•26 comments

Show HN: TheProtector – Linux Bash script for the paranoid admin on a budget

https://github.com/IHATEGIVINGAUSERNAME/theProtector
161•lotussmellsbad•2d ago•35 comments

Show HN: Tinder but it's only pictures of my wife and I can only swipe right

https://trytender.app/
989•risquer•2d ago•260 comments

Show HN: Compass CNC – Open-source handheld CNC router

https://www.compassrouter.com
172•camchaney•6d ago•44 comments

Show HN: I built a biological network visualization tool

https://nodes.bio
3•jmg421•12h ago•0 comments

Show HN: A word of the day that doesn't suck

80•jsomers•3d ago•32 comments

Show HN: Phind.design – Image editor & design tool powered by 4o / custom models

https://phind.design
88•rushingcreek•3d ago•22 comments

Show HN: MCP server for up-to-date Zig standard library documentation

https://github.com/zig-wasm/zig-mcp
26•afirium•4d ago•9 comments

Show HN: The Magic of Code – book about the wonders and weirdness of computation

https://themagicofcode.com/sample/
109•arbesman•3d ago•29 comments

Show HN: Self-updating MCP server for official pip, uv, poetry and conda docs

https://github.com/KemingHe/python-dependency-manager-companion-mcp-server
29•keminghe•2d ago•18 comments

Show HN: Local Email Client for AI Horseless Carriages

https://github.com/dbish/DispatchMail
14•shahahmed•1d ago•6 comments