plato-sdk-v2
Python SDK for the Plato API
What it is and what it does
Plato SDK v2 is a Python client library for the Plato platform, a service that provisions and manages isolated virtual environments (simulators) for testing, evaluation, and automation tasks. It provides both async and sync interfaces to create sessions, spin up environments like Gitea or Kanboard, execute commands within them, and evaluate task completion against predefined test cases. The SDK handles session lifecycle (creation, reset, cleanup), exposes public URLs for browser access, and integrates with Plato's agent system for custom automation workflows.
The package is designed for developers building evaluation frameworks, automated testing pipelines, or custom agents that need to interact with ephemeral environments. It depends on a substantial stack including aiohttp for async HTTP, boto3 for cloud operations, litellm for LLM integration, pydantic for validation, and opentelemetry for observability. Configuration is environment-based (API key and base URL), and agents can be published to Plato's PyPI via CLI commands.
Use it for:
- Create isolated test environments for evaluating agent behavior against predefined test cases with automatic mutation logging and evaluation scoring.
- Spin up simulator instances (Gitea, Kanboard, etc.) for development or testing, then execute shell commands and retrieve state mutations programmatically.
- Build custom agents by subclassing BaseAgent and publish them to Plato's package registry for use in platform VMs.
- Run browser automation workflows by combining Plato environments with the computer-use agent for interactive task completion.
- Monitor environment state and reset individual simulators during test runs without recreating the entire session.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python SDK for the Plato platform that manages sessions, environments, and agents for browser automation and task evaluation within Plato VMs.
Yes, if you are building on the Plato platform or need a managed environment provisioning and evaluation framework. The SDK is actively maintained (released 2 days ago), has low install friction, carries no known vulnerabilities, and is MIT-licensed. The 29 runtime dependencies are substantial but expected for a platform SDK. Install only if you have a Plato API key and are committed to the platform's architecture; it is not a general-purpose automation library.
Install
plato-sdk-v2 on PyPI
pip
pip install plato-sdk-v2uv
uv add plato-sdk-v2poetry
poetry add plato-sdk-v2Installing plato-sdk-v2
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a release 2 days old. Brings 29 runtime dependencies including aiohttp, boto3, litellm, and opentelemetry instrumentation, which adds some weight but is typical for a platform SDK.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.
Quickstart
pip install plato-sdk-v2
import asyncio
from plato.v2 import AsyncPlato, Env
async def main():
plato = AsyncPlato()
session = await plato.sessions.create(
envs=[Env.simulator("gitea", alias="gitea")],
timeout=600,
)
await session.close()
await plato.close()
asyncio.run(main())
Requires Python 3.11 or 3.12. Needs PLATO_API_KEY environment variable or .env file configuration to authenticate with the Plato platform.
Verify before relying
- Whether the 29 runtime dependencies create significant version-conflict risk in existing projects.
- Performance characteristics when managing multiple concurrent environments or sessions.
- Stability guarantees for the Beta development status and how breaking changes are communicated.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<3.14,>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 29 — aiohttp, blake3, boto3, cloudpickle, cryptography, datamodel-code-generator, email-validator, fastmcp, gitpython, google-genai, httpx, jinja2, jsonschema, litellm, openapi-pydantic, opentelemetry-api, opentelemetry-exporter-otlp-proto-http, opentelemetry-instrumentation-system-metrics, opentelemetry-sdk, pathspec, pydantic-settings, pydantic, python-dotenv, pyyaml, requests, rich, tenacity, tomli, typer |
| Maintenance | actively maintained — 2 days since the last release |
| First released | |
| Downloads | 395,602/month — #6,980 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: plato_sdk_v2-2.127.1-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
plato-sdkPlato SDK is a Python client library for…
unclear · top 15,000 on PyPI
terminal-benchTerminal-Bench provides a benchmark suite and…
unclear · top 15,000 on PyPI
openhands-workspaceProvides Python and REST APIs for building…
unclear · top 15,000 on PyPI
composioComposio provides a Python SDK that connects AI…
permissive · top 5,000 on PyPI
xpander-sdkPython SDK for building, deploying, and…
permissive · top 15,000 on PyPI
openhands-sdkOpenHands SDK provides Python and REST APIs for…
unclear · top 5,000 on PyPI
deepagents-cliCommand-line tool for scaffolding, configuring,…
permissive · top 15,000 on PyPI
nemo-gymNeMo Gym provides infrastructure for building,…
permissive · top 5,000 on PyPI
google-adkA Python framework for building, testing, and…
permissive · top 5,000 on PyPI
alita-sdkAlita SDK provides a Python framework for…
permissive · top 15,000 on PyPI