Cori
Contributing

Build and test

How to build the Cori CLI, run lints and tests, and run the binary end-to-end locally.

Prerequisites

  • Rust toolchain (see MSRV in root Cargo.toml)
  • Node.js ≥ 20
  • pnpm (npm install -g pnpm)

Build the CLI

cargo build
# or for a release build:
cargo build --release

The binary is at target/debug/cori (or target/release/cori).

Lint

cargo clippy --all-targets --all-features

For TypeScript packages:

pnpm lint

Unit tests

cargo test

For TypeScript packages:

pnpm test

Integration tests (Temporal required)

Integration tests require a running Temporal dev server:

temporal server start-dev

Then in a separate terminal:

cargo test --features integration

Run the binary end-to-end

# From the repo root, build first:
cargo build

# Run the hello_world example:
./target/debug/cori run examples/hello_world

# Check the translate example:
./target/debug/cori check examples/translate_product_sheets_fr

TypeScript SDK development

cd packages/sdk
pnpm install
pnpm build
pnpm test

Skill development

cd packages/skill
pnpm install
pnpm build

Refer to AGENTS.md in the repository root for the authoritative build instructions and any recent changes.

On this page