About Daydreams
TypeScript framework for building autonomous AI agents with unified LLM provider support.
⚠️ Warning: This is alpha software under active development. Expect frequent breaking changes and bugs. The API is not yet stable.
What is an AI Agent?
Think of an AI agent as a smart assistant that can:
- Listen for events (Discord messages, API calls, timers)
- Think about what to do (using AI models like GPT)
- Take action (call APIs, send responses, update databases)
- Remember what happened for future interactions
Real Examples
Here are some agents you could build with Daydreams:
Discord Weather Bot
Trading Assistant
Customer Support Bot
How Daydreams Works
Daydreams provides the building blocks to create these agents:
- Contexts - Manage different conversation sessions or tasks
- Inputs - Listen for Discord messages, API calls, timers, etc.
- Outputs - Send responses via Discord, email, webhooks, etc.
- Actions - Call APIs, process data, perform calculations
- Memory - Remember conversations and learn from interactions
Why Choose Daydreams?
- TypeScript-first - Full type safety and IntelliSense support
- Model-agnostic - Works with OpenAI, Anthropic, Groq, and any AI SDK provider
- Production-ready - Built-in memory management, error handling, and concurrency
- Extensible - Pre-built extensions for Discord, Twitter, Telegram, and more
Get Started
Choose your path based on your experience:
New to AI Agents?
- Building Blocks - Understand the core components with simple examples
- Your First Agent - Build a working CLI echo bot
- Agent Lifecycle - Learn how agents think and act
Ready to Build?
- Installation - Set up your development environment
- Examples - See complete working agents
- API Reference - Detailed documentation for all features
Want to Understand the Architecture?
- Core Concepts - Deep dive into the framework design
- Advanced Features - Extensions, services, and customization