Portia AI

Portia AI

Open-source framework for building reliable AI agents with human-in-the-loop support

Open Source Expert Systems API Python TypeScript API
Visit Product
433 upvotes 438 views

About

Portia AI is an open-source framework for building AI agents that require human oversight at critical decision points. Unlike fully autonomous agent frameworks, Portia takes a human-centric approach: agents execute automatically where confidence is high but pause and request human input when they encounter ambiguity, insufficient permissions, or high-stakes decisions — creating a collaborative human-AI workflow.

The framework introduces "clarifications" as a first-class concept: structured requests from the agent to the human for additional information, approval, or guidance. This makes agents significantly more reliable in production because they don't silently make wrong assumptions or take irreversible actions without appropriate review. The result is AI that is both more capable (able to handle complex tasks) and more trustworthy.

Portia integrates with all major LLM providers and the growing ecosystem of MCP (Model Context Protocol) servers for tool access. Its clear separation of agent planning, tool execution, and human interaction layers makes it easy to build, test, and debug complex agent workflows.

Product Features

- Human-in-the-loop interruption at ambiguous decision points
- Structured clarification requests with context
- Planning and execution phase separation
- MCP server integration for tools
- Support for OpenAI, Anthropic, and open models
- Cloud storage for agent state and memory
- TypeScript and Python SDKs
- Workflow visualization and debugging tools
- Permission-based action approval workflow
- Comprehensive logging for compliance

About the Publisher

Portia AI was founded by a team of AI safety researchers and engineers committed to building AI agent technology that keeps humans appropriately in control. The company's philosophy centers on the belief that the most valuable AI agents are not fully autonomous but intelligently collaborative — knowing when to act independently and when to involve their human partners. Portia's open-source release reflects the founders' belief that responsible AI agent development should be a community endeavor.