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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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