Skip to main content

No project description provided

Project description

Parlant - AI Agent Framework

Finally, LLM agents that actually follow instructions

🌐 Website⚡ Quick Start💬 Discord📖 Examples

PyPI Python 3.10+ License Discord GitHub Repo stars

Trending on TrendShift

🎯 The Problem Every AI Developer Faces

You build an AI agent. It works great in testing. Then real users start talking to it and...

  • ❌ It ignores your carefully crafted system prompts
  • ❌ It hallucinates responses in critical moments
  • ❌ It can't handle edge cases consistently
  • ❌ Each conversation feels like a roll of the dice

Sound familiar? You're not alone. This is the #1 pain point for developers building production AI agents.

⚡ The Solution: Teach Principles, Not Scripts

Parlant flips the script on AI agent development. Instead of hoping your LLM will follow instructions, Parlant guarantees it.

# Traditional approach: Cross your fingers 🤞
system_prompt = "You are a helpful assistant. Please follow these 47 rules..."

# Parlant approach: Guaranteed compliance ✅
await agent.create_guideline(
    condition="Customer asks about refunds",
    action="Check order status first to see if eligible",
    tools=[check_order_status],
)

🚀 Get Your Agent Running in 60 Seconds

pip install parlant
import parlant.sdk as p

@p.tool
async def get_weather(context: p.ToolContext, city: str) -> p.ToolResult:
    # Your weather API logic here
    return p.ToolResult(f"Sunny, 72°F in {city}")

async def main():
    async with p.Server() as server:
        agent = await server.create_agent(
            name="WeatherBot",
            description="Helpful weather assistant"
        )

        # Define behavior with natural language
        await agent.create_guideline(
            condition="User asks about weather",
            action="Get current weather and provide a friendly response with suggestions",
            tools=[get_weather]
        )

        # 🎉 Agent ready at http://localhost:8800

if __name__ == "__main__":
    import asyncio
    asyncio.run(main())

That's it! Your agent is running with guaranteed rule-following behavior.

🎬 See It In Action

Parlant Demo

🔥 Why Developers Are Switching to Parlant

🏗️ Traditional AI Frameworks

  • Write complex system prompts
  • Hope the LLM follows them
  • Debug unpredictable behaviors
  • Scale by adding more prompt engineering
  • Cross fingers for production reliability

Parlant

  • Define rules in natural language
  • Guaranteed rule compliance
  • Predictable, consistent behavior
  • Scale by adding more guidelines
  • Production-ready reliability from day one

🎯 Perfect For Your Use Case

Financial Services Healthcare E-commerce Legal Tech
Compliance-first design HIPAA-ready agents Customer service at scale Precise legal guidance
Risk management built-in Patient data protection Order processing automation Document review assistance

🛠️ Enterprise-Grade Features

  • 🎯 Dynamic Guideline Matching - Context-aware rule application
  • 🔧 Reliable Tool Integration - APIs, databases, external services
  • 📊 Conversation Analytics - Deep insights into agent behavior
  • 🔄 Iterative Refinement - Continuously improve agent responses
  • 🛡️ Built-in Guardrails - Prevent hallucination and off-topic responses
  • 📱 React Widget - Drop-in chat UI for any web app
  • 🔍 Full Explainability - Understand every decision your agent makes

📈 Join 1000+ Developers Building Better AI

Companies using Parlant in production:

Financial institutions • Healthcare providers • Legal firms • E-commerce platforms

Star History Chart

🏃‍♂️ Quick Start Paths

🎯 I want to test it myself → 5-minute quickstart
🛠️ I want to see an example → Healthcare agent example
🚀 I want to get involved → Join our Discord community

🌟 What Developers Are Saying

"Finally! An AI framework that actually works in production. Parlant solved our consistency issues overnight." > — Sarah Chen, Lead AI Engineer @ FinTech Startup

"The difference is night and day. Our agents went from 60% accuracy to 95%+ with Parlant's guideline system." > — Marcus Rodriguez, CTO @ HealthTech Company

🤝 Community & Support

📄 License

Apache 2.0 - Use it anywhere, including commercial projects.


Ready to build AI agents that actually work?

Star this repo • 🚀 Try Parlant now • 💬 Join Discord

Built with ❤️ by the team at Emcie

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

parlant-3.0.0.tar.gz (18.5 MB view details)

Uploaded Source

Built Distribution

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

parlant-3.0.0-py3-none-any.whl (18.9 MB view details)

Uploaded Python 3

File details

Details for the file parlant-3.0.0.tar.gz.

File metadata

  • Download URL: parlant-3.0.0.tar.gz
  • Upload date:
  • Size: 18.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.5 Darwin/24.5.0

File hashes

Hashes for parlant-3.0.0.tar.gz
Algorithm Hash digest
SHA256 80ca8905bfe6367bc97d1c059697a8de4f67276e278daec21f6d4276892c0dad
MD5 521aa79bf85dfb785492f1b3869c9b5d
BLAKE2b-256 3edb7c390d70c5e54e1e2e3e8678eaa672e48b8696808351939ddad43d87bf23

See more details on using hashes here.

File details

Details for the file parlant-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: parlant-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.5 Darwin/24.5.0

File hashes

Hashes for parlant-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fce5513aac97c3bc510cf449a5b4885fae125c536df11e05da4db02f7a326f5
MD5 a3ad5a73cadb60bd0b2533c9053478e4
BLAKE2b-256 7eb83bcb08ed69a0d89e071d7d6877d10f77852672fcd9b6290fe01e7046cb25

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