AI Worker worker.md

daydreams

Daydreams is a set of tools for building agents for commerce

Tool registry 600 stars TypeScript MIT Worker-compatible

Source#

Tags#

8004agent-frameworkagent-frameworksagentsaicdp

Integration notes#

Repository is focused on tool/server interoperability; wrap in bounded worker contracts for production use.

worker.md example#

Starter worker.md contract mapped from this registry entry. Copy this file and adapt schemas, constraints, and statuses for your task.

---
id: daydreams-repo-derived-worker
name: daydreams Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/daydreams/
source_repository: https://github.com/daydreamsai/daydreams
repository_default_branch: main
repository_language: TypeScript
repository_license: MIT
repository_updated_at: 2026-02-27
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.95
derived_on: 2026-03-01
tags:
  - 8004
  - agent-framework
  - agent-frameworks
  - agents
  - ai
  - cdp
---

# daydreams Repo-Derived Worker

## Repo-derived summary
- Registry summary: Daydreams is a set of tools for building agents for commerce
- Repository description: Daydreams is a set of tools for building agents for commerce
- Stars (snapshot): 600
- Primary language: TypeScript
- Worker mode classification: agent-orchestration-worker

## Extracted from
- https://github.com/daydreamsai/daydreams
- https://github.com/daydreamsai/daydreams/blob/main/readme.md
- https://github.com/daydreamsai/lucid-agents
- https://docs.dreams.fun
- https://router.daydreams.systems

## Evidence notes (from repository text)
- README summary paragraph: > **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 https://github.com/badlogic/pi-mono for building agents and incorporating https://github.com/daydreamsai/lucid-agents in it.
- > **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 https://github.com/badlogic/pi-mono for building agents and incorporating https://github.com/daydreamsai/lucid-agents in it.
- Finally, TypeScript agents that scale and compose

## Installation hints found in README
- `npm install @daydreamsai/core @ai-sdk/openai zod`

## worker.md contract (derived starter)
Purpose: Execute one orchestrated agent task as a bounded worker step.

### Input schema
```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "run_id",
    "task",
    "context"
  ],
  "properties": {
    "run_id": {
      "type": "string"
    },
    "task": {
      "type": "string"
    },
    "context": {
      "type": "object"
    }
  }
}
```

### Output schema
```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "run_id",
    "status",
    "result"
  ],
  "properties": {
    "run_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "retryable_error",
        "invalid_request",
        "invalid_output"
      ]
    },
    "result": {
      "type": "object"
    }
  }
}
```

### Constraints
- timeout_seconds: 30
- max_attempts: 2
- idempotency_key: run_id
- status_enum: [ok, retryable_error, invalid_request, invalid_output]
- notes: adapt to concrete APIs/classes documented in this repository before production use

## How this should be used
1. Treat this file as a repo-derived starter profile, not a claim of an official repository API contract.
2. Replace schemas with exact interfaces from code/docs you adopt.
3. Keep execution bounded and auditable using worker protocol constraints.

How to use#

  • Save this as a worker spec file (for example: daydreams-my-task.worker.md).
  • Replace the input/output schemas and purpose with your real bounded task.
  • Enforce schema validation + timeout + retry policy in your runtime before production use.

Citation#

Reference URL: https://worker.md/registry/daydreams/

Source URL: https://github.com/daydreamsai/daydreams