AI Worker worker.md

mirascope

The LLM Anti-Framework

Agent framework 1,421 stars TypeScript NOASSERTION Worker-compatible

Source#

Tags#

artificial-intelligencedeveloper-toolsfunction-callinghacktoberfestllmllm-agent

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: mirascope-repo-derived-worker
name: mirascope Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/mirascope/
source_repository: https://github.com/Mirascope/mirascope
repository_default_branch: main
repository_language: TypeScript
repository_license: NOASSERTION
repository_updated_at: 2026-03-01
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.9
derived_on: 2026-03-01
tags:
  - artificial-intelligence
  - developer-tools
  - function-calling
  - hacktoberfest
  - llm
  - llm-agent
---

# mirascope Repo-Derived Worker

## Repo-derived summary
- Registry summary: The LLM Anti-Framework
- Repository description: The LLM Anti-Framework
- Stars (snapshot): 1,421
- Primary language: TypeScript
- Worker mode classification: agent-orchestration-worker

## Extracted from
- https://github.com/Mirascope/mirascope
- https://github.com/Mirascope/mirascope/blob/main/README.md
- https://mirascope.com/docs
- https://github.com/Mirascope/mirascope/tree/main/LICENSE

## Evidence notes (from repository text)
- README summary paragraph: Welcome to Mirascope, which allows you to use any frontier LLM with one unified interface.
- @llm.call("anthropic/claude-sonnet-4-5", tools=[get_available_books], format=Book)
- response = response.resume(response.execute_tools())

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

Source URL: https://github.com/Mirascope/mirascope