Skip to main content
Pass a string like compute="e2b" and PraisonAI resolves it to a provider; if the provider isn’t installed, the SDK raises ImportError with the exact command to fix it.

Quick Start

1

Pick a provider by name

2

Not installed? Follow the hint


Provider matrix

Every name resolves to one of three families, each with its own install shape.
All install hints are single-quoted (pip install 'praisonai[e2b]') to match what the SDK prints and to avoid zsh: no matches found: praisonai[e2b] on copy-paste. As of PR #4073 the e2b, docker, and daytona extras are real — earlier releases printed those commands but installed nothing.

Why three families?

The install shape follows what each provider needs at runtime.

How resolution works

resolve_compute() maps the string to a provider, then imports it lazily so a missing SDK only fails when you actually use that name.

Common Patterns

Switch provider from an env var

Read the target from configuration so the agent code never changes.

Credential-only providers need no install

Fly.io and Tenki resolve with just a token exported.

Best Practices

Shells like zsh treat praisonai[e2b] as a glob. Copy-paste pip install 'praisonai[e2b]' exactly as the SDK prints it to avoid no matches found.
If pip warns does not provide the extra 'e2b', you are on a pre-PR #4073 release where the extra was absent or empty. Upgrade praisonai — the fix makes the extra real.
novita, sandlock, and ssh resolve through SandboxComputeAdapter, so the sandbox package alone is enough — pip install 'praisonai-sandbox[<vendor>]'.
ssh needs connection details a plain string cannot carry. Pass SSHSandbox(host='...', user='...') to compute= so it can carry the host.

Hosted Compute Runtimes

HostedAgent(provider="...") for full-loop hosting.

Sandbox Backends

The sandbox-side view of the same registry.

Compute Provider Plugins

Ship your own provider via the praisonai.compute entry-point.

Tenki Cloud

Credential-only compute with disposable microVMs.