AI Worker worker.md

Hypha

Harness-oriented agent system framework for production-grade LLM agent applications

Tool registry 418 stars TypeScript Apache-2.0 Worker-compatible

Source#

  • Repository: CodeSoul-co/Hypha
  • Last source update: 2026-08-16
  • Last verified: 2026-08-16

Tags#

agent-frameworkagent-harnessagent-memoryagent-runtimeai-agentscache

Integration notes#

Repository is focused on tool/server interoperability; wrap in bounded worker contracts for production use.

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: hypha-repo-derived-worker
name: Hypha Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/hypha/
source_repository: https://github.com/CodeSoul-co/Hypha
repository_default_branch: main
repository_language: TypeScript
repository_license: Apache-2.0
repository_updated_at: 2026-08-16
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.9
derived_on: 2026-08-16
tags:
  - agent-framework
  - agent-harness
  - agent-memory
  - agent-runtime
  - ai-agents
  - cache
---

# Hypha Repo-Derived Worker

## Repo-derived summary
- Registry summary: Harness-oriented agent system framework for production-grade LLM agent applications
- Repository description: Harness-oriented agent system framework for production-grade LLM agent applications
- Stars (snapshot): 418
- Primary language: TypeScript
- Worker mode classification: agent-orchestration-worker

## Extracted from
- https://github.com/CodeSoul-co/Hypha
- https://github.com/CodeSoul-co/Hypha/blob/main/README.md
- https://codesoul-co.github.io/Hypha/
- https://codesoul-co.github.io/Hypha/packages/
- https://hypha.code-soul.com/

## Evidence notes (from repository text)
- README summary paragraph: Agent Core + Production Harness for governed, durable, and reusable domain agents.
- Agent Core + Production Harness for governed, durable, and reusable domain agents.
- hypha is an open-source TypeScript framework built around two cooperating layers: an **Agent Core**
- and a **Production Harness**. The Agent Core handles reasoning/ReAct, planning, tool selection, Memory
- access, and model/context orchestration; the Production Harness turns those decisions into bounded,
- DomainPack compiles tasks, workflows, capabilities, prompts, Memory, policy, evaluation, and output

## Installation hints found in README
- No explicit package installation command detected in README text.

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

Source URL: https://github.com/CodeSoul-co/Hypha