Metadata-Version: 2.4
Name: directops-operator
Version: 0.1.9
Summary: DirectOps Operator — connects your machine to the DirectOps Director
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: websockets>=12.0
Requires-Dist: cryptography>=41.0
Provides-Extra: director
Requires-Dist: anthropic>=0.40.0; extra == "director"
Requires-Dist: python-dotenv>=1.0.0; extra == "director"
Requires-Dist: httpx>=0.27.0; extra == "director"
Requires-Dist: aiosqlite>=0.20.0; extra == "director"
Requires-Dist: fastapi>=0.115.0; extra == "director"
Requires-Dist: uvicorn[standard]>=0.30.0; extra == "director"
Requires-Dist: openai>=1.0.0; extra == "director"
Requires-Dist: sqlalchemy[asyncio]>=2.0.0; extra == "director"
Requires-Dist: asyncpg>=0.30.0; extra == "director"
Requires-Dist: PyJWT[crypto]>=2.8.0; extra == "director"

# directops-operator

Connect your machine to a [DirectOps](https://directops.io) Director and let it execute AI-planned tasks on your own hardware.

## What it does

DirectOps is a distributed agent control plane. You install the **Operator** on any machine you own. A hosted **Director** (running Claude + Devstral) plans goals and dispatches tasks to your Operators over an encrypted DOPS connection. Your machines run the tasks; no code or files leave your hardware.

```
Your machine                    Director (cloud)
┌─────────────────┐             ┌─────────────────────────┐
│  Operator CLI   │◄────DOPS────│  Claude (plan)          │
│  (this package) │   (TLS)     │  Devstral (generate)    │
│  filesystem     │             │  FastAPI + Neon DB       │
└─────────────────┘             └─────────────────────────┘
```

## Quick install

```bash
curl -sSL https://directops.io/install.sh | bash
```

The installer checks Python, installs this package, probes your available tools (git, docker, msmtp, etc.), and optionally sets up a systemd service.

## Manual install

```bash
pip install directops-operator
directops-operator --host director.directops.io --port 9000 --token YOUR_TOKEN --name "my-machine"
```

## Requirements

- Python 3.9+
- No API keys needed — all model calls happen on the Director side

## Security

- All Director↔Operator traffic is TLS-encrypted (DOPS protocol)
- Your Operator token is issued by the Director and scoped to your account
- No API keys, no model calls, no cloud sandbox — your filesystem, your control

## License

Proprietary. All rights reserved. © 2026 DivineFlow AI.
