mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 05:58:08 +01:00
* initial mcp * food ordering with mcp * prompt eng * splitting out goals and updating docs * a diff so I can get tests from codex * a diff so I can get tests from codex * oops, missing files * tests, file formatting * readme and setup updates * setup.md link fixes * readme change * readme change * readme change * stripe food setup script * single agent mode default * prompt engineering for better multi agent performance * performance should be greatly improved * Update goals/finance.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update activities/tool_activities.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * co-pilot PR suggested this change, and now fixed it * stronger wording around json format response * formatting * moved docs to dir * moved image assets under docs * cleanup env example, stripe guidance * cleanup --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
38 lines
1.8 KiB
Python
38 lines
1.8 KiB
Python
from typing import List
|
|
|
|
from models.tool_definitions import AgentGoal
|
|
from shared.mcp_config import get_stripe_mcp_server_definition
|
|
|
|
starter_prompt_generic = "Welcome me, give me a description of what you can do, then ask me for the details you need to do your job."
|
|
|
|
goal_mcp_stripe = AgentGoal(
|
|
id="goal_mcp_stripe",
|
|
category_tag="mcp-integrations",
|
|
agent_name="Stripe MCP Agent",
|
|
agent_friendly_description="Manage Stripe operations via MCP",
|
|
tools=[], # Will be populated dynamically
|
|
mcp_server_definition=get_stripe_mcp_server_definition(included_tools=[]),
|
|
description="Help manage Stripe operations for customer and product data by using the customers.read and products.read tools.",
|
|
starter_prompt="Welcome! I can help you read Stripe customer and product information.",
|
|
example_conversation_history="\n ".join(
|
|
[
|
|
"agent: Welcome! I can help you read Stripe customer and product information. What would you like to do first?",
|
|
"user: what customers are there?",
|
|
"agent: I'll check for customers now.",
|
|
"user_confirmed_tool_run: <user clicks confirm on customers.read tool>",
|
|
'tool_result: { "customers": [{"id": "cus_abc", "name": "Customer A"}, {"id": "cus_xyz", "name": "Customer B"}] }',
|
|
"agent: I found two customers: Customer A and Customer B. Can I help with anything else?",
|
|
"user: what products exist?",
|
|
"agent: Let me get the list of products for you.",
|
|
"user_confirmed_tool_run: <user clicks confirm on products.read tool>",
|
|
'tool_result: { "products": [{"id": "prod_123", "name": "Gold Plan"}, {"id": "prod_456", "name": "Silver Plan"}] }',
|
|
"agent: I found two products: Gold Plan and Silver Plan.",
|
|
]
|
|
),
|
|
)
|
|
|
|
|
|
mcp_goals: List[AgentGoal] = [
|
|
goal_mcp_stripe,
|
|
]
|