Problems solved

Technical challenges this implementation handles out of the box.
  • Run an agent on a cron cadence
  • Deliver proactive messages without an inbound request
  • Let tenant users create and manage schedules safely
  • Verify schedule dispatch deterministically without credentials

Use cases

Products and workflows this pattern is designed to support.
  • Scheduled product or operations digests
  • Proactive agent notifications
  • Tenant-owned recurring reminders
  • Testing cron and dynamic schedule dispatch

Setup

Requirements, wiring steps, and what this pattern adds to your project.

Requirements

Complexity
Intermediate
Setup time
~10 minutes
Node
24+
Memory
256MB

Getting started

Pick how you want to pull this pattern in — then wire env vars and routes the same way.

  1. 1

    Install into an empty project directory

    Shadcn Icon

    Copy the tokenized install command from the preview toolbar and run it in an empty directory so the Eve package and agent tree stay together.

  2. 2

    Install dependencies and run the verification suite

    With Node.js 24+, run `pnpm install`, `pnpm verify:discovery`, `pnpm typecheck`, `pnpm build`, and `pnpm eval`.

  3. 3

    Run the Eve development server

    Run `pnpm dev` after every verification gate passes.

Files added

26 files
  • .gitignore
  • .node-version
  • agent/agent.ts
  • agent/channels/eve.ts
  • agent/channels/notify.ts
  • agent/instructions.md
  • agent/lib/digest-log.ts
  • agent/lib/schedule-store.ts
  • agent/lib/tenant.ts
  • agent/schedules/daily-digest.ts
  • agent/schedules/dispatch.ts
  • agent/tools/create_schedule.ts
  • agent/tools/delete_schedule.ts
  • agent/tools/get_metrics.ts
  • agent/tools/list_schedules.ts
  • agent/tools/record_digest.ts
  • agent/tools/update_schedule.ts
  • evals/cross-tenant.eval.ts
  • evals/daily-digest.eval.ts
  • evals/dispatch-due-schedule.eval.ts
  • evals/dynamic-schedule-crud.eval.ts
  • evals/evals.config.ts
  • evals/helpers.ts
  • package.json
  • README.md
  • tsconfig.json

Dependencies

3 total

npm packages

3
AISDKeveZod