OpenViSTAI · Agents · Blockchain · Crypto
Menu
Agent Frameworks

Daydreams

Daydreams is an MIT-licensed TypeScript framework and set of tools for building composable AI agents, with documented support for reusable contexts, agent actions, MCP integrations and a model-routing service aimed at agentic commerce.

Independent OpenViST project profile, based on linked sources.

Daydreams — OpenViST project profile in Agent Frameworks.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Daydreams when the main requirement is experimenting with composable TypeScript agent architecture, MCP tool access or the repository’s agentic-commerce direction. Review the project notice first because the framework is no longer the core focus and some features are described as obsolete.

Who it is for

  • TypeScript developers building or studying AI agents
  • Teams prototyping commerce-oriented agent workflows
  • Developers integrating MCP servers with agent actions
  • Engineers evaluating context-composition patterns

Documented uses

  • Assemble an agent from reusable contexts with their own state, instructions and actions.
  • Connect an agent to external MCP resources and tools.
  • Prototype commerce-oriented agent applications.
  • Access multiple model providers through the documented Dreams Router interface.
Before you choose

Requirements & limits

The repository is public and lists an MIT license. The framework targets cloud, self-hosted and server environments in the technical project classification. The documented Router example includes USDC micropayments through x402, with a Base Sepolia example, but this does not establish general service pricing or availability.

  • TypeScript is the documented primary language.
  • Context composition is implemented through reusable contexts and .use().
  • MCP connectivity is shown through an extension using configured stdio transports.
  • The README says the project’s current focus is agentic commerce rather than the agent harness.
  • The README recommends lucid-agents with the Pi agent harness for building agents.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Compose a support agent with analytics context

Create an agent whose support context includes analytics actions and conditional premium behavior.

Before you start

  • TypeScript project
  • Daydreams core package
  • An AI SDK model provider
  • A support context, analytics context and premium context as shown in the repository example

Steps

  1. Define an analytics context with state for events and sessions.

  2. Add a trackEvent action that records an event in context memory.

  3. Define a support context with customer arguments and use() to include analytics, adding premium context conditionally.

  4. Create the agent with the model and support context, then send an input with customer arguments.

Expected outcome

The agent receives support behavior together with analytics functionality and conditional premium features in one composed conversation.

Guide limitations

  • The repository notice says the framework is no longer the core focus and that some features are obsolete.
  • The example does not document a complete project setup or deployment procedure.
Source-based practical guide

Connect an agent to MCP filesystem and database tools

Configure an agent extension that exposes filesystem resources and SQLite database tools through MCP.

Before you start

  • TypeScript project
  • Daydreams MCP package
  • The MCP filesystem and SQLite servers used in the example
  • A local docs directory and SQLite database

Steps

  1. Create an MCP extension with stdio transports for the filesystem and SQLite servers.

  2. Add the extension to the agent configuration.

  3. Define an action that calls mcp.listResources for the filesystem server.

  4. Call mcp.callTool for the database server from an agent action.

Expected outcome

Agent actions can request filesystem resources and invoke the configured database tool through MCP.

Guide limitations

  • The example documents configuration and calls but does not establish a complete search implementation or deployment process.
  • The database query shown in the repository example interpolates the query into SQL and should not be treated as a security recommendation.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
3 October 2026
Original website title
daydreamsai/daydreams · Official homepage title · retained in its source language