Typescript autonomous
agent framework
lose the handrails, start daydreaming
npm install @daydreamsai/core
_> Agent Architecture
Compose powerful agents with a modular, type-safe architecture
AI SDK
Built on top of the Vercel AI SDK, Daydreams seamlessly integrates with different AI providers and models
import {createDreams} from "@daydreamsai/core";import {openai} from "@ai-sdk/openai";import {anthropic} from "@ai-sdk/anthropic";
// Easily switch LLM providers
const agent = createDreams({
// Use OpenAI, Anthropic, Groq, Google, Mistral, Ollama, etc.
model: openai("gpt-4o-mini"),
// reasoningModel: anthropic("claude-3-haiku-20240307"),
/* ... other config ... */
});
_> Supported Providers
Choose your preferred foundation models
OpenAI
Anthropic
Groq
Mistral
DeepSeek
_> Supported Chains
Build agents on your favorite blockchain networks
Ethereum
Solana
Hyperliquid
StarkNet
Optimism
Arbitrum
Base