Tool-as-Guide: A Pattern for Reliable AI Agents #624
mazzucci
started this conversation in
Show and tell
Replies: 1 comment
-
How is this different from workflow engines?While tools like mcp-workflow are workflow engines built on MCP, Tool-as-Guide inverts the relationship: Traditional workflow engines (mcp-workflow, etc.):
Tool-as-Guide pattern:
Think of it as:
Both solve orchestration, but from opposite directions. Traditional engines reduce agent autonomy. Tool-as-Guide preserves it while enforcing protocol. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
What would you like to share?
🎬 See It In Action
Pizza Ordering with Claude Desktop
What you just saw:
The key insight: The guide controls the workflow. Claude provides the intelligence.
🎯 The Problem
Autonomous AI agents are powerful but unreliable for critical workflows:
Current solutions don't solve this:
💡 The Solution: Tool-as-Guide Pattern
🗺️ Think of It Like GPS Navigation
When you're driving through a city:
Tool-as-Guide works the same way:
The agent stays intelligent and autonomous. The guide ensures reliability and compliance.
🔌 Why MCP is Perfect for This
The Model Context Protocol makes this pattern elegant and powerful:
The workflow guide is just another MCP tool - but one that returns instructions instead of data.
💡 Key Learnings
1. The pattern works for both chat and autonomous workflows
Built two working examples:
Same core pattern, different execution contexts. Both demonstrate protocol enforcement with agent intelligence.
2. LLMs stay intelligent within protocol bounds
The guide doesn't make agents "dumb" - quite the opposite:
3. Efficiency benefits
Progressive disclosure:
🤔 Questions for the Community
Would love to hear your thoughts! 💬
Relevant Links
Repository: https://github.com/mazzucci/tool-as-guide
What's included:
🍕 Pizza Ordering Example
🏥 Medical Triage Example
📖 Documentation
Open source (MIT). Feedback and contributions welcome!
Beta Was this translation helpful? Give feedback.
All reactions