Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Daydreams is a set of tools for building agents for commerce
| Date | Stars |
|---|---|
| 2026-07-31 | 612 |
| 2026-08-02 | 612 |
| 2026-08-06 | 612 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day

# Daydreams - AI Agent Framework
> **Notice:** This agent framework is no longer the core focus as features are already obsolete.
>
> The Daydreams core focus is on Agentic Commerce and not the agent harness.
>
> Check out the lucid-agents repo: https://github.com/daydreamsai/lucid-agents
>
> We recommend the [Pi agent harness](https://github.com/badlogic/pi-mono) for building agents and incorporating [lucid-agents](https://github.com/daydreamsai/lucid-agents) in it.
Finally, TypeScript agents that scale and compose
🌐 [Website](https://dreams.fun) • ⚡ [Quick Start](#-quick-start) • 📖
[Documentation](https://docs.dreams.fun) • 💬
[Discord](https://discord.gg/rt8ajxQvXh)
<p align="center">
<a href="https://docs.dreams.fun"><img src="https://img.shields.io/badge/docs-dreams.fun-blue?style=flat-square" alt="Documentation"></a>
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square" alt="License: MIT"></a>
<a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-007ACC?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript"></a>
<a href="https://github.com/daydreamsai/daydreams/stargazers"><img src="https://img.shields.io/github/stars/daydreamsai/daydreams?style=flat-square" alt="GitHub stars"></a>
</p>
## 🎯 The Problem Every AI Developer Faces
You build an AI agent. It works great in testing. Then you need to add more
features and...
❌ Context switching breaks existing functionality
❌ State management becomes a nightmare
❌ Memory doesn't persist across sessions
❌ Code becomes a tangled mess of prompts and logic
Sound familiar? You're not alone. This is why most AI agents never make it to
production.
## ⚡ The Solution: Composable Context Architecture
Daydreams is the **first AI framework with composable contexts** - isolated
workspaces that combine for complex behaviors. Build agents that remember,
learn, and scale with **true memory**, **MCP integration**, and
**TypeScript-first** design.
## 🌐 Dreams Router - Universal AI Gateway
Access any AI model through one API with built-in authentication and payments:
```typescript
import { dreamsRouter } from "@daydreamsai/ai-sdk-provider";
// Use any model from any provider
const models = [
dreamsRouter("openai/gpt-4o"),
dreamsRouter("anthropic/claude-3-5-sonnet-20241022"),
dreamsRouter("google-vertex/gemini-2.5-flash"),
dreamsRouter("groq/llama-3.1-405b-reasoning"),
];
// Pay-per-use with USDC micropayments (no subscriptions)
const { dreamsRouter } = await createDreamsRouterAuth(account, {
payments: { amount: "100000", network: "base-sepolia" }, // $0.10 per request
});
```
**Features:**
- **Universal Access** - OpenAI, Anthropic, Google, Groq, xAI, and more
- **x402 Payments** - Pay-per-use with USDC micropayments
- **OpenAI Compatible** - Works with existing OpenAI SDK clients
- **Automatic Fallbacks** - Built-in provider redundancy
🌐 **Live Service**:
[router.daydreams.systems](https://router.daydreams.systems) • 📖
**[Router Docs](https://docs.dreams.fun/docs/router)** • ⚡
**[Router Quickstart](https://docs.dreams.fun/docs/router/quickstart)**
## 🌟 The Power of Context Composition
Unlike other frameworks, Daydreams lets you compose contexts using `.use()` -
creating powerful agents from modular components:
```typescript
import { createDreams, context, action } from "@daydreamsai/core";
import { openai } from "@ai-sdk/openai";
// Base analytics context - tracks user behavior
const analyticsContext = context({
type: "analytics",
create: () => ({ events: [], sessions: 0 }),
}).setActions([
action({
name: "trackEvent",
schema: { event: z.string() },
handler: async ({ event }, ctx) => {
ctx.memory.events.push({ event, timestamp: Date.now() });
return { tracked: true };
},
}),
]);
// Customer support context that composes with analytics
const supporExcerpt of 17,095 characters
Read on GitHub924
94
38
23
22
22
16
14
12
11
6
4
4
3
1
1
amanusk
1
1
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:2052d12ab6205d7c, topic:agents, topic:agent-framework
matched fp:2052d12ab6205d7c, topic:llm
matched fp:2052d12ab6205d7c, topic:mcp