Choose your path

Compare Service, Harness, and Harness UI by execution model, persistence, and target audience to pick the right entry point.

Agent Foundation provides one core execution engine—Harness—and three ways to use it: as an embeddable Python SDK, as an interactive developer workbench (Harness UI), or as a self-hosted team platform (Service).

Pick the entry point that matches what you want to build or run first:

Your goalWhat you needStart here
Deploy a shared agent platform for your teamDocker Compose and a model provider API keyService quickstart
Use agents on an existing team deploymentConsole URL, an account, and workspace run permissionUse Console
Call managed agents from your applicationService URL, workspace API key, and a saved agentConnect your application
Deliver a self-hosted agent workflow in a customer cloudCustomer infrastructure access and approved model accountsForward deployed engineering
Embed agent execution inside your Python applicationPython 3.13+ and uv (starts with an offline model)Harness quickstart
Work interactively with an agent in your repositoryHarness UI and a model subscription or API keyHarness UI setup

Compare execution models

All three products run agents with Harness, but they divide responsibility for identity, storage, and process lifecycle differently:

DimensionServiceHarnessHarness UI
Primary audiencePlatform engineers, team admins, and application teamsPython developers building custom agent backendsIndividual developers, DIY builders, and trusted small teams
Where agents runDedicated worker processes leasing runs from PostgreSQLDirectly inside your Python application processYour local machine or connected Environment
Who owns state & authService manages organizations, workspaces, RBAC, credentials, and checkpointsYour application owns authentication, authorization, and database persistenceLocal SQLite database and YAML configuration shared within the trusted instance
When a client disconnectsWorkers keep accepted runs executing in the backgroundYour application controls task cancellation and background executionWebUI server keeps active runs going when a browser tab closes
Browser interfaceConsole (multi-tenant workspace management and debugging)Your own frontend (or AG-UI via Stream Protocol)WebUI (shared conversations, files, Git changes, and terminals)

To call a running Service deployment from your product, install a Service SDK (Python, TypeScript, Go, or Rust). To execute agents inside your own Python process, install a13n-harness.

Use standalone building blocks

You can also use Agent Foundation's lower-level packages independently in any Python or Rust system:

NeedComponent & Guide
Read files, run shell commands, and manage processes across local directories, Docker, and cloud sandboxesEnvironments
Enforce OS-level sandboxing, egress domain policies, computer use, and device telemetry over EIPEnvd
Translate Harness execution events into typed AG-UI streams with checkpoint replayStream Protocol
Configure structured JSON and console logging across libraries and executablesLogging
Look up PyPI distribution names, Python import paths, and runnable example applicationsPackage catalog

On this page