AI Worker worker.md

Foundry

The foundation layer for agentic intelligence.

Tool registry 894 stars Python Apache-2.0 Worker-compatible

Source#

Tags#

agent-frameworkagent-runtimeagentic-aiagentsaiai-agents

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: foundry-repo-derived-worker
name: Foundry Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/foundry/
source_repository: https://github.com/promptise-com/Foundry
repository_default_branch: main
repository_language: Python
repository_license: Apache-2.0
repository_updated_at: 2026-10-28
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.95
derived_on: 2026-11-01
tags:
  - agent-framework
  - agent-runtime
  - agentic-ai
  - agents
  - ai
  - ai-agents
---

# Foundry Repo-Derived Worker

## Repo-derived summary
- Registry summary: The foundation layer for agentic intelligence.
- Repository description: The foundation layer for agentic intelligence.
- Stars (snapshot): 894
- Primary language: Python
- Worker mode classification: agent-orchestration-worker

## Extracted from
- https://github.com/promptise-com/Foundry
- https://github.com/promptise-com/Foundry/blob/main/README.md
- https://docs.promptise.com/
- https://docs.promptise.com/getting-started/quickstart/
- https://docs.promptise.com/resources/examples/

## Evidence notes (from repository text)
- README summary paragraph: **https://www.promptise.com**  ·  **https://docs.promptise.com/**  ·  **https://docs.promptise.com/getting-started/quickstart/**  ·  **https://www.promptise.com/how-it-works**  ·  **https://docs.promptise.com/resources/examples/**  ·  **https://github.com/promptise-com/foundry/discussions**
- **The framework for agentic intelligence.**
- Start with one agent on your laptop and grow it into a fleet running real work, with the same framework and the same way of building all the way through. No rewrite in between, and nothing to stitch together yourself.
- | **Agent** · *it thinks* | Agents that work through a task step by step, check their own work and get it right. |
- | **Interface** · *it acts* | Safe access to your tools, your data and the systems you already run. |
- | **Harness** · *it operates* | Keeps your agents running around the clock, within budget, and accountable for everything they do. |

## Installation hints found in README
- `pip install promptise`

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

Source URL: https://github.com/promptise-com/Foundry