daydreams

daydreams

Daydreams is a generative agent framework for executing anything onchain

Stars: 417

Visit
 screenshot

Daydreams is a generative agent library designed for playing onchain games by injecting context. It is chain agnostic and allows users to perform onchain tasks, including playing any onchain game. The tool is lightweight and powerful, enabling users to define game context, register actions, set goals, monitor progress, and integrate with external agents. Daydreams aims to be 'lite' and 'composable', dynamically generating code needed to play games. It is currently in pre-alpha stage, seeking feedback and collaboration for further development.

README:

Daydreams

⚠️ Warning: This is alpha software under active development. Expect frequent breaking changes and bugs. The API is not yet stable.

Cross-chain Generative Agents

License: MIT TypeScript Status Documentation Twitter Follow GitHub stars

Daydreams is a powerful framework for building generative agents that can execute tasks across any blockchain or API.

Feature Description
🔗 Chain Agnostic Execute transactions and interact with any blockchain network
👥 Multi-Expert System Leverage specialized modules working together to solve complex tasks
🧠 Context Management Simple yet powerful memory and context handling system
🎯 Goal-Oriented Long-term planning and goal-oriented behavior capabilities
💾 Persistent Memory Built-in support for storing and retrieving long-term information
🤔 Advanced Reasoning Multi-step reasoning using Hierarchical Task Networks

Want to contribute? Check our issues for tasks labeled good first issue.

Supported Chains

Ethereum Arbitrum Optimism Hyperledger StarkNet Hyperledger

Quick Start

Prerequisites

  • Node.js 18+ using nvm

LLM Keys

You'll need an API key for the LLM you want to use. We recommend using Groq for most use cases.

Your First Dreams Agent

We use ai-sdk to support multiple LLMs. You will need to install the ai-sdk for the LLM you want to use.

npm i @daydreamsai/core

Read the docs for more information on how to use the agent.

Development

We use bun for development.

bun install

bun build:packages --watch

Edit the core package and watch for changes, and play with examples.

Contributing

Looking to contribute? We'd love your help!

If you are a developer and would like to contribute with code, please open an issue to discuss before opening a Pull Request.

Star History

Star History Chart

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for daydreams

Similar Open Source Tools

For similar tasks

For similar jobs