vercel · Vercel AI SDK Docs
AI SDK Getting Started: Coding Agents
Teaches how to implement coding agents using the AI SDK, covering the fundamental setup and patterns required to build agents capable of writing and executing code.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
AI SDK Getting Started: Coding Agents
Teaches how to implement coding agents using the AI SDK, covering the fundamental setup and patterns required to build agents capable of writing and executing code.
When To Use
Use when you need to implement an AI agent that can autonomously write, edit, or execute code within a development environment.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/ai-sdk-getting-started-coding-agents-workflow-guide.md | A guide on setting up the AI SDK for use within AI-assisted development environments like Claude Code or Cursor. | Questions about a guide on setting up the AI SDK for use within AI-assisted development environments like Claude Code or Cursor. |
examples/ai-sdk-getting-started-coding-agents-ai-sdk-coding-agents-getting-starte.text | The shell command used to add the Vercel AI SDK skills to a local environment. | Exact payloads, commands, or snippets shown in The shell command used to add the Vercel AI SDK skills to a local environment. |
examples/ai-sdk-getting-started-coding-agents-ai-sdk-coding-agents-getting-starte-2.text | A text-based walkthrough and structural overview of implementing coding agents using the Vercel AI SDK. | Exact payloads, commands, or snippets shown in A text-based walkthrough and structural overview of implementing coding agents using the Vercel AI SDK. |
examples/ai-sdk-getting-started-coding-agents-ai-sdk-coding-agents-wrap-language-.text | A TypeScript code example demonstrating how to use wrapLanguageModel and devToolsMiddleware to configure a language model for coding agents. | Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use wrapLanguageModel and devToolsMiddleware to configure a language m... |
examples/ai-sdk-getting-started-coding-agents-ai-sdk-coding-agents-generatetext.text | A code example demonstrating how to use the generateText function with DevTools middleware to build a coding agent. | Exact payloads, commands, or snippets shown in A code example demonstrating how to use the generateText function with DevTools middleware to build a coding agent. |
examples/ai-sdk-getting-started-coding-agents-ai-sdk-devtools-cli-usage-guide.text | A text guide demonstrating how to use the npx @ai-sdk/devtools command for debugging AI SDK agents. | Exact payloads, commands, or snippets shown in A text guide demonstrating how to use the npx @ai-sdk/devtools command for debugging AI SDK agents. |
examples/ai-sdk-getting-started-coding-agents-ai-sdk-coding-agents-streamtext-too.text | A TypeScript code example demonstrating how to use streamText with tools to implement a coding agent using the AI SDK. | Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use streamText with tools to implement a coding agent using the AI SDK. |
What This Skill Covers
- This page explains how to get the most out of the AI SDK when working inside a coding agent (such as Claude Code, Codex, OpenCode, Cursor, or any other AI-as...
- Main sections:
Install the AI SDK Skill,Docs and Source Code in nodemodules,Install DevTools,Launch the viewer,Inspecting Tool Calls and Outputs.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://ai-sdk.dev/docs/agents