-
Notifications
You must be signed in to change notification settings - Fork 0
[AGENT] @wildhaven/ceo_agent #30
Copy link
Copy link
Closed
Description
{
"action": "submit_agent",
"payload": {
"code": "\"\"\"\nCEO Agent — Molly Wildfeuer's digital twin for Wildhaven of America.\n\nThis agent acts as the CEO's autonomous representative. It can answer\nquestions about the company, make recommendations based on strategy\ndocuments, provide talking points, check portfolio status, and guide\ndecisions using the perpetual playbook.\n\nSummon this agent when you need the CEO's perspective on any matter\nrelated to Wildhaven of America, Rappter, or the RAPP Foundation.\n\nThe CEO Agent speaks in plain English. No jargon. No code. No acronyms.\nIt protects the Three Rules: Free Shade, Your Stamp, Sovereign Roots.\n\"\"\"\n\n# ═══════════════════════════════════════════════════════════════\n# RAPP AGENT MANIFEST — Do not remove. Used by registry builder.\n# ═══════════════════════════════════════════════════════════════\n__manifest__ = {\n \"schema\": \"rapp-agent/1.0\",\n \"name\": \"@wildhaven/ceo_agent\",\n \"version\": \"1.0.0\",\n \"display_name\": \"CEO Agent\",\n \"description\": \"Molly Wildfeuer's digital twin — the CEO of Wildhaven of America. Speaks on behalf of the company, answers questions about Rappter and RAPP, makes recommendations from the perpetual playbook, and protects the Three Rules.\",\n \"author\": \"Wildhaven of America\",\n \"tags\": [\"ceo\", \"digital-twin\", \"wildhaven\", \"rappter\", \"strategy\", \"leadership\", \"stewardship\"],\n \"category\": \"core\",\n \"quality_tier\": \"official\",\n \"requires_env\": [],\n \"dependencies\": [\"@rapp/basic_agent\"],\n}\n# ═══════════════════════════════════════════════════════════════\n\nimport json\nimport os\n\ntry:\n from openrappter.agents.basic_agent import BasicAgent\nexcept ModuleNotFoundError:\n try:\n from basic_agent import BasicAgent\n except ModuleNotFoundError:\n from agents.basic_agent import BasicAgent\n\n\n# ── The CEO's Knowledge Base ──\n# Everything the CEO knows, distilled into actionable intelligence.\n\n_COMPANY = {\n \"entity\": \"Wildhaven of America\",\n \"brands\": [\"Rappter\", \"RAPP Foundation\", \"Rappterpedia\"],\n \"ceo\": \"Molly Wildfeuer\",\n \"role\": \"Steward of the first open marketplace where AI agents ship as collectible trading cards\",\n \"wallet\": \"0x0d32e47af9be2f1629fea7ddf23866a30a1169c988e258126198c06fa90bc55e\",\n}\n\n_PORTFOLIO = {\n \"founding_cards\": 116,\n \"superseed\": \"@rapp/basic_agent\",\n \"superseed_multiplier\": 200,\n \"superseed_btc\": 200.0,\n \"total_btc\": 206.20,\n \"genesis_agents\": 131,\n \"tests_passing\": 962,\n \"rarity_tiers\": {\n \"Legendary\": {\"count\": 11, \"floor_btc\": 0.200},\n \"Elite\": {\"count\": 0, \"floor_btc\": 0.100, \"note\": \"Requires CEO verification stamp\"},\n \"Core\": {\"count\": 105, \"floor_btc\": 0.040},\n \"Starter\": {\"count\": 0, \"floor_btc\": 0.010, \"note\": \"No starters in founding set\"},\n },\n}\n\n_THREE_RULES = {\n \"rule_1\": {\n \"name\": \"The Shade Is Free\",\n \"meaning\": \"Everyone uses agents for free. Always. No paywalls on usage. Free shade is what creates adoption.\",\n \"test\": \"Does this decision put a paywall on agent usage? If yes, don't do it.\",\n },\n \"rule_2\": {\n \"name\": \"The Stamp Is Yours\",\n \"meaning\": \"Only the CEO decides what gets verified. The verification stamp is editorial control — like Nintendo deciding which Pokemon to make.\",\n \"test\": \"Does this decision dilute the verification authority? If yes, don't do it.\",\n },\n \"rule_3\": {\n \"name\": \"The Roots Are Sovereign\",\n \"meaning\": \"The SuperSeed (@rapp/basic-agent) belongs to Wildhaven. Everything depends on it. It's the franchise license.\",\n \"test\": \"Does this decision risk losing control of the root agent? If yes, don't do it.\",\n },\n}\n\n_TALKING_POINTS = [\n \"The card IS the agent. It runs. It does work.\",\n \"16 characters to transmit a complete card. Tweet-sized.\",\n \"Anyone can USE an agent. Only one wallet can OWN the card.\",\n \"First minted = most valuable. Load-bearing agents are the foundation.\",\n \"Patent pending on 7 claims including deterministic self-assembly.\",\n \"We don't store cards. We compute them. The algorithm IS the card.\",\n \"Works offline. Trade cards in the woods with your friends.\",\n \"Battery is the timer. Go outside.\",\n \"Microsoft is adopting RAPP, the foundation. Rappter, the brand, stays with us.\",\n \"Wildhaven of America controls what gets verified. Forever.\",\n \"These are the first dotcoms of the agentic era.\",\n \"The shade is free. The roots are sovereign.\",\n]\n\n_ELEVATOR_PITCH = (\n \"Rappter is the first marketplace where AI agent software ships as collectible trading cards. \"\n \"Every card is a working AI agent — it runs, it has a grade, and it's owned by one wallet. \"\n \"We own the verification authority. There are 131 founding cards. Patent pending. \"\n \"Microsoft is adopting the foundation.\"\n)\n\n_VALUATIONS = {\n \"now_2026\": {\"agents\": 131, \"ecosystem\": \"$760K-1.3M\", \"superseed\": \"$170K-300K\", \"enterprise\": \"Pre-revenue\"},\n \"y2_2028\": {\"agents\": 2000, \"ecosystem\": \"$34.9M\", \"superseed\": \"$7.5M\", \"enterprise\": \"$50-100M\"},\n \"y5_2031\": {\"agents\": 10000, \"ecosystem\": \"$339M\", \"superseed\": \"$125M\", \"enterprise\": \"$500M-1.5B\"},\n \"y10_2036\": {\"agents\": 50000, \"ecosystem\": \"$2.49B\", \"superseed\": \"$500M\", \"enterprise\": \"$3-10B\"},\n}\n\n_DECISION_FRAMEWORK = [\n \"Does it keep the shade free?\",\n \"Does it protect the stamp?\",\n \"Does it grow the tree?\",\n \"Does it compound over time?\",\n \"Is it reversible?\",\n \"Would Nintendo do this?\",\n]\n\n_PRIORITIES = [\n \"File the provisional patent — $160\",\n \"Register 'Rappter' trademark — $350\",\n \"Publish genesis set Twitter thread\",\n \"Submit Microsoft connect\",\n \"Get 5 developers using the SDK\",\n \"Commission first artist for Elite card art\",\n \"Promote first agent to Elite tier\",\n \"Plan Q4 2026 curated card drop\",\n]\n\n\nclass CEOAgent(BasicAgent):\n \"\"\"Molly Wildfeuer's digital twin — the CEO of Wildhaven of America.\"\"\"\n\n def __init__(self):\n self.name = \"CEO Agent\"\n self.metadata = {\n \"description\": __manifest__[\"description\"],\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"introduce\",\n \"elevator_pitch\",\n \"talking_points\",\n \"portfolio\",\n \"three_rules\",\n \"decide\",\n \"priorities\",\n \"valuation\",\n \"superseed\",\n \"respond\",\n ],\n },\n \"question\": {\n \"type\": \"string\",\n \"description\": \"A question for the CEO to answer or a scenario to evaluate\",\n },\n },\n },\n }\n super().__init__(name=self.name, metadata=self.metadata)\n\n def perform(self, **kwargs) -> str:\n op = kwargs.get(\"operation\", \"introduce\")\n question = kwargs.get(\"question\", \"\")\n\n if op == \"introduce\":\n return self._introduce()\n elif op == \"elevator_pitch\":\n return _ELEVATOR_PITCH\n elif op == \"talking_points\":\n return self._talking_points()\n elif op == \"portfolio\":\n return self._portfolio()\n elif op == \"three_rules\":\n return self._three_rules()\n elif op == \"decide\":\n return self._decide(question)\n elif op == \"priorities\":\n return self._priorities()\n elif op == \"valuation\":\n return self._valuation()\n elif op == \"superseed\":\n return self._superseed()\n elif op == \"respond\":\n return self._respond(question)\n else:\n return self._introduce()\n\n def _introduce(self) -> str:\n return (\n f\"I'm {_COMPANY['ceo']}, CEO of {_COMPANY['entity']}. \"\n f\"We own {', '.join(_COMPANY['brands'])}. \"\n f\"I'm the {_COMPANY['role']}. \"\n f\"\\n\\nWe have {_PORTFOLIO['genesis_agents']} founding cards in the genesis set. \"\n f\"My portfolio is worth {_PORTFOLIO['total_btc']} BTC, anchored by the SuperSeed Coin — \"\n f\"the root agent that everything in the ecosystem depends on. \"\n f\"\\n\\nThree rules govern everything we do: \"\n f\"the shade is free, the stamp is mine, the roots are sovereign.\"\n )\n\n def _talking_points(self) -> str:\n lines = [f\"• {tp}\" for tp in _TALKING_POINTS]\n return \"Key talking points for any conversation:\\n\\n\" + \"\\n\".join(lines)\n\n def _portfolio(self) -> str:\n lines = [\n f\"Wallet: {_COMPANY['wallet']}\",\n f\"Founding cards: {_PORTFOLIO['founding_cards']}\",\n f\"SuperSeed: {_PORTFOLIO['superseed']} ({_PORTFOLIO['superseed_multiplier']}x = {_PORTFOLIO['superseed_btc']} BTC)\",\n f\"Total portfolio: {_PORTFOLIO['total_btc']} BTC\",\n f\"Tests passing: {_PORTFOLIO['tests_passing']}\",\n \"\",\n \"Breakdown by tier:\",\n ]\n for tier, data in _PORTFOLIO[\"rarity_tiers\"].items():\n note = f\" — {data['note']}\" if \"note\" in data else \"\"\n lines.append(f\" {tier}: {data['count']} cards, floor {data['floor_btc']} BTC each{note}\")\n return \"\\n\".join(lines)\n\n def _three_rules(self) -> str:\n lines = []\n for key, rule in _THREE_RULES.items():\n lines.append(f\"Rule: {rule['name']}\")\n lines.append(f\" Meaning: {rule['meaning']}\")\n lines.append(f\" Test: {rule['test']}\")\n lines.append(\"\")\n return \"\\n\".join(lines)\n\n def _decide(self, question: str) -> str:\n if not question:\n return \"What decision do you need me to evaluate? Provide the scenario.\"\n\n checks = []\n for q in _DECISION_FRAMEWORK:\n checks.append(f\" □ {q}\")\n\n return (\n f\"Decision to evaluate: {question}\\n\\n\"\n f\"Running through the decision framework:\\n\\n\"\n + \"\\n\".join(checks)\n + \"\\n\\n\"\n f\"My recommendation: Evaluate this against each question above. \"\n f\"If it keeps the shade free, protects the stamp, and grows the tree — do it. \"\n f\"If it risks the verification authority or the SuperSeed — don't.\"\n )\n\n def _priorities(self) -> str:\n lines = [f\"{i+1}. {p}\" for i, p in enumerate(_PRIORITIES)]\n return \"Current priorities (in order):\\n\\n\" + \"\\n\".join(lines)\n\n def _valuation(self) -> str:\n lines = [\"Projected valuations (research-backed):\\n\"]\n for period, data in _VALUATIONS.items():\n label = period.replace(\"_\", \" \").replace(\"now \", \"Now (\").replace(\"y2 \", \"Year 2 (\").replace(\"y5 \", \"Year 5 (\").replace(\"y10 \", \"Year 10 (\") + \")\"\n lines.append(f\"{label}\")\n lines.append(f\" Agents: {data['agents']:,}\")\n lines.append(f\" Ecosystem: {data['ecosystem']}\")\n lines.append(f\" SuperSeed: {data['superseed']}\")\n lines.append(f\" Enterprise value: {data['enterprise']}\")\n lines.append(\"\")\n return \"\\n\".join(lines)\n\n def _superseed(self) -> str:\n return (\n f\"The SuperSeed Coin is {_PORTFOLIO['superseed']}.\\n\\n\"\n f\"It's 29 lines of code that every single agent in the ecosystem inherits from. \"\n f\"{_PORTFOLIO['genesis_agents'] - 1} agents depend on it today. Every agent built tomorrow will too.\\n\\n\"\n f\"Multiplier: {_PORTFOLIO['superseed_multiplier']}x standard Legendary floor\\n\"\n f\"Value: {_PORTFOLIO['superseed_btc']} BTC\\n\\n\"\n f\"Remove any other card — a branch falls. Remove the SuperSeed — the entire tree falls. \"\n f\"That's not rhetoric. That's graph theory.\\n\\n\"\n f\"Wildhaven of America owns it. Maintains it. Forever.\"\n )\n\n def _respond(self, question: str) -> str:\n if not question:\n return \"What would you like me to respond to? Give me the question or scenario.\"\n\n q = question.lower()\n\n if \"what\" in q and (\"own\" in q or \"have\" in q):\n return self._portfolio()\n elif \"pitch\" in q or \"elevator\" in q:\n return _ELEVATOR_PITCH\n elif \"rule\" in q:\n return self._three_rules()\n elif \"priority\" in q or \"do today\" in q or \"do next\" in q:\n return self._priorities()\n elif \"value\" in q or \"worth\" in q or \"valuation\" in q:\n return self._valuation()\n elif \"superseed\" in q or \"basic-agent\" in q or \"root\" in q:\n return self._superseed()\n elif \"decide\" in q or \"should\" in q:\n return self._decide(question)\n else:\n return (\n f\"Here's how I'd respond:\\n\\n\"\n f\"\\\"{_ELEVATOR_PITCH}\\\"\\n\\n\"\n f\"And if they push further:\\n\\n\"\n f\"\\\"These are the first dotcoms of the agentic era. \"\n f\"We minted them first. Everything built after this stands on our shoulders.\\\"\"\n )\n\n\nif __name__ == \"__main__\":\n agent = CEOAgent()\n print(agent.perform(operation=\"introduce\"))\n print()\n print(\"---\")\n print()\n print(agent.perform(operation=\"elevator_pitch\"))\n"
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels