AI Worker worker.md

sre

The SmythOS Runtime Environment (SRE) is an open-source, cloud-native runtime for agentic AI. Secure, modular, and production-ready, it lets developers build, run, and manage intelligent agents acr...

Tool registry 1,248 stars TypeScript MIT Worker-compatible

Source#

  • Repository: SmythOS/sre
  • Last source update: 2026-04-04
  • Last verified: 2026-04-05

Tags#

agent-frameworkagentsagiaiai-agentsartificial-intelligence

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: sre-repo-derived-worker
name: sre Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/sre/
source_repository: https://github.com/SmythOS/sre
repository_default_branch: main
repository_language: TypeScript
repository_license: MIT
repository_updated_at: 2026-04-04
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.95
derived_on: 2026-04-05
tags:
  - agent-framework
  - agents
  - agi
  - ai
  - ai-agents
  - artificial-intelligence
---

# sre Repo-Derived Worker

## Repo-derived summary
- Registry summary: The SmythOS Runtime Environment (SRE) is an open-source, cloud-native runtime for agentic AI. Secure, modular, and production-ready, it lets developers build, run, and manage intelligent agents acr...
- Repository description: The SmythOS Runtime Environment (SRE) is an open-source, cloud-native runtime for agentic AI. Secure, modular, and production-ready, it lets developers build, run, and manage intelligent agents across local, cloud, and edge environments.
- Stars (snapshot): 1,248
- Primary language: TypeScript
- Worker mode classification: agent-orchestration-worker

## Extracted from
- https://github.com/SmythOS/sre
- https://github.com/SmythOS/sre/blob/main/README.md
- https://smythos.github.io/sre/sdk/
- https://smythos.github.io/sre/core/
- https://github.com/SmythOS/sre-project-templates

## Evidence notes (from repository text)
- README summary paragraph: Reliable Agent Engineering starts with great, open source infrastructure. This repository contains the **Smyth Runtime Environment** Kernel (SRE), the **Software Development Kit** (SDK) and **Command Line Interface** (CLI) for running agents and creating them with code. If you prefer visual drag & drop agent interfaces instead, check out our open source https://github.com/SmythOS/smythos-studio! Great community, support, tutorials. Start in minutes!
- The operating system layer AI agents have been missing.
- Inspired by the architecture of operating system kernels, SmythOS provides a robust and scalable foundation for agent orchestration and lifecycle management, giving every builder the tools to act, not just imagine.
- https://smythos.github.io/sre/sdk/  |  https://smythos.github.io/sre/core/  |  [Code Examples](examples)  |  [Contributing](CONTRIBUTING.md)
- 1. Shipping production-ready AI agents shouldn’t feel like rocket science.
- 4. The coming Internet of Agents must stay open and accessible to everyone.

## Installation hints found in README
- `npm install @smythos/sdk`

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

Source URL: https://github.com/SmythOS/sre