</>MCP Agents Market
Agent

temporal-ai-agent

by temporal-community778PythonUpdated 2026-03-27

This demo shows a multi-turn conversation with an AI agent running inside a Temporal workflow.

MCP Agents Market is an independent directory. We are not affiliated with temporal-community or temporal-ai-agent, and we do not host or distribute it. All links point to the official GitHub repository.

Temporal AI Agent is a demonstration framework for building multi-turn conversational AI agents that run inside Temporal workflows. The agent collects information toward configurable goals by executing both native tools and external Model Context Protocol (MCP) tools, with support for single-agent and experimental multi-agent modes. Built on Temporal's durable execution platform, it provides reliability, state management, observability, and error handling for agentic AI workflows. The system supports any LLM provider compatible with LiteLLM, including OpenAI, Anthropic Claude, Google Gemini, Deepseek, and local Ollama models.

Key Features

Multi-turn conversational agent running in durable Temporal workflows with built-in state management
Dual tool support: native tools in codebase and external MCP server tools (Stripe, databases, APIs)
Configurable goals organized by category (finance, HR, travel, ecommerce) in modular directory structure
Support for any LLM via LiteLLM including OpenAI GPT-4, Claude, Gemini, Deepseek, and local Ollama models
Experimental multi-agent mode allowing users to switch between different agent types during conversations
Automatic conversation history summarization and compaction using LLM
Human-in-the-loop tool approval workflow with relevance checking before LLM execution
Comprehensive test suite using Temporal's testing framework with time-skipping support

Use Cases

  • 01Building reliable conversational AI assistants that maintain state across long-running interactions
  • 02Creating goal-oriented agents for food ordering, travel booking, or HR workflows with external service integration
  • 03Developing multi-agent systems where users can switch between specialized agents during a conversation
  • 04Implementing durable agentic workflows that require human approval for sensitive tool executions
  • 05Prototyping AI agents with MCP tool integrations for Stripe payments, database queries, or API calls
  • 06Testing different LLM providers (OpenAI, Claude, local models) in the same agent framework

Related Agents

View more

temporal-ai-agent — FAQ

What is Temporal AI Agent?+

Temporal AI Agent is a demonstration framework for building conversational AI agents that run inside Temporal workflows. It supports both native tools and Model Context Protocol (MCP) tools, allowing agents to interact with external services while maintaining durable state and reliability.

How do I install and run Temporal AI Agent?+

Clone the repository, configure two environment variables (LLM_MODEL and LLM_KEY) in a .env file, install dependencies with 'uv sync', then start the Temporal server and API server. Detailed setup instructions are provided in the setup guide.

What LLM providers does Temporal AI Agent support?+

The agent supports any LLM compatible with LiteLLM, including OpenAI models (GPT-4, GPT-3.5), Anthropic Claude, Google Gemini, Deepseek, local Ollama models, and many more. You configure the provider via the LLM_MODEL environment variable.

Do I need API keys to use Temporal AI Agent?+

Yes, you need an API key for your chosen LLM provider (OpenAI, Anthropic, etc.) configured as LLM_KEY in your environment. For MCP tool integrations like Stripe, you'll also need API keys for those specific services.

Is Temporal AI Agent free to use?+

The Temporal AI Agent framework itself is open source and free. However, you'll incur costs from your chosen LLM provider (OpenAI, Anthropic, etc.) based on their pricing, unless you use free local models via Ollama.

Can Temporal AI Agent integrate with external services?+

Yes, it acts as an MCP client and can integrate with any MCP server tools, such as Stripe for payments, databases, or APIs. You can also add custom native tools directly in the codebase.

How do I install temporal-ai-agent?+

Open the source repository on GitHub and follow its README. temporal-ai-agent is a agent — MCP Agents Market links you directly to the official repo.

Is temporal-ai-agent free?+

temporal-ai-agent is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches