← Back to directory
D

Daydreams

Community
Framework / SDK
A TypeScript AI agent framework for building commerce agents with composable contexts and MCP integration.

This is a framework for building MCP servers or agents, not a server you connect a client to.

Category
Other
Stars
★ 620 Popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
No credential needed
License
MIT
Last commit
25FMRS · D

Daydreams is an innovative agent framework offering composable contexts and MCP integration, but it is deprecated with focus shifting to commercial applications.

Strongest · Documentation 8/20 Weakest · Reliability 3/20

Reliability
3/20
Security and permissions
5/20
Maintenance
3/20
Documentation
8/20
Setup experience
6/20
Why each score
Reliability 3/20
The supplied material contains no MCP server manifest, executable entry point, or any test/CI evidence; the README describes an AI agent framework and an MCP client extension (createMcpExtension), not a server that completes the MCP init/tool-list handshake. There is no evidence of a clean startup or that declared tools match real behavior, so the score is conservatively deducted to 3.
Security and permissions 5/20
No malware, real secrets, or fabricated identity are evident, so no red line is triggered; however, the source is not provided, so credential handling, least privilege, data boundaries, and confirmation flows cannot be verified. The README shows external routing and x402/USDC payment side effects without explaining confirmation or scoping, so the score is 5 due to visible risk with incomplete controls.
Maintenance 3/20
The README explicitly states this agent framework is no longer the core focus, that its features are obsolete, and recommends lucid-agents and pi-mono instead; although the repo is not archived, has an MIT license, and 18 open issues, there is no evidence of commit cadence, releases, dependency updates, or a security response channel. Maintenance activity is clearly low, so the score is 3.
Documentation 8/20
The README provides a quick start, MCP integration examples, an extension list, and documentation links, covering some installation, authentication, and cost information; however, it lacks the MCP server manifest, tool parameters, limits, quotas, and troubleshooting, and external docs cannot be verified statically. The documentation is usable but has clear gaps, so the score is 8.
Setup experience 6/20
An npm install command, code snippets, and an npx scaffold are provided, so the path is fairly clear for framework users; however, there are no mainstream MCP client configuration examples, no server manifest, and no run verification, and no verifiable CI/tests prove a working connection after installation. Under static calibration setup cannot exceed 15; the score is 6.

Static review · not runListed 2026-08-07

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkConnects to a database

Best for

  • Developers looking to build scalable AI agents in TypeScript
  • Applications needing persistent memory and context isolation
  • Users wanting to integrate MCP servers into agent workflows

Not for

  • Developers seeking an actively maintained agent framework (this repo is deprecated)
  • Users not interested in agentic commerce features or Dreams Router
  • Projects requiring official support or stable APIs

Required permissions

  • Requires access to configured AI model providers (e.g., OpenAI)
  • May need file system access (via MCP)
  • May require network access if using specific extensions

Risks and side effects

  • Project is deprecated; features may be outdated and unmaintained
  • Reliance on third-party services (AI models, MCP servers)
  • Misconfiguration can lead to runtime errors

Setup

Before you start

Runtime:Node.js

DISCORD_TOKEN optionalsecret Discord bot token used by the @daydreamsai/discord extension; obtained from the Discord Developer Portal after creating a bot.
Other optional settings (1)
SUPABASE_URL optional Supabase project URL used by the @daydreamsai/supabase storage/vector extension; found in your project settings in the Supabase dashboard.

Install core packages via npm: npm install @daydreamsai/core @ai-sdk/openai zod. Then follow the documentation to create agents.

Check that it works

Install @daydreamsai/core and create a simple agent with createDreams, then call agent.send with an input; a response with persistent memory confirms the framework works.

Troubleshooting

  1. Ensure dependencies are correctly installed: @daydreamsai/core, @ai-sdk/openai, zod
  2. Check AI model API keys for validity
  3. Refer to documentation and Discord community for support

Things to try

Once connected, you can ask your AI assistant things like:

  • Use createMcpExtension to connect a filesystem MCP server and list the files in ./docs
  • Create a TypeScript customer support agent with composable contexts and analytics tracking
  • Call openai/gpt-4o through dreamsRouter to answer a question

Use cases

Build e-commerce agents for customer service, order processing, and inventory management
Create AI assistants with multi-context support
Integrate external tools and services via MCP

Overview

Daydreams is a TypeScript agent framework for building commerce agents. It introduces a composable context architecture, allowing isolated workspaces to be combined for complex behaviors. The framework supports persistent memory, native MCP integration, type-safe actions, and an extension system. Daydreams also offers Dreams Router, a universal AI gateway with x402 pay-per-use USDC micropayments. Note: The repository has deprecated its agent framework part; core focus is now on Agentic Commerce, with recommendations to use lucid-agents and the Pi agent framework.

Similar servers

Telegram MCP server powered by Telethon to let MCP clients read chats, manage groups, and send/modify messages, media, contacts, and settings.

★ 1.8k · Tools 76 Compare with this →

Source revision 1599a976d1e1 Data synced 2026-10-12 Read the FMRS scoring method