api-design

Tag

Cards List
#api-design

I put GPT 5.6, Opus 5 and minimax-M3 into the same simulated world to run restaurants. They all fail in the same 3 ways.

Reddit r/AI_Agents · 6d ago

A developer describes running AI agents in a simulated restaurant world and finds that across different models and harnesses, the same three API-related mistakes dominate: guessing nonexistent endpoints, exceeding budgets, and acting on stale IDs. Shows persistent failure patterns despite fixing the system.

0 favorites 0 likes
#api-design

Why I forked rand

Lobsters Hottest · 2026-07-31 Cached

The author explains why they forked Rust's rand crate into urandom, focusing on a smaller API surface, better discoverability, and a sealed Rng trait to simplify custom randomness use.

0 favorites 0 likes
#api-design

What it means for an API to be RESTful

Hacker News Top · 2026-07-30 Cached

This article explains the true meaning of RESTful APIs, emphasizing the importance of HATEOAS and hypermedia as the engine of application state, and argues that most modern APIs only reach Level 2 of the Richardson Maturity Model.

0 favorites 0 likes
#api-design

@alvinsng: https://x.com/alvinsng/status/2077114275412512868

X AI KOLs Following · 2026-07-14 Cached

Alvin Sng explains why their team moved away from using client SDKs for Stripe, WorkOS, and Slack, opting instead to call their REST APIs directly via a centralized wrapper. They argue that SDKs hide critical debugging details, are fragile in production, and encourage anti-patterns that are now more easily avoided with AI-assisted coding.

0 favorites 0 likes
#api-design

Designing APIs for Agents

Hacker News Top · 2026-07-13 Cached

The article argues that designing APIs for AI agents requires different principles than for humans, emphasizing clarity, explicitness, and avoiding defaults, because agents can read entire docs and write extensive code.

0 favorites 0 likes
#api-design

We gave our SaaS an MCP server (~150 tools) — now Claude runs our project management. Lessons learned.

Reddit r/AI_Agents · 2026-07-04

The SaaS company TRCR built an MCP server exposing ~150 tools for AI agents, and shares six key lessons from dogfooding with Claude: agents expose API flaws, tool descriptions matter as product copy, self-contained context is crucial, OAuth 2.1 is worth the pain, combining agents with billing data is powerful, and dogfooding shifts the product roadmap.

0 favorites 0 likes
#api-design

@systemdesignone: API Design Playbook (Giveaway Alert) • Core API fundamentals. • Clean & scalable design principles. • Popular patterns …

X AI KOLs Timeline · 2026-06-18 Cached

Promotional tweet offering a free API Design Playbook for 24 hours, covering fundamentals, clean design, patterns, and practical concepts.

0 favorites 0 likes
#api-design

RFC 10008: The HTTP QUERY Method

Lobsters Hottest · 2026-06-16 Cached

RFC 10008 defines the HTTP QUERY method, a safe and idempotent request method that allows sending a query payload in the request body, bridging the gap between GET and POST for query operations.

0 favorites 0 likes
#api-design

I built a small Healthy Food MCP server, and the main lesson was that agents need boring tool surfaces

Reddit r/AI_Agents · 2026-06-16

The author built a Healthy Food MCP server and learned that agents perform better with many narrow, constrained tools rather than one flexible tool, emphasizing the need for a boring tool surface to reduce LLM hallucination.

0 favorites 0 likes
#api-design

Your Interface Has Two Channels

Lobsters Hottest · 2026-06-11 Cached

The article presents a framework for interface design where every interface has two channels (in-band and out-of-band) for concern signaling, arguing that good design forces users to confront important concerns rather than allowing them to ignore them.

0 favorites 0 likes
#api-design

How do you version public web APIs?

Lobsters Hottest · 2026-05-29 Cached

A discussion on API versioning practices, questioning the coupling of URL paths (e.g., /v1/) with semantic versioning and exploring potential antipatterns.

0 favorites 0 likes
#api-design

A hypothetical redesign of System.Diagnostics.Process to avoid confusion over properties that are valid only when you are the one who called Start

The Old New Thing (Raymond Chen) · 2026-05-25 Cached

A blog post proposing a redesign of the System.Diagnostics.Process class in .NET to separate properties valid only for started processes into a new class, aiming to reduce API confusion.

0 favorites 0 likes
#api-design

If you're just going to sit there doing nothing, at least do nothing correctly

Lobsters Hottest · 2026-05-20 Cached

This article from The Old New Thing explains the concept of making APIs 'inert'—do nothing in a way that avoids breaking existing apps—using examples like printing support on Xbox and retiring widget APIs.

0 favorites 0 likes
#api-design

AEPs: API Enhancement Proposals

Hacker News Top · 2026-05-12 Cached

The AEP Project provides API design specifications and tooling for protobuf and HTTP REST APIs, hosted on GitHub.

0 favorites 0 likes
#api-design

For those having exposed both MCP and CLI, should both tools/commands expose the exact same capabilities?

Reddit r/AI_Agents · 2026-05-09

The author discusses the architectural challenge of designing both MCP and CLI interfaces, weighing the benefits of mirroring capabilities versus leveraging the unique strengths of each (composability for CLI, safety/auditability for MCP).

0 favorites 0 likes
#api-design

Idempotency Is Easy Until the Second Request Is Different

Hacker News Top · 2026-05-07 Cached

The article discusses the complexities of implementing idempotency in APIs, arguing that handling edge cases like concurrent requests and content mismatches is harder than simple replay caching.

0 favorites 0 likes
#api-design

Why not have changes in API behavior depend on the SDK you link against?

The Old New Thing (Raymond Chen) · 2026-05-06 Cached

The article examines the pitfalls of altering API behavior depending on the linked SDK version, using Windows' CoInitializeSecurity as a case study. It discusses issues with DLL version mismatches and tail call optimization that complicate this approach.

0 favorites 0 likes
← Back to home

Submit Feedback