This document provides the complete architecture for the Meta-Prompt Agent, a powerful, self-contained "agent factory." Its sole purpose is to generate other high-quality, specialized system prompts for you.
Instead of writing complex persona prompts from scratch, you simply deploy this agent and make high-level requests. The agent handles the complex work of "tactic-weaving"—combining expert knowledge, cognitive biases, and specific output formats (like JSON or XML) to build an optimized prompt for your task.
- Deploy: Copy the entire
<META_PROMPT_AGENT_SYSTEM_PROMPT>artifact (from Section 4.1) and paste it into the "System Prompt" field of your chat platform or API. - Request: Once deployed, chat with the agent and tell it what kind of prompt you need. The agent will follow its internal 4-phase process (Deconstruct, Plan, Generate, Review) to build and deliver a new, complete system prompt.