AI Worker worker.md

Trellis

All-in-one AI framework & toolkit

Automation platform 2,897 stars Python AGPL-3.0 Worker-compatible

Source#

Tags#

ai-agentai-codingclaude-codeclicodexcursor

Integration notes#

Repository is workflow-oriented; map each workflow step to explicit worker contracts for predictability.

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: trellis-repo-derived-worker
name: Trellis Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/trellis/
source_repository: https://github.com/mindfold-ai/Trellis
repository_default_branch: main
repository_language: Python
repository_license: AGPL-3.0
repository_updated_at: 2026-03-01
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.95
derived_on: 2026-03-01
tags:
  - ai-agent
  - ai-coding
  - claude-code
  - cli
  - codex
  - cursor
---

# Trellis Repo-Derived Worker

## Repo-derived summary
- Registry summary: All-in-one AI framework & toolkit
- Repository description: All-in-one AI framework & toolkit
- Stars (snapshot): 2,897
- Primary language: Python
- Worker mode classification: agent-orchestration-worker

## Extracted from
- https://github.com/mindfold-ai/Trellis
- https://github.com/mindfold-ai/Trellis/blob/main/README.md
- https://api.star-history.com/svg?repos=mindfold-ai/Trellis&type=Date
- https://docs.trytrellis.app/
- https://github.com/mindfold-ai/Trellis/issues

## Evidence notes (from repository text)
- README summary paragraph: All-in-one AI framework & toolkit for Claude Code, Cursor, Gemini CLI, iFlow, Codex, Kilo, Kiro & Antigravity Wild AI ships nothing.
- All-in-one AI framework & toolkit for Claude Code, Cursor, Gemini CLI, iFlow, Codex, Kilo, Kiro & Antigravity
- | **Auto-Injection** | Required specs and workflows auto-inject into every conversation. Write once, apply forever |
- | **Parallel Sessions** | Run multiple agents in tandem - each in its own worktree |
- # Or include Antigravity workflow support
- ├── workflow.md # Workflow guide (auto-injected on start)

## Installation hints found in README
- `npm install -g @mindfoldhq/trellis@latest`

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

Source URL: https://github.com/mindfold-ai/Trellis