← All concepts

api design patterns

58 articles · 15 co-occurring · 5 contradictions · 50 briefs

Learn about MCP's transport-agnostic communication system and the message types used between clients and servers" — MCP demonstrates a concrete implementation of transport abstraction in API design, s

@petergyang: I went to Google I/O earlier this week and want to share my thought about wha...

[STRONG] "gemini cli is being deprecated, use antigravity cli. no the flash model is smarter than the pro model" — Article criticizes API inconsistency through deprecation cycles (Gemini CLI → Antigravity CLI) and unclear versioning, showing poor API design patterns

@haider1: google has the model quality, but it lacks the developer experience

[INFERRED] "google has the model quality, but it lacks the developer experience" — Article directly critiques Google's developer experience as a gap despite strong models

@unclebobmartin: I'm trying to get Claude to make some high level design decisions. It keeps ...

[INFERRED] "I'm trying to get Claude to make some high level design decisions" — User expects Claude to handle high-level design decisions, but Claude demonstrates resistance or inability to do so autonomously

Even the best developer tools mostly still don't let you sign up for an account...

[STRONG] "Even the best developer tools mostly still don't let you sign up for an account via API." — Article directly argues that current API design is inadequate for account management, contradicting the assumption that mature APIs include all necessary functions.

Claude Code flaws expose new risks in AI dev tools

[STRONG] "malicious repos run code and grab API keys before developers confirm a project is trusted" — Article demonstrates critical vulnerability where AI dev tool (Claude Code) fails to prevent API key theft through malicious repository execution, directly challenging the security assumptions of AI-assisted development workflows

2026-W22
57
2026-W21
387
2026-W20
364
2026-W19
255
2026-W18
337
2026-W17
290
2026-W16
262
2026-W15
235
2026-W14
2

Learn about MCP's transport-agnostic communication system and the message types used between clients and servers" — MCP demonstrates a concrete implementation of transport abstraction in API design, s

MCP is essentially a universal adapter between AI applications and external tools or data sources. It defines a common protocol (built on JSON-RPC 2.0) that lets an AI assistant invoke functions, fetc

It streamlines the configuration of transport protocols such as HTTP and stdio, handles environment variable expansion for secure credential management" — MCP's transport protocol design (HTTP, stdio)

MCP Client: In a nutshell, it handles 1:1 communication with MCP Servers. MCP Host: This is basically an app you use to interact with an LLM." — MCP establishes a clear separation of concerns with dis

MCP solves this problem by providing an open-source protocol that streamlines how AI models interact with external services. Instead of bespoke integrations, MCP acts as a standardized bridge" — MCP e

AGENTS.md → 告诉 AI 如何构建, DESIGN.md → 告诉 AI 应该长什么样" — Article uses markdown specification files as explicit inputs to guide AI generation, demonstrating specification-driven code generation.

The Protocol (The Language): A standardized JSON-RPC format. It's how the client says, 'Hey, I see you have a tool called query_db. Please run it with this SQL argument.'" — Concrete example of JSON-R

With minimal effort, essentially any web service or database with an existing API can be included in the LLM-assisted research process using MCPs." — The article introduces MCP as a new pattern for AP

The protocol uses JSON-RPC 2.0 with bidirectional communication over SSE (Server-Sent Events) or stdio. That means servers can push data to clients proactively, not just respond to requests." — Articl

扩展在后台被动学习 App 的 API" — Neo v2 introduces passive background learning of app APIs, extending agent capability from UI automation to direct API invocation.

malicious repos run code and grab API keys before developers confirm a project is trusted" — Article demonstrates critical vulnerability where AI dev tool (Claude Code) fails to prevent API key theft

Every CAPTCHA, every OAuth consent screen, every "click here to verify" is a wall that agents can't get past." — Identifies new design constraint for APIs: removing synchronous human-in-the-loop barri

Think of it as a JSON-RPC interface for AI: the model acts as the client, and the enterprise's tools and data systems act as MCP servers" — Article applies classic client-server API design patterns (J

MCP is an open standard that's transforming how developers integrate AI capabilities into their applications, enabling developers to connect once, integrate anywhere" — MCP exemplifies a standardized

MCP is to AI what USB was to hardware: a universal connector that replaces a tangle of proprietary cables with a single standard. Rather than creating unique integrations for each AI tool, you can sim

With MCP, you build one server. One. It speaks a universal protocol that any AI client understands — Claude Desktop, Cursor, Windsurf, ChatGPT (OpenAI announced MCP support), VS Code, and a growing li

emerging design patterns for autonomous multi-agent systems, including graph and message-driven architectures" — Article identifies emerging architectural patterns (graph-driven and message-driven) fo

most of it is bad either because the people who build it don't use it, or because they don't understand or care how the end user values their time" — Author directly argues that software failure stems

Have specialized agents that excel in one task, rather than having a general purpose agent that is expected to be good at anything." — Article advocates for architectural approach of task-specialized

iterating on a single RPI design discussion" — Demonstrates iterative collaborative design process with multiple agents and humans working in parallel

the new era of LLM-powered code generation underscores the importance of open, API-first platforms and tools like MCP" — Article explicitly argues that API-first design (exemplified by MCP) is essenti

Even the best developer tools mostly still don't let you sign up for an account via API." — Article directly argues that current API design is inadequate for account management, contradicting the assu

Visual Studio Code implements the full MCP specification, enabling you to create MCP servers that provide tools, prompts, and resources for extending the capabilities of AI agents in VS Code." — Shows

We've recently rolled out the CircleCI Model Context Protocol (MCP) Server" — MCP Server is a practical implementation of Model Context Protocol design pattern, showing how standardized API patterns e

lets AI apps like Claude and ChatGPT call external tools" — MCP explicitly enables external tool calling as a core capability, supporting the concept of standardized external resource access

[INFERRED] "Instantly transfer money to US businesses on Stripe for free" — Stripe Treasury's instant transfer capability suggests API-first design enabling programmatic financial operations

[INFERRED] "Model Context Protocol as a standardized protocol design" — MCP demonstrates successful API/protocol design patterns for AI model integration - shows what makes a protocol 'win' in adoptio

Web App and a Mobile App.... That share a backend" — Building multiple client applications (web, mobile) against a single shared backend demonstrates API-first architecture and cross-platform API desi

replaces ad hoc integrations with a standardized, secure, and scalable AI tool-calling substrate" — MCP provides a systematic design pattern for how AI systems should integrate with external tools and

buy the API/Platform, vibe your own UI" — Article explicitly articulates headless SaaS as an API-first platform model where UI is decoupled and custom.

/cost and /stats are merged into /usage; the old names still work as typing shortcuts that open the relevant tab" — Demonstrates backward-compatible API consolidation where multiple endpoints are merg

requires an active Anthropic account for authentication, with your API key stored in environment variables or a config file" — Demonstrates best practices for API authentication and credential managem

Lovable grew 2,800% in a single year. Replit grew 15x" — Statistical evidence of rapid market adoption of AI-assisted development platforms

Users simply point their AI tool to your server's address. Convenient for users (no installation required). You handle availability, security, and operations. Accessible to multiple users over the net

the problem is that we should design features in a way where you don't need to know about them to benefit from them" — Proposes invisible/automatic feature activation as design principle to improve us

The counterintuitive product principles that drove Claude Code's success" — Article discusses specific principles that shaped the product design and adoption

Extracting Anthropic's 72KB design system" — Shows design system extraction and reverse-engineering as a novel pattern for terminal UI generation

AI Flight Booking Demo" — The flight booking demo illustrates how Claude can be extended with external capabilities and integrations through MCP protocols

grab API keys before developers confirm a project is trusted" — Documents specific attack scenario where API credentials are exposed through unvalidated code execution in developer tools

RFC 9457-compliant structured Markdown and JSON error payloads" — RFC 9457 compliance is a concrete example of standardized, machine-readable API response design that enables interoperability between

gemini cli is being deprecated, use antigravity cli. no the flash model is smarter than the pro model" — Article criticizes API inconsistency through deprecation cycles (Gemini CLI → Antigravity CLI)

[INFERRED] "Model Context Protocol" — MCP represents a protocol-based API design pattern for standardizing client-server communication in AI agent systems

[INFERRED] "google has the model quality, but it lacks the developer experience" — Article directly critiques Google's developer experience as a gap despite strong models

The two most common ways of using it are through: a declarative, graph-based syntax [and] agent abstractions (built on top of the lower level framework)" — Article demonstrates that frameworks need fl

It's faster, better for our use case, and we can look under the hood." — Demonstrates practical benefits of custom implementation: performance optimization, use-case specificity, and transparency.

they don't actually match the design of your existing products, lack any meaningful differentiation" — Identifies design consistency as critical requirement for successful AI prototyping; highlights p

[INFERRED] "as long as they're not appending a malicious system prompt in the API-level" — Article raises security concern about potential API-level system prompt manipulation, highlighting risks in p

[DIRECT] "You can easily generate static HTML files to replace default error pages" — Article demonstrates extensibility in error page customization through open-source tooling, enabling organizations

[INFERRED] "not quite trivial to design this such that it behaves like the TUI wrt config, but also lets you override everything however you like" — Demonstrates the tension between API consistency (T

[INFERRED] "For Blocs to stay true to its "no-code" roots, an integration like MCP (Model Context Protocol) would have to be incredibly seamless." — The discussion highlights design tensions when crea

query this concept
$ db.articles("api-design-patterns")
$ db.cooccurrence("api-design-patterns")
$ db.contradictions("api-design-patterns")