Demo of AI agent with multi-turn conversation inside Temporal workflow
Top 70.8% on sourcepulse
This project demonstrates a multi-turn conversational AI agent integrated within a Temporal workflow, designed to achieve specific goals by executing tools and gathering information. It targets developers and researchers interested in building reliable, stateful AI agents, offering a code-first approach with built-in observability and error handling.
How It Works
The agent operates on a core loop: LLM execution, tool execution, and external input elicitation, repeating until the goal is met. It leverages Temporal Workflows and Activities for durability and state management, ensuring reliable execution even through failures. The system supports tool calls requiring input and approval, and includes features like LLM-based input relevance checks and conversation history summarization for efficient prompt construction.
Quick Start & Requirements
Highlighted Details
Maintenance & Community
This is a community project. Further details on community engagement or roadmap are not explicitly provided in the README.
Licensing & Compatibility
The README does not specify a license. Compatibility for commercial use or closed-source linking is not detailed.
Limitations & Caveats
The project is presented as a demo. For production, payload data storage (e.g., S3, noSQL) and garbage collection are recommended to manage workflow history limits. The current implementation uses a single workflow ID, limiting concurrent agent execution; using unique IDs is suggested for multiple agents. Tests are noted as desirable but not yet implemented.
3 days ago
1 day