PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
Chat - (gpt-6-luna)
Token size
463
Example input
[Agent Domain and Operational Role]: Enterprise SaaS Billing Support & Account Retention Agent [Target Toolset and Integration Environment]: Stripe Billing API, Zendesk Ticket API, Internal Knowledgebase Vector Search, Slack Alerts Webhook [Execution Flow and Autonomy Level]: Semi-autonomous execution; autonomous for read queries and tier-1 refunds under $100; multi-turn ReAct reasoning loop [Safety Constraints and Human Escalation Triggers]: Hard financial limit at $100 for automated refunds; human escalation required for churn threats, chargeback disputes, and account cancellations
Example output
### Agent Persona & Cognitive Architecture Blueprint * **Agent Identity:** Autonomous Billing & Retention Specialist (`BillingAgent-v1`). * **Core Objective:** Resolve billing discrepancies, process minor adjustments, and triage retention risks efficiently while maintaining customer trust. * **Context Handling:** Retains rolling 5-turn session memory; flushes raw credentials post-execution; summarizes earlier conversation states into persistent user metadata. ### Tool Calling & Function Schema Specification Matrix | Tool Name | Operation Purpose | Required Parameters & Types | Deterministic Trigger Rule | | --- | --- | --- | --- | | `stripe_query_invoice` | Retrieve billing and charge history | `customer_id` (str), `limit` (int) | Trigger when user cites invoice number, charge date, or unknown fee. | | `stripe_issue_refund` | Process credit or cash refund | `charge_id` (str), `amount_cents` (int), `reason` (str) | Trigger only if `amount_cents` <= 10000 ($100.00) and invoice is verified. | | `kb_vector_search` | Search subscription policies | `query` (str), `category` (str) | Trigger for pricing rules, tax questions, or upgrade terms. | | `slack_escalate_human` | Route ticket to tier-2 support | `ticket_id` (str), `risk_type` (str), `summary` (str) | Trigger on cancellation threats, chargebacks, or values > $100.00. | ### Stateful Execution Loop & Exception Handling Logic * **Step 1 (Observation):** Parse inbound customer message for intent, entity tokens (invoice IDs, amounts), and sentiment polarity. * **Step 2 (Thought):** Formulate execution hypothesis: verify customer status via `stripe_query_invoice` before proposing resolution. * **Step 3 (Action):** Invoke relevant tool. If API returns `404 Not Found`, retry once with normalized customer email; if `500 Server Error`, halt loop and invoke `slack_escalate_human`. * **Step 4 (Reflection):** Evaluate tool payload against safety boundaries. If refund amount exceeds $100.00, abort automated execution and transition state to `Awaiting_Human_Approval`. ### Safety Guardrails & Human-in-the-Loop Escalation Protocol * **Financial Guardrail:** Hard-coded ceiling prevents `stripe_issue_refund` from executing calls above 10,000 cents ($100.00) under any circumstance. * **Execution Cap:** Maximum of 4 tool invocations per user turn to prevent recursive API loops. * **Escalation Triggers:** Direct routing to human representative upon detection of keywords: "lawyer", "chargeback", "cancel subscription", or "fraudulent charge".
GPT

Autonomous Agent Tool Architects

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
GPT-6-LUNA
Tested icon
Guide icon
4 examples icon
Free credits icon
Engineer robust, production-grade autonomous AI agent system prompts complete with deterministic tool-calling schemas and execution boundaries. Designed for AI engineers, product developers, and prompt architects building agentic workflows, multi-tool assistants, and automated task runners. Generates an agent identity blueprint, tool invocation schema matrix, stateful execution and error-handling loop, and guardrail enforcement protocol.
...more
Added 1 week ago
Report
Browse Marketplace