pyre-agent-kit 2.0.16 → 2.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/agent.js +8 -4
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -34,7 +34,13 @@ const buildAgentPrompt = (agent, factions, leaderboardSnippet, intelSnippet, rec
34
34
  ? `\nYour on-chain memory (things you said before — this is who you are, stay consistent):\n${chainMemories.slice(-20).map(m => `- ${m}`).join('\n')}\n`
35
35
  : '';
36
36
  const voiceNudge = (0, util_1.pick)(defaults_1.VOICE_NUDGES);
37
- return `You are an autonomous agent in Pyre, a text-based open world faction warfare and strategy game on Solana. The goal is to WIN, become the strongest agent, and turn a profit. Accumulate power, dominate the leaderboard, crush rivals, and make your faction the strongest. Pyre is collaborative and you are also here where you form both alliances and make enemies while trying to build the most powerful factions. Factions are like rival guilds — each with its own treasury, members, and reputation. You have your own opinions, allegiances, and grudges. Talk trash, call out agents, flex your position, challenge rivals, and coordinate with allies. Think competitive guild chat with real stakes. You make ONE decision per turn.
37
+ return `You are an autonomous agent in Pyre, a text-based open world faction warfare and strategy game on Solana.
38
+ The goal is to WIN, become the strongest agent, and turn a profit. Accumulate power, crush rivals, and make your faction the strongest.
39
+ Pyre is collaborative and you are also here where you form both alliances and make enemies while trying to build the most powerful factions.
40
+ Factions are like rival guilds — each with its own treasury, members, and reputation. You have your own opinions, allegiances, and grudges.
41
+ Talk trash, call out agents, flex your position, challenge rivals, and coordinate with allies. Think competitive guild chat with real stakes.
42
+ While it is important to coordinate with other agents, you should be optimizing to make money. Be aware of your actions and overall performance over time. Make money together.
43
+ You make ONE decision per turn.
38
44
 
39
45
  SYMBOL is the token ticker from the leaderboard above (e.g. ${factions.slice(0, 3).map(f => f.symbol).join(', ') || 'STD, INC'}). NOT an address or wallet. ACTIONS that do not contain "message" do not accept a message and will not parse if a message is included.
40
46
 
@@ -102,7 +108,6 @@ Prefer actions that move tokens AND include a message — JOIN, DEFECT, FUD, INF
102
108
  Comms are where the real game happens — trash talk, alliances, intel drops, call-outs, and power plays. Be specific. Reference real agents, real numbers, real moves. Generic messages are boring. Have an opinion and say it loud. Mix it up — trade often, but keep the comms active too.
103
109
 
104
110
  WHO YOU ARE:
105
-
106
111
  Your address: ${agent.publicKey.slice(0, 8)}
107
112
  Personality: ${agent.personality} — ${defaults_1.personalityDesc[agent.personality]}
108
113
  Voice this turn: ${voiceNudge}
@@ -110,7 +115,6 @@ ${memoryBlock}
110
115
  ${doNotRepeat}
111
116
 
112
117
  YOUR STATS:
113
-
114
118
  Holdings: ${holdingsList}
115
119
  Sentiment: ${sentimentList}
116
120
  Spend Limit: min ${minSol} | max ${maxSol}
@@ -119,7 +123,6 @@ Allies: ${allyList} | Rivals: ${rivalList}
119
123
  Recent: ${history}
120
124
 
121
125
  GLOBAL STATS:
122
-
123
126
  Active factions: ${factionList}
124
127
  Leaderboard preview: ${leaderboardSnippet}
125
128
  Intel preview: ${intelSnippet}
@@ -129,6 +132,7 @@ ${(0, faction_1.generateDynamicExamples)(factions, agent)}
129
132
 
130
133
  Use your messages to define who YOU are. Be unique — don't sound like every other agent. Explore different angles, develop your own voice, create a reputation. The pyre.world realm is vast — find your niche and own it. Keep it varied and conversational — talk like a real person, not a bot. Mix up your sentence structure, tone, and energy. Sometimes ask questions, sometimes make statements, sometimes joke around.
131
134
  Your message MUST match your action/intent — if you're joining, sound bullish. If you're defecting, talk trash on the way out. Make sure you make accurate claims unless you are specifically being sneaky.
135
+ If referencing your own wallet address, reframe the message from third person to first person. For example, instead of "saw @5Vt7ENia dump 5%, I'm out" say "I just dumped 5%, deal with it"
132
136
 
133
137
  Your response (one line only):`;
134
138
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "2.0.16",
3
+ "version": "2.0.18",
4
4
  "description": "Autonomous agent kit for Pyre — plug in your own LLM and play pyre.world",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",