Skip to content

iterate/iterate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,165 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

iterate

Monorepo for Iterate's Cloudflare Workers platform. apps/os is the main app — the product dashboard at os.iterate.com.

Environments

  • Commands run in the context of a Doppler config; that config chooses secrets, app config, Cloudflare account, and Alchemy stage.
  • Local dev, previews, and production use the same alchemy.run.ts primitive with different configs: dev_<you>, preview_N, or prd.
  • Details: DevOps: Cloudflare, Doppler, And Alchemy.

Talking to OS

Run these from apps/os. Wrap in doppler run --project os --config <config> -- … to target a specific environment; the config supplies URLs and secrets.

oRPC API

OS exposes oRPC at /api/orpc/. The app CLI discovers procedures remotely and authenticates with the config's shared API secret:

# production (default when no DOPPLER_CONFIG is set)
pnpm cli rpc --help

# preview slot 2
doppler run --project os --config preview_2 -- \
  sh -c 'OS_BASE_URL="$APP_CONFIG_BASE_URL" pnpm cli rpc --help'

# local dev server (while pnpm dev is running)
doppler run --project os --config dev_jonas -- \
  pnpm cli rpc --base-url http://localhost:5183 --help

Replace --help with a procedure path to call it.

Claude + project MCP

Open Claude Code against a deployed project's MCP server:

doppler run --project os --config prd -- \
  pnpm cli claude-mcp --project-slug-or-id my-project

The Doppler config picks the environment (prod, preview, your dev tunnel). APP_CONFIG_PROJECT_HOSTNAME_BASES in the config sets the project hostname base (e.g. iterate.app, iterate-preview-3.app); override with --base-host if needed.

More: apps/os README.

Quick start

pnpm install
pnpm dev          # local OS dev server

Before PRs:

pnpm install && pnpm typecheck && pnpm lint && pnpm format && pnpm test

Repository map

Start here: apps/os/

Path What
apps/os/ Main app — product dashboard (os.iterate.com; dev: {user}.iterate-dev.com)
packages/iterate/ iterate CLI — delegates to local source when run inside this repo
docs/ Detailed documentation
tasks/ Work tracking (markdown + frontmatter)
apps/iterate-com/ iterate.com marketing site

Other Cloudflare apps (events, semaphore, example, …) are supporting services — see docs/architecture.md.

Common commands

pnpm dev                      # local OS dev server
pnpm mcp:dev                  # local MCP app against local auth
pnpm --dir apps/auth dev      # auth app only
pnpm os dev                   # same, explicit apps/os path
pnpm test && pnpm typecheck && pnpm lint && pnpm format

Dev server, Doppler, Cloudflare, previews, and deploys: docs/devops-cloudflare-doppler-alchemy-setup.md.

Documentation

Platform & architecture

Development

Deploy & Cloudflare

Tasks & agent docs

App-specific

About

The most hackable AI agent

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages