daedalus-ai-dev/ai-sdk
A TypeScript SDK for building agents, tools, and multi-agent workflows
Platform-specific configuration:
{
"mcpServers": {
"ai-sdk": {
"command": "npx",
"args": [
"-y",
"ai-sdk"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A TypeScript SDK for building agents, tools, and multi-agent workflows — provider-agnostic, composable, and designed for production.
[](https://www.npmjs.com/package/@daedalus-ai-dev/ai-sdk) [](LICENSE)
npm install @daedalus-ai-dev/ai-sdkInstall the provider package for your preferred model:
npm install @ai-sdk/openai # OpenAI
npm install @ai-sdk/anthropic # Anthropic
npm install @ai-sdk/google # Google Gemini
npm install @ai-sdk/xai # xAI Grokimport { agent, configure, anthropic } from '@daedalus-ai-dev/ai-sdk';
configure({ provider: anthropic('claude-sonnet-4-5') });
const response = await agent({
instructions: 'You are a helpful assistant.',
}).prompt('What is the capital of France?');
console.log(response.text); // Parisimport { agent, configure, defineTool, openai } from '@daedalus-ai-dev/ai-sdk';
configure({ provider: openai('gpt-4o') });
const weatherTool = defineTool({
name: 'get_weather',
description: 'Get the current weather for a city.',
schema: (s) => ({
city: s.string().description('City name').required(),
}),
async handle({ city }) {
return `The weather in ${city} is sunny and 22°C.`;
}Loading reviews...