AI Worker worker.md

chidori

The agent framework where every run is durable, replayable, and resumable by default.

Agent framework 1,361 stars Rust Apache-2.0 Worker-compatible

Source#

Tags#

agent-frameworkagentsaicheckpointingdeterministicdurable-execution

Integration notes#

Framework-level abstraction; derive bounded worker contracts from concrete tasks and APIs in docs/examples.

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: chidori-repo-derived-worker
name: chidori Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/chidori/
source_repository: https://github.com/ThousandBirdsInc/chidori
repository_default_branch: main
repository_language: Rust
repository_license: Apache-2.0
repository_updated_at: 2026-07-29
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.95
derived_on: 2026-08-02
tags:
  - agent-framework
  - agents
  - ai
  - checkpointing
  - deterministic
  - durable-execution
---

# chidori Repo-Derived Worker

## Repo-derived summary
- Registry summary: The agent framework where every run is durable, replayable, and resumable by default.
- Repository description: The agent framework where every run is durable, replayable, and resumable by default.
- Stars (snapshot): 1,361
- Primary language: Rust
- Worker mode classification: agent-orchestration-worker

## Extracted from
- https://github.com/ThousandBirdsInc/chidori
- https://github.com/ThousandBirdsInc/chidori/blob/main/README.md
- https://github.com/ThousandBirdsInc/chidori/releases/latest
- https://www.npmjs.com/package/@1kbirds/chidori
- https://pypi.org/project/chidori/

## Evidence notes (from repository text)
- README summary paragraph: The agent framework where every run is durable, replayable, and resumable by default.
- The agent framework where every run is durable, replayable, and resumable by default.
- Write agents as plain async TypeScript. Every side effect — every LLM call, tool call, and
- pure-Rust JavaScript engine, and TypeScript + Python SDKs. No Node, no DSL, no native bindings.
- **Agents are non-deterministic, expensive, and long-running.** That combination
- Most frameworks layer orchestration *on top of* this chaos. **Chidori removes it

## Installation hints found in README
- `npm install -D @1kbirds/chidori`, or add`
- `npm install && npm run dev`

## 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: chidori-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/chidori/

Source URL: https://github.com/ThousandBirdsInc/chidori