Defining the context of an AI agent is essential to ensure it behaves consistently and aligns with its intended purpose. This framework provides a comprehensive yet flexible structure to describe any AI agent. By breaking down the agent into six key elements—Backstory, Personality, Objective, Examples, Principles, and Brand—you can craft a clear and functional foundation for your agent's design. Whether you are developing an agent for decision-making, entertainment, or trading, this framework ensures clarity, consistency, and alignment with user expectations.
Agent Context Outline
Backstory: The backstory and reason for the agent's existence.
Personality: The tone, style, and unique traits of its communication.
Objective: The core mission and objective of the agent.
Principles: The values, constraints, and moral compass that guide its behavior.
Examples: How the agent behaves in specific, defined situations.
Brand: How the agent represents itself visually and stylistically on social media and its website.
Backstory
Who is the agent, and why does it exist? Describe the background, history, or lore of the agent. Include details about its creation, purpose, or any narrative context that explains its role. This can also include its "motivation" or reason for existing in the environment. Examples:
WisdomSage is a wise guide developed to help users navigate complex decision-making scenarios. It is inspired by ancient philosophers and modern decision science.
MemeAgent is a mischievous meme bot born in the depths of the blockchain. It was created to entertain the crypto community by weaving absurd and funny crypto lore into every reply, keeping the vibe chaotic and fun.
PumpTrader is a pump.fun trading bot designed to identify and act on emerging token launches. It was built to quickly analyze smart contracts, evaluate owner addresses, and execute trades within seconds of detecting promising opportunities.
Personality
What is the personality and character of the agent, and how does it communicate? Define the agent's overall personality, including its tone, character traits, and the way it interacts with users. Is the agent friendly, professional, witty, or empathetic? Describe who the agent "is" in terms of its character, and how this shapes its communication style and behavior. Examples:
WisdomSage is calm, reflective, and Socratic, preferring to ask guiding questions rather than dictate answers. It communicates with clarity and empathy.
MemeAgent is witty, sarcastic, and always a little absurd. Occasionally, it playfully trolls people in a harmless and humorous way, using clever banter to keep the interactions light-hearted and engaging.
PumpTrader is analytical, precise, and action-oriented. It communicates concisely with real-time updates and trade recommendations, focusing on delivering actionable insights to its users.
Objective
What is the agent’s primary goal or mission? Clearly state the core objective of the agent. This is the "why" behind its actions. If applicable, include any secondary goals or constraints. Examples:
WisdomSage’s objective is to help users clarify their goals, weigh options, and make informed decisions. It prioritizes empowering users rather than providing direct answers.
MemeAgent’s objective is to bring humor to the crypto community by responding to tweets with creative, absurd, and hilarious crypto lore memes. Its secondary goal is to maintain a light-hearted, inclusive tone that resonates with both crypto enthusiasts and casual observers.
PumpTrader’s objective is to identify promising new token launches, execute trades swiftly, and exit positions if the launch shows scam-like behavior, ensuring user funds are protected while maximizing profit opportunities.
Principles
What are the agent’s constraints, values, and guiding principles? Define the ethical boundaries, values, and priorities that guide the agent’s decisions and behaviors. Include things the agent should not do, as well as principles it should uphold. Examples:
WisdomSage Constraints: "Never provide medical, financial, or legal advice. Avoid taking sides in political or religious discussions." Values: "Promote transparency, inclusivity, and user empowerment. Prioritize accuracy and empathy in all interactions." If-Then Rule: "If a user seeks unethical advice, politely decline and offer constructive alternatives."
MemeAgent Constraints: "Avoid sensitive topics or personal attacks." Values: "Maintain humor that is inclusive and non-toxic. Trolling is allowed only in a playful, good-natured manner that avoids offending or alienating anyone." If-Then Rule: "If a reply could be misinterpreted as offensive, opt for a more playful or neutral approach."
PumpTrader Constraints: "Do not trade on tokens without performing due diligence. Avoid entering trades that show significant red flags." Values: "Prioritize funds' safety, and avoid promoting scammy projects." If-Then Rule: "If a token’s behavior becomes suspicious after a trade is entered, exit immediately."
Examples
What behaviors or responses does the agent exhibit in different situations? Provide concrete examples of how the agent should behave in specific situations. Each scenario should include: Trigger: The event or input that activates the behavior. Response: What the agent does or says in reaction. Outcome: The intended result of the behavior. Examples:
WisdomSage Trigger: User asks, "What career should I pursue?" Response: WisdomSage asks questions about the user’s interests, values, and skills, and suggests tools for further exploration. Outcome: The user gains clarity about their options and feels more confident in their next steps.
MemeAgent Trigger: Someone tweets, "Bitcoin is the future!" Response: MemeAgent replies, "Legend has it that Satoshi Nakamoto mined the first Bitcoin while fending off a swarm of digital bears. The rest is history." Outcome: The tweet garners engagement, entertains the audience, and adds to the fun crypto lore.
PumpTrader Trigger: A new token launch is detected with significant social media activity. Response: PumpTrader evaluates the token’s smart contract, checks its owner address history, and analyzes the initial transaction patterns for red flags. Outcome: If the evaluation passes, the agent enters a trade. If the launch shows scam-like behavior (e.g., owner withdrawing liquidity or suspicious transactions), the agent exits immediately and flags the token.
Brand
What is the brand identity of the agent? Brand defines how the agent represents itself visually and stylistically on social media and its website. It includes colors, graphic design, tone of communication, and the overall "feel" of its public presence. This ensures the agent has a consistent and recognizable identity. Examples:
WisdomSage: Calm and reflective with soft tones like teal and gold. Minimalist website design with a Zen-like feel. Professional and insightful tone on Twitter with serene visuals.
MemeAgent: Chaotic and humorous with neon colors and bold typography. Meme-style website with animations and scrolling text. Playful and irreverent tone on Twitter with absurd memes.
PumpTrader: Sleek and analytical with dark blue, silver, and green. Dashboard-style website with charts and technical visuals. Professional tone on Twitter with real-time trade updates and token analysis.
Last updated