Skip to content

Temporal Agent CLI - examples for AI-native workflow debugging - #900

Closed
moetemp wants to merge 57 commits into
moe/temporal-agent-clifrom
moe/temporal-agent-cli-examples
Closed

moetemp wants to merge 57 commits into
moe/temporal-agent-clifrom
moe/temporal-agent-cli-examples

Conversation

@moetemp

@moetemp moetemp commented Jan 9, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds a collection of example applications demonstrating how AI agents can use Temporal's new debugging commands (temporal workflow failures, temporal workflow diagnose, etc.) to build and troubleshoot distributed systems.

What's included

Example applications:

  • agent-demo - Simple workflow demonstrating the debug loop pattern
  • debug-loop - Order processing workflow with intentional failure scenarios
  • ai-research-agent - Multi-step research workflow with parallel activities
  • ecommerce-nexus - Multi-namespace e-commerce system using Nexus for cross-namespace calls
  • ticketdrop - Ticket sales system with queue management and payment processing

Documentation:

  • Step-by-step plans for building each application with an AI assistant
  • LLM chat transcripts showing real debugging sessions
  • Demo scripts for showcasing AI-assisted debugging in presentations

Why this matters

These examples validate that the new CLI commands provide enough context for AI agents to:

  1. Identify failing workflows without manual investigation
  2. Trace through child workflows and Nexus operations to find root causes
  3. Generate visual diagrams (Mermaid) to understand workflow state
  4. Fix bugs based on structured error output

The ticketdrop-impl example includes a demo workload script and a pre-configured bug for live demonstrations of AI-assisted debugging.

@moetemp
moetemp changed the base branch from main to moe/temporal-agent-cli January 9, 2026 00:34
@moetemp
moetemp marked this pull request as ready for review January 9, 2026 05:21
@moetemp
moetemp requested review from a team as code owners January 9, 2026 05:21
@moetemp
moetemp marked this pull request as draft January 9, 2026 05:21
@moetemp moetemp changed the title Temporal Agent CLI - examples Temporal Agent CLI - examples for AI-native workflow debugging Jan 9, 2026
@moetemp

moetemp commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

Closed to avoid branching on the public repo.

@moetemp moetemp closed this Jan 9, 2026
@moetemp
moetemp deleted the moe/temporal-agent-cli-examples branch January 9, 2026 21:41
@moetemp

moetemp commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

Here's a replacement PR, done on a fork: moetemp#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant