# AI SDK

Build custom TypeScript agents and connect their tools, stopping conditions and user interfaces.

Canonical profile: https://ki-agentenkompass.de/en/agents/vercel-ai-sdk/
Editor: [Michael Meierhoff](https://ki-agentenkompass.de/en/about/)
Sources reviewed: 2026-11-16
Basis: provider documentation. Examples are editorial suggestions, not hands-on product tests.

## Overview

AI SDK is assessed here as a self-hosted agent framework. Additional hosted provider offerings have separate terms.

- Provider: Vercel
- Product family: AI SDK
- Profile type: Agent framework for your deployment
- Environment: Your server or development machine; integration into your application.
- Connections: Configured model providers, custom tools and approved data sources.
- Setup: Set up Node.js 22+ and a TypeScript project; configure model providers and permitted tools.
- Pricing model: USD 0 for the software licence (Apache-2.0); model usage, storage and operations are additional.

## Key features

### Agent loop

ToolLoopAgent combines models, context and repeated tool calls.

Source: https://ai-sdk.dev/docs/agents/overview

### Define tools

Typed tools describe inputs and the function to execute.

Source: https://ai-sdk.dev/docs/agents/overview

### Integrate approvals

Tool calls can require approval before execution.

Source: https://ai-sdk.dev/docs/agents/tool-approvals

### Connect memory

Provider tools, memory services or custom tools support longer-term context.

Source: https://ai-sdk.dev/docs/agents/memory

### Connect interfaces

The TypeScript library supports streaming and common web frameworks.

Source: https://github.com/vercel/ai

## Example workflows

### Handle a knowledge question

- Your input: A concrete question and approved data sources.
- Possible result: A draft answer produced through configured tools.
- What to check: Review sources, permissions and output before use.

### Prepare a multi-step task

- Your input: A limited task with permitted tools and an acceptance criterion.
- Possible result: A traceable workflow with a reviewable result.
- What to check: Start with test data and explicitly approve external actions.

## Requirements and limits

### Your deployment

Requirement: Set up Node.js 22+ and a TypeScript project; configure model providers and permitted tools.

Source: https://ai-sdk.dev/docs/agents/overview

### Data and action permissions

Requirement: You configure permitted tools and data access. External actions require appropriate permissions and approvals.

Source: https://ai-sdk.dev/docs/agents/overview

### Operate responsibly

Limitation: Cost limits, monitoring, backups and retries of external actions must be secured in your deployment.

Source: https://ai-sdk.dev/docs/agents/overview

## A good fit if …

- you want to develop custom agents and deliberately restrict their tools
- you can handle development and operations with suitable model access
- you want to integrate agent tools and their approvals into your own TypeScript interface

## Less suitable if …

- you need a personal assistant ready to use without setup
- your project requires a fully managed service

Editorial assessment based on provider documentation. Not a product test.

## Usable AI models

Open choice

Provider packages support multiple providers, custom endpoints and local integrations. The SDK does not require a Vercel hosting contract.

- Model families named: OpenAI (GPT), Anthropic (Claude), Google (Gemini) · Other models can be connected freely
- Model choice: You choose
- Your own API key: Yes
- Router or custom endpoint: Yes
- Local models: Yes

Documented · Sources accessed on: 2026-11-16

- [AI SDK · Models](https://ai-sdk.dev/docs/agents/overview)

## Europe & regional availability

Software access, model terms and data processing are assessed separately.

Reviewed scope: AI SDK · self-hosted access
Reviewed on: 2026-11-16

### Self-hosting and model providers

With requirements

Public source code enables your own deployment. Connected model and data services determine regional limits and data flows.

Region covered: EU/EEA, United Kingdom and Switzerland

Documented reason: Reviewed sources state no blanket European feature restriction on self-hosted source code. EU data residency is a separate requirement.

Official source: https://github.com/vercel/ai
Official source: https://ai-sdk.dev/docs/agents/overview

## Accounts & permissions

Based on provider documentation. Permissions depend on the account, integration and organization policies. Review the permissions actually requested before use.

Configuration covered: AI SDK · Accounts and permissions
Sources reviewed: 2026-11-16

### Account used

Documented with conditions: Model keys and service credentials are configured in the deployment. Agent roles in code do not replace separate service accounts.

Evidence: https://ai-sdk.dev/docs/agents/overview

### Admin approval

Documented with conditions: The application defines approvals and permitted tools. A specific approval requirement applies only when configured in the workflow.

Evidence: https://ai-sdk.dev/docs/agents/overview

### Data access & team sharing

Documented with conditions: Action scope and data access follow the tools and credentials actually configured.

Evidence: https://ai-sdk.dev/docs/agents/overview

## Prices and included usage

Pricing checked: 2026-11-16

USD 0 for the software licence (Apache-2.0); model usage, storage and operations are additional.

### Self-operation

USD 0 software license

Software under the stated repository licence. Models, storage and infrastructure are paid separately.

Price source: https://github.com/vercel/ai

Total monthly operating cost depends on models, data volume and run frequency.

Pricing details: https://github.com/vercel/ai

## Operation & oversight

Based on public provider documentation. Assessments are editorial inferences from the stated properties. Actual time requirements and reliability have not been measured.

Deployment covered: AI SDK · Execution and continuity
Sources reviewed: 2026-11-16

### Files and working state

Documented with conditions: Storage is implemented through memory tools and the selected provider or custom backend code.

Evidence: https://ai-sdk.dev/docs/agents/overview

### Sign-ins

Documented with conditions: Model and service keys are managed in your deployment.

Evidence: https://ai-sdk.dev/docs/agents/overview

### Starting further runs

Documented with conditions: Further tasks are started from the application or configured workflows.

Evidence: https://ai-sdk.dev/docs/agents/overview

### Human intervention

Documented with conditions: Checkpoints and action approvals must be configured for the specific workflow.

Evidence: https://ai-sdk.dev/docs/agents/overview

### Detecting errors

Documented with conditions: Error handling and logs must be integrated into your operations.

Evidence: https://ai-sdk.dev/docs/agents/overview

### Resuming after failures

Documented with conditions: The agent loop alone does not guarantee durable resumption. Conversation storage and durable workflows require separate setup.

Evidence: https://ai-sdk.dev/docs/agents/overview

### Editorial assessment

Editorial assessment of the self-hosted access; specific limits are stated per criterion.

## Memory and conversation continuity

Scope: AI SDK · main self-hosted access
Sources accessed: 2026-11-16

The assessment covers documented storage mechanisms in your deployment.

### Storage and scope

Partly documented: Storage is implemented through memory tools and the selected provider or custom backend code.

- [AI SDK · Memory / State](https://ai-sdk.dev/docs/agents/memory)

### Selection and timing

Partly documented: The model can call a supplied memory tool; its execute function implements storage.

- [AI SDK · Memory / State](https://ai-sdk.dev/docs/agents/memory)

### Inspect, edit and delete

Partly documented: Inspection and deletion must be implemented in tools and storage.

- [AI SDK · Memory / State](https://ai-sdk.dev/docs/agents/memory)

### Agent and channel boundaries

Partly documented: The application and storage paths define user, agent and project boundaries.

- [AI SDK · Memory / State](https://ai-sdk.dev/docs/agents/memory)

### Retrieval

Partly documented: Retrieval uses supplied memory tools or a connected provider.

- [AI SDK · Memory / State](https://ai-sdk.dev/docs/agents/memory)

### Session reset and compaction

Partly documented: The agent loop alone does not guarantee durable resumption. Conversation storage and durable workflows require separate setup.

- [AI SDK · Memory / State](https://ai-sdk.dev/docs/agents/memory)

## Context

Cost limits, monitoring, backups and retries of external actions must be secured in your deployment.

Official project sources reviewed. Examples and suitability are editorial assessments; this directory does not include our own product tests.

## Sources

- https://github.com/vercel/ai

- https://ai-sdk.dev/docs/agents/overview

- https://ai-sdk.dev/docs/agents/memory

- https://ai-sdk.dev/docs/agents/tool-approvals

## Provider

Official project sources establish a dedicated agent framework. On the review date the repository has 28,012 stars and 5,631 forks; these measure community interest, not active users.

- Operator: Vercel
- Organization: Open-source project and software provider
- Website: https://github.com/vercel/ai
- Reviewed: 2026-11-16

- Repository: https://github.com/vercel/ai
- GitHub-Stars: 28012 (2026-11-16)
- License: Apache-2.0

- Provider source: https://github.com/vercel/ai

[Sources and method](https://ki-agentenkompass.de/en/sources/)
