portia‑sdk‑python is an open-source Python SDK by Portia Labs for creating reliable, stateful, authenticated multi-agent AI workflows. It supports tool-backed agents capable of real-world interactions—like web browsing, API access, and human-in-the-loop clarifications—while maintaining transparency and auditability through structured plans and execution hooks. Designed for production environments, the SDK integrates with local or cloud LLMs (e.g. OpenAI, Anthropic, Mistral, Gemini) and supports extensive tool registries, session handling, and memory management.

Features

  • Build multi-step agent plans with declarative PlanBuilder
  • Integrate tools across browsers, APIs, and custom MCP servers
  • Authentication and credential handling via clarification mechanisms
  • Track state and reasoning with PlanRunState for transparency
  • Compatible with multiple LLM providers (OpenAI, Anthropic, Mistral, Gemini)
  • Production-grade features like telemetry, hooks, cloud/local deploy

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Portia SDK Python

Portia SDK Python Web Site

Other Useful Business Software
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Portia SDK Python!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python AI Agent Frameworks

Registered

2025-07-02