133 AI Patterns,
In your IDE
Install the skill so Cursor, Claude Code, and Codex get good[er].
/aisdkagents
$ npx skills add https://aisdkagents.com/skill/<token> --skill aisdkagentsInstall the same skill wherever your agent work happens
Amp
Antigravity
Codex
Cursor
Droid
GitHub Copilot
KiloCode
OpenCode
VS Code
Warp
Windsurf
Claude Code
The full AI SDK agent reference package
Pattern decision tree
Pattern reference
Chooses between routing, chains, orchestration, sub-agents, human approval, artifacts, structured output, and advanced tools.
Current AI SDK APIs
Pattern reference
Grounds answers in current API naming and when to use streamText, generateObject, streamObject, tool, and ToolLoopAgent.
Agent architecture
Pattern reference
Covers routing, orchestration, sub-agents, sequential chains, parallel processing, workers, and domain agents.
Tools and repair
Pattern reference
Designs typed tools, multi-step loops, lifecycle hooks, preliminary results, context passing, dynamic tools, and repair flows.
Human in the loop
Pattern reference
Adds confirmation, approval, multiple-choice inquiry, text inquiry, and resume flows where users need control.
Artifacts
Pattern reference
Builds chat-plus-artifact systems for text, code, tables, charts, maps, slides, diagrams, canvases, and generated files.
Streaming UI
Pattern reference
Uses data parts, custom UI messages, transport setup, status states, typed tool UI, and responsive chat surfaces.
Evaluator optimizer
Pattern reference
Let agents critique and revise outputs before they reach the user.
Structured output
Pattern reference
Constrain final answers with Output.choice, Output.array, object schemas, queues, forms, JSON specs, and deterministic data extraction.
Plan and implement
Pattern reference
Splits work into planning and implementation phases with plan artifacts, todo state, requirements gathering, and execution loops.
Providers and env
Pattern reference
Map providers, environment variables, setup complexity, and required services.
Current skeletons
Pattern reference
Includes copy-paste starting points for useChat, ToolLoopAgent routes, tool approval, human inquiry, dynamic tools, artifacts, and structured output.
Anti-pattern checks
Pattern reference
Flags overbuilt orchestration, stale API choices, unnecessary sub-agents, unsafe approval flows, artifact misuse, and risky filesystem tools.
Source evidence
Pattern reference
Points the assistant toward proven pattern references without installing source code.