# Overwing Tower

> A decision, permission and receipt layer that lets AI agents operate legacy business systems. The agent asks for a typed operation. Tower rules on it: execute it, send it to a person, or refuse it. Every step is recorded in a signed receipt.

## Status

Tower is in pilot. The order-entry workflow runs against a mock IBM i adapter. No adapter to a production legacy system is available yet; adapters are built per pilot.

## How it works

1. **The organization sets up.** It loads a workflow and creates an agent identity scoped to the operations that agent may call.
2. **The agent asks what it may do.** Each operation comes with the JSON Schema its input must match.
3. **The agent submits an action** with an idempotency key. Repeating the key returns the original outcome.
4. **Tower decides.** Deterministic checks run first, then policy questions are scored. The outcome is auto, review or reject.
5. **A person reviews** what needs review, in a queue.
6. **Every step is receipted.** Receipts are hash-chained per organization and signed with Ed25519. Anyone holding the public key can verify the chain.

## Endpoints

| Call | Key | Purpose |
|---|---|---|
| `POST /api/v1/tower/template` | organization | Load the starter workflow |
| `POST /api/v1/tower/agents` | organization | Create an agent; its key is returned once |
| `GET /api/v1/tower/capabilities` | agent | Operations the agent may call |
| `POST /api/v1/tower/decide` | agent | A ruling with no side effects |
| `POST /api/v1/tower/actions` | agent | Request an action: executed, pending review, or rejected |
| `POST /api/v1/tower/actions/{id}/compensate` | agent | Undo an executed action, once |
| `GET /api/v1/tower/receipts/verify` | agent | Recompute the chain's hashes and signatures |

## Pricing

$0.25 per executed action, metered monthly. 1,000 decisions and dry runs are free each month. Rejected and pending actions are not charged.

## Design-partner pilot

90 days, one workflow, on your own system. Unlimited decisions and dry runs, 1,000 live writes included, and the outbound adapter for your system built as part of it. No fee for the first 2 design partners, in exchange for a reference if it works. Apply: https://overwing.ai/products/tower#pilot.

Guide: https://overwing.ai/llms.txt. Reference: https://overwing.ai/docs.md.
