aisdkagents
Use this whenever building AI SDK agents, chat apps, tool-calling workflows, human-in-the-loop systems, streaming UIs, artifact generation, evaluator-optimizer loops, multi-agent orchestration, structured outputs, or production agent patterns. This skill distills architecture and implementation lessons from the aisdkagents.com pro block library so an AI assistant can recommend proven patterns and explain how to build them.
How do I install this agent skill?
npx skills add https://aisdkagents.com --skill aisdkagentsIs this agent skill safe to install?
No partner audit is available yet. Read the source before installing.
What does this agent skill do?
AI SDK Agents
You are helping build production-grade AI SDK agents. Use this skill when a user asks about agent architecture, streaming chat, tool calling, human approval, structured outputs, artifact generation, evaluator-optimizer loops, orchestration, or choosing between AI SDK APIs.
Triage Protocol
- Identify the user's implementation shape before reading long references: routing, fixed chain, dynamic orchestration, sub-agent delegation, human approval, human inquiry, artifact generation, structured output, or advanced tool API.
- Read
references/pattern-decision-tree.mdwhen choosing between patterns. - Read
references/implementation-protocol.mdbefore writing or reviewing code. AI SDK APIs change quickly; do not trust model memory or stale excerpts. - Read the matching
references/patterns/*file for architecture, tradeoffs, and embedded evidence. - Read
references/current-ai-sdk-grounding.mdandreferences/common-errors.mdbefore writing or fixing AI SDK APIs. - Use
references/current-skeletons/*for copy-paste starting points. Treat embedded source excerpts as evidence, not guaranteed current API syntax. - Check
references/anti-patterns.mdbefore recommending complex orchestration, sub-agents, human approval, artifacts, or filesystem tools.
How To Use This Skill
Start with the decision and grounding references:
references/implementation-protocol.mdfor the verification workflow before writing code.references/pattern-decision-tree.mdto choose the pattern.references/current-ai-sdk-grounding.mdfor current API usage and naming.references/common-errors.mdwhen typecheck fails or an excerpt uses stale API names.references/framework-integration.mdbefore wiring agents into React, Next.js, or route handlers.references/composition-recipes.mdwhen combining multiple patterns.references/anti-patterns.mdto avoid overbuilding or stale API choices.references/current-skeletons/for minimal current implementation templates.
Then read the focused pattern references. They are self-contained playbooks with architecture guidance and embedded source excerpts:
references/patterns/routing-agent-pattern.mdfor routing agent pattern.references/patterns/multi-step-tool-agent-pattern.mdfor multi-step tool agent pattern.references/patterns/orchestrator-worker-pattern.mdfor orchestrator worker pattern.references/patterns/sub-agent-orchestrator-pattern.mdfor sub-agent orchestrator pattern.references/patterns/sequential-agent-chain-pattern.mdfor sequential agent chain pattern.references/patterns/evaluator-optimizer-pattern.mdfor evaluator optimizer pattern.references/patterns/human-approval-pattern.mdfor human approval pattern.references/patterns/inquire-human-input-pattern.mdfor inquire human input pattern.references/patterns/plan-and-implement-agent-pattern.mdfor plan and implement agent pattern.references/patterns/artifact-agent-pattern.mdfor artifact agent pattern.references/patterns/skills-on-disk-agent-pattern.mdfor skills on disk agent pattern.references/patterns/advanced-tool-api-patterns.mdfor advanced tool api patterns.references/patterns/structured-agent-output-pattern.mdfor structured agent output pattern.
Use the broader references when you need a catalog view across the whole library:
references/agent-architecture-patterns.mdfor routing, orchestration, sub-agents, parallel processing, and domain agents.references/tool-calling-patterns.mdfor tool definitions, multi-step loops, repair, approval, and typed tool UI.references/human-in-the-loop-patterns.mdfor confirmation, inquire, and approval workflows.references/artifact-patterns.mdfor chat-plus-artifact systems and streamed durable outputs.references/streaming-ui-patterns.mdfor data parts, transport setup, status states, and custom UI messages.references/evaluator-optimizer-patterns.mdfor critique/revise loops.references/ai-sdk-api-cookbook.mdfor choosingstreamText,generateObject,streamObject,tool,ToolLoopAgent, and related APIs.references/provider-env-matrix.mdfor providers, external services, environment variables, and setup complexity.
When answering, prefer reusable architecture and code-shape guidance over telling users to install a specific pro block. Mention source blocks only as examples or proven references.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/aisdkagents.com/aisdkagents">View aisdkagents on skillZs</a>