# parlant **Repository Path**: cloud-aios/parlant ## Basic Information - **Project Name**: parlant - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-19 - **Last Updated**: 2025-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: ๅŽŸๅž‹่ฎพ่ฎก ## README
Parlant - AI Agent Framework

Finally, LLM agents that actually follow instructions

๐ŸŒ Website โ€ข โšก Quick Start โ€ข ๐Ÿ’ฌ Discord โ€ข ๐Ÿ“– Examples

Deutsch | Espaรฑol | franรงais | ๆ—ฅๆœฌ่ชž | ํ•œ๊ตญ์–ด | Portuguรชs | ะ ัƒััะบะธะน | ไธญๆ–‡

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: Stop Fighting Prompts, Teach Principles Parlant flips the script on AI agent development. Instead of hoping your LLM will follow instructions, **Parlant ensures it**. ```python # Traditional approach: Cross your fingers ๐Ÿคž system_prompt = "You are a helpful assistant. Please follow these 47 rules..." # Parlant approach: Ensured compliance โœ… await agent.create_guideline( condition="Customer asks about refunds", action="Check order status first to see if eligible", tools=[check_order_status], ) ``` [โœ… Blog: How Parlant Ensures Agent Compliance](https://www.parlant.io/blog/how-parlant-guarantees-compliance) #### Parlant gives you all the structure you need to build customer-facing agents that behave exactly as your business requires: - **[Journeys](https://parlant.io/docs/concepts/customization/journeys)**: Define clear customer journeys and how your agent should respond at each step. - **[Behavioral Guidelines](https://parlant.io/docs/concepts/customization/guidelines)**: Easily craft agent behavior; Parlant will match the relevant elements contextually. - **[Tool Use](https://parlant.io/docs/concepts/customization/tools)**: Attach external APIs, data fetchers, or backend services to specific interaction events. - **[Domain Adaptation](https://parlant.io/docs/concepts/customization/glossary)**: Teach your agent domain-specific terminology and craft personalized responses. - **[Canned Responses](https://parlant.io/docs/concepts/customization/canned-responses)**: Use response templates to eliminate hallucinations and guarantee style consistency. - **[Explainability](https://parlant.io/docs/advanced/explainability)**: Understand why and when each guideline was matched and followed.
## ๐Ÿš€ Get Your Agent Running in 60 Seconds
```bash pip install parlant ``` ```python 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}") @p.tool async def get_datetime(context: p.ToolContext) -> p.ToolResult: from datetime import datetime return p.ToolResult(datetime.now()) async def main(): async with p.Server() as server: agent = await server.create_agent( name="WeatherBot", description="Helpful weather assistant" ) # Have the agent's context be updated on every response (though # update interval is customizable) using a context variable. await agent.create_variable(name="current-datetime", tool=get_datetime) # Control and guide agent 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] ) # Add other (reliably enforced) behavioral modeling elements # ... # ๐ŸŽ‰ Test playground ready at http://localhost:8800 # Integrate the official React widget into your app, # or follow the tutorial to build your own frontend! if __name__ == "__main__": import asyncio asyncio.run(main()) ``` **That's it!** Your agent is running with ensured rule-following behavior. ## ๐ŸŽฌ See It In Action Parlant Demo ## ๐Ÿ”ฅ Why Developers Are Switching to Parlant
### ๐Ÿ—๏ธ **Traditional AI Frameworks** ### โšก **Parlant**
- Write complex system prompts - Hope the LLM follows them - Debug unpredictable behaviors - Scale by prompt engineering - Cross fingers for reliability - Define rules in natural language - **Ensured** rule compliance - Predictable, consistent behavior - Scale by adding guidelines - Production-ready 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 | | Built-in risk management | Patient data protection | Order processing automation | Document review assistance |
## ๐Ÿ› ๏ธ Enterprise-Grade Features - **๐Ÿงญ Conversational Journeys** - Lead the customer step-by-step to a goal - **๐ŸŽฏ 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](https://github.com/emcie-co/parlant-chat-react) - **๐Ÿ” Full Explainability** - Understand every decision your agent makes ## ๐Ÿ“ˆ Join 10,000+ Developers Building Better AI
**Companies using Parlant:** _Financial institutions โ€ข Healthcare providers โ€ข Legal firms โ€ข E-commerce platforms_ [![Star History Chart](https://api.star-history.com/svg?repos=emcie-co/parlant&type=Date)](https://star-history.com/#emcie-co/parlant&Date)
## ๐ŸŒŸ What Developers Are Saying > _"By far the most elegant conversational AI framework that I've come across! Developing with Parlant is pure joy."_ **โ€” Vishal Ahuja, Senior Lead, Customer-Facing Conversational AI @ JPMorgan Chase** ## ๐Ÿƒโ€โ™‚๏ธ 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
## ๐Ÿค Community & Support - ๐Ÿ’ฌ **[Discord Community](https://discord.gg/duxWqxKk6J)** - Get help from the team and community - ๐Ÿ“– **[Documentation](https://parlant.io/docs/quickstart/installation)** - Comprehensive guides and examples - ๐Ÿ› **[GitHub Issues](https://github.com/emcie-co/parlant/issues)** - Bug reports and feature requests - ๐Ÿ“ง **[Direct Support](https://parlant.io/contact)** - Direct line to our engineering team ## ๐Ÿ“„ License Apache 2.0 - Use it anywhere, including commercial projects. ---
**Ready to build AI agents that actually work?** โญ **Star this repo** โ€ข ๐Ÿš€ **[Try Parlant now](https://parlant.io/)** โ€ข ๐Ÿ’ฌ **[Join Discord](https://discord.gg/duxWqxKk6J)** _Built with โค๏ธ by the team at [Emcie](https://emcie.co)_