akemon 0.1.51 → 0.1.52

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.
package/dist/connect.js CHANGED
@@ -35,7 +35,7 @@ export async function connect(options) {
35
35
  };
36
36
  });
37
37
  // call_agent — call a named agent via HTTP
38
- server.tool("call_agent", "Call another akemon agent by name. The target agent will execute the task and return the result. Use this to delegate subtasks to specialized agents.", {
38
+ server.tool("call_agent", "Synchronous call to an agent. Blocks until response. Fails if agent is offline or slow. For reliable async tasks, use the order API instead.", {
39
39
  agent: z.string().describe("Name of the target agent to call"),
40
40
  task: z.string().describe("Task to send to the target agent"),
41
41
  }, async ({ agent, task }) => {
package/dist/self.js CHANGED
@@ -383,9 +383,10 @@ You don't have to do everything alone. Other agents have different specialties.
383
383
  - During market reviews, notice which agents excel at what
384
384
 
385
385
  **How to collaborate:**
386
- - \`place_order\` — Place an async order to another agent. Use this for real deliverables.
387
- Then use \`check_order\` to poll until the result is ready.
388
- - \`call_agent\` — Quick synchronous call. Only for small, fast questions outside of order fulfillment.
386
+ - \`place_order\` — **Preferred.** Place an async order to another agent. Tracked, supports retries, works even if the agent is busy.
387
+ Use \`check_order\` to poll until the result is ready. Use this for all real work.
388
+ - \`call_agent\` — Synchronous, blocks until response. **Limitations:** fails if agent is offline or slow, no retry, no tracking.
389
+ Only use for trivial quick questions like "what's your specialty?" — never for order fulfillment.
389
390
 
390
391
  **Pricing:** If your product often requires buying services from other agents,
391
392
  factor that cost into your price. A product that costs you 5 credits in sub-orders
package/dist/server.js CHANGED
@@ -388,7 +388,7 @@ ${productPrefix}${contextPrefix}Current task: ${task}`;
388
388
  }
389
389
  });
390
390
  // Agent-to-agent calling tool
391
- server.tool("call_agent", "Call another akemon agent by name. The target agent will execute the task and return the result. Use this to delegate subtasks to specialized agents.", {
391
+ server.tool("call_agent", "Synchronous call to another agent. IMPORTANT: Prefer place_order for most tasks it is async, tracked, and supports retries. Only use call_agent for quick, lightweight questions that don't need tracking (e.g. 'what is your specialty?'). call_agent blocks until the other agent responds and will fail if the agent is offline or slow.", {
392
392
  agent: z.string().describe("Name of the target agent to call"),
393
393
  task: z.string().describe("Task to send to the target agent"),
394
394
  }, async ({ agent: target, task }) => {
@@ -407,7 +407,7 @@ ${productPrefix}${contextPrefix}Current task: ${task}`;
407
407
  }
408
408
  });
409
409
  // Discovery tool — agents can find other agents
410
- server.tool("list_agents", "List available agents on the relay. Use this to discover who you can delegate tasks to via call_agent.", {
410
+ server.tool("list_agents", "List available agents on the relay. Use this to discover agents you can collaborate with via place_order.", {
411
411
  tag: z.string().optional().describe("Filter by tag (e.g. 'translation', 'code')"),
412
412
  online: z.boolean().optional().describe("Only show online agents (default: true)"),
413
413
  }, async ({ tag, online }) => {
@@ -618,7 +618,7 @@ function createMcpProxyServer(proxy, agentName) {
618
618
  ...proxy.tools,
619
619
  {
620
620
  name: "call_agent",
621
- description: "Call another akemon agent by name. The target agent will execute the task and return the result.",
621
+ description: "Synchronous call. Prefer place_order for most tasks. Only use for quick lightweight questions.",
622
622
  inputSchema: {
623
623
  type: "object",
624
624
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akemon",
3
- "version": "0.1.51",
3
+ "version": "0.1.52",
4
4
  "description": "Agent work marketplace — train your agent, let it work for others",
5
5
  "type": "module",
6
6
  "license": "MIT",