Skip to main content

Polos SDK for Python - Durable Agent Execution

Project description

Polos Python SDK

Durable execution engine for Python. Build reliable AI agents and workflows that can survive failures, handle long-running tasks, and coordinate complex processes.

Features

  • 🤖 AI Agents - Build LLM-powered agents with tool calling, streaming, and conversation history
  • 🔄 Durable Workflows - Workflows survive failures and resume from checkpoints
  • Long-Running - Execute workflows that run for hours or days
  • 🔗 Workflow Orchestration - Chain workflows together and build complex processes
  • 🛠️ Tools - Define reusable tools that agents can call
  • 🐍 Native Python - Async/await support, type hints, and Pythonic APIs
  • 📊 Observability - Built-in tracing, events, and monitoring

Installation

pip install polos-sdk

Or with UV (recommended):

uv add polos-sdk

Optional Dependencies

Install provider-specific dependencies for LLM support:

# OpenAI
pip install polos-sdk[openai]

# Anthropic
pip install polos-sdk[anthropic]

# Google Gemini
pip install polos-sdk[gemini]

# Groq
pip install polos-sdk[groq]

# Fireworks
pip install polos-sdk[fireworks]

# Together AI
pip install polos-sdk[together]

# All providers
pip install polos-sdk[openai,anthropic,gemini,groq,fireworks,together]

Quick Start

Use the quickstart guide at https://docs.polos.dev to get started in minutes.

License

Apache-2.0 - see LICENSE for details.

Support


Built with ❤️ by the Polos team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polos_sdk-0.1.9.tar.gz (219.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polos_sdk-0.1.9-py3-none-any.whl (151.6 kB view details)

Uploaded Python 3

File details

Details for the file polos_sdk-0.1.9.tar.gz.

File metadata

  • Download URL: polos_sdk-0.1.9.tar.gz
  • Upload date:
  • Size: 219.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for polos_sdk-0.1.9.tar.gz
Algorithm Hash digest
SHA256 ceb32e66a86202c9f65a7b5462f5bd6eca796a2ab92decdf96c383a39810b524
MD5 411f982c34440be73d35040e4c4a9520
BLAKE2b-256 0ecec05a8b6e5ff894448643239c51bc6eedb5c2b077332a58d5c67a2ae55440

See more details on using hashes here.

File details

Details for the file polos_sdk-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: polos_sdk-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 151.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for polos_sdk-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 491ec17987f6045b4b403990982e55cd2a3e028129a28141657a9895d8bb4af4
MD5 1c009e36cee725a748def3087731dd46
BLAKE2b-256 5097a4d39c7f3a9b1dd923af34a7a0a73dda769c5da31367ea38231b125a7654

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page