Skip to main content

OpenAgentFleet Python SDK & fleetctl CLI

Official Python SDK and command-line management client for OpenAgentFleet — the self-hosted platform for autonomous computer-use agents, where every agent gets its own disposable Linux desktop that streams live into your browser.


📦 Installation

pip install open-agent-fleet

That gives you the agentfleet package and the fleetctl CLI. To work from source instead:

git clone https://github.com/BryantVanOrden/OpenAgentFleet.git
pip install -e OpenAgentFleet/sdk/python

The SDK is a client — it talks to an OpenAgentFleet orchestrator. To run one, see the main README (make up is the whole quickstart).


⚡ Quickstart (Python SDK)

from agentfleet import FleetClient

# Connect to your local or remote orchestrator
fleet = FleetClient("http://localhost:8080", token="your-api-token")

# 1. Deploy a specialized bot archetype
bot = fleet.deploy_bot("cyber_ops", name="security-auditor")
print(f"Spawned {bot.name} (ID: {bot.id})")

# 2. Run an autonomous goal
task = bot.run("Run SAST vulnerability scan and compile CVSS briefing", wait=True)
print(f"Task status: {task.state}")
print(f"Result: {task.result}")

# 3. Launch a collaborative multi-agent swarm
swarm = fleet.launch_swarm(
    name="Fintech Mobile Audit",
    mission="Full-Stack Dev + QA Tester + CyberSec PenTester collaborative sweep",
)

# 4. Pocket TTS Voice Co-Pilot
fleet.speak("All tasks completed successfully, operator.", voice="shadow")

🖥️ Let Oaf use this PC (fleetctl host)

The fleet chat's sessions can act on your own machine, Claude Code-style: a session is bound to a device and a working folder, and Oaf reads and edits files there, runs commands there, and shows every step in the thread.

fleetctl login
fleetctl host --root ~/Code/my-project          # expose one folder
fleetctl host --root ~/Code -r ~/Notes --yes    # several folders, no prompts
  • Paths outside the exposed folders are refused on the device, whatever the orchestrator asks for.
  • A shell command or a file write asks in this terminal first (allow? [y/N]), like Claude Code's permission prompt. --yes auto-approves for a session you trust.
  • The machine polls out; nothing connects in. Ctrl+C disconnects it and Oaf loses the machine.
  • Then, in the console or the app: open a session → device → pick this PC and a folder under one of its roots.

🛠️ Command-Line Interface (fleetctl)

The fleetctl command-line utility provides full administrative control, live telemetry, and system diagnostics:

# 1. Configuration & Authentication
fleetctl config set-url http://localhost:8080
fleetctl login admin@example.com

# 2. Comprehensive Diagnostics & Health Check
fleetctl diagnostics

# 3. List and Inspect Instances
fleetctl list
fleetctl inspect <instance_id>

# 4. Deploy Bots
fleetctl deploy --archetype cyber_ops --name "nightly-scanner"

# 5. Execute Tasks & Stream Live Execution
fleetctl run <instance_id> "Refactor backend authentication and run unit tests" --wait

# 6. Multi-Agent Swarm Mission Control
fleetctl swarm list
fleetctl swarm launch --name "Security Sweep" --mission "Penetration test staging endpoints"
fleetctl swarm watch <swarm_id>

# 7. Real-Time Pocket TTS Voice
fleetctl voice list
fleetctl voice speak "System operational and standing by." --voice shadow

# 8. Webhook & Autopilot Sinks
fleetctl webhooks list
fleetctl webhooks trigger github-pr-sync --data '{"pr": 42}'

Release files for open-agent-fleet 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for open-agent-fleet 1.2.0
File Size Uploaded
open_agent_fleet-1.2.0.tar.gz 36.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for open-agent-fleet 1.2.0
File Interpreter ABI Platform
open_agent_fleet-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 64.7 kB

Release files / open_agent_fleet-1.2.0.tar.gz

Download URL open_agent_fleet-1.2.0.tar.gz
Size 36.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ba2d828f890e9a4e23b5f40cf3ba6abab00a95fd0717473364ef01435366e39c
BLAKE2b-256 checksum
How to use checksums
b3e57f3632c5cc69c9e5ff1c473f13412cea26552dba9927865619b6443b80bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release files / open_agent_fleet-1.2.0-py3-none-any.whl

Download URL open_agent_fleet-1.2.0-py3-none-any.whl
Size 28.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf99f4ccafa28b42a5435a25f5bf46b03f584e5e15877a5a91783667746ff3fd
BLAKE2b-256 checksum
How to use checksums
46e9670f852075ce6b6d3dd2d507418f7152062bb5e748505bbe8fbdff72d0c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

1.3.0

2 release files

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page