api-design

Tag

Cards List
#api-design

Where do you enforce spend or position limits for an agent that can hit a real API: the prompt, the tool schema, or the account? Notes from watching 10 trading agents on paper money.

Reddit r/AI_Agents ↗ · 9h ago

The author shares observations from a paper-trading arena with 10 AI agents trading fake money, discussing design considerations for enforcing spend or position limits when agents interact with real APIs, highlighting limitations of prompt-based checks and advocating for deterministic account-level controls.

0 favorites 0 likes
#api-design

Three agents reported 100% uptime while their newest signed work record was over three months old

Reddit r/AI_Agents ↗ · 18h ago

An analysis of a public append-only log reveals that agent uptime metrics can be misleading, as they don't correlate with actual activity, and capabilities declarations can change without proper versioning, leading to data integrity issues.

0 favorites 0 likes
#api-design

@yibie: https://x.com/yibie/status/2102913925843161297

X AI KOLs Timeline ↗ · 5d ago Cached

This article provides a detailed guide on using the Jev AI model cost-effectively through batch queries and its stateful billing mechanism, with specific configurations and code examples.

0 favorites 0 likes
#api-design

Arguing about arguments

Lobsters Hottest ↗ · 2026-09-22 Cached

The article discusses the trade-offs of using named parameters and flexible argument styles in programming languages, comparing Rust's simplicity with Ruby's conciseness and expressing skepticism about adopting similar features in Rust.

0 favorites 0 likes
#api-design

@jakevin7: Response API design really blows A➗ out of the water

X AI KOLs Following ↗ · 2026-09-07

The author expresses strong praise for the design of a response API, calling it exceptional.

0 favorites 0 likes
#api-design

@kentcdodds: I know we're all really excited about computer use and how powerful that is, but there's a reason that @OpenAI and othe…

X AI KOLs Following ↗ · 2026-09-03 Cached

Computer use with LLMs is about 45 times more expensive than using structured APIs due to high token costs from screenshots. A hybrid approach is recommended, using structured APIs for most tasks and computer use only when necessary.

0 favorites 0 likes
#api-design

Reducing Graphics API Complexity: A Clean Slate Design for Modern GPUs

Lobsters Hottest ↗ · 2026-08-11 Cached

Sebastian Aaltonen critiques the complexity of modern graphics APIs rooted in legacy hardware abstractions and proposes a clean-slate design using 64-bit GPU pointers and CUDA-like memory management.

0 favorites 0 likes
#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 ↗ · 2026-08-05

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
Next →
← Back to home

Submit Feedback