Monorepo for the OpenRouter TypeScript agent ecosystem.
| Package | Path | Description |
|---|---|---|
@openrouter/agent |
packages/agent |
Agent toolkit for building AI applications with OpenRouter — tool orchestration, streaming, multi-turn conversations, and format compatibility. |
This repo uses pnpm workspaces and Turborepo for task orchestration.
pnpm install # install all workspace dependencies
pnpm run lint # Biome check across all packages
pnpm run typecheck # TypeScript noEmit across all packages
pnpm run build # tsc across all packages
pnpm run test # vitest unit projects across all packages
pnpm run test:e2e # vitest e2e projects (requires OPENROUTER_API_KEY)Turbo caches task results; re-running an unchanged task replays cached output.
Releases are driven by Changesets. Each PR that ships a user-visible change should include a changeset:
pnpm changesetPick the affected packages and bump type. On merge to main, the release workflow opens a "Version Packages" PR. Merging that PR publishes every package with a consumed changeset to npm — no republishing of unchanged packages.
See .github/workflows/publish.yaml for the full flow.