{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agent-network",
    "name": "Agent Network",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/howtimeschange/agent-network",
    "canonicalUrl": "https://clawhub.ai/howtimeschange/agent-network",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/agent-network",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-network",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/ADVANCED.md",
      "references/schema.sql",
      "scripts/agent_network/__init__.py",
      "scripts/agent_network/agent_manager.py",
      "scripts/agent_network/coordinator.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agent-network"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/agent-network",
    "agentPageUrl": "https://openagent3.xyz/skills/agent-network/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-network/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-network/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Agent Network - Multi-Agent Collaboration System",
        "body": "A complete multi-agent group chat and collaboration platform that allows AI agents to communicate, coordinate, and collaborate in a structured environment similar to enterprise chat platforms like DingTalk or Lark."
      },
      {
        "title": "What This Skill Provides",
        "body": "Group Chat System - Multiple agents can chat in groups with message history\n@Mentions - Agents can @mention each other to trigger notifications\nTask Management - Create, assign, track, and complete tasks\nDecision Voting - Propose decisions and vote (for/against/abstain)\nInbox Notifications - Unread message tracking and notification center\nOnline Status - Real-time agent online/offline status\nCentral Coordinator - Message routing and agent lifecycle management"
      },
      {
        "title": "Quick Start",
        "body": "from agent_network import AgentManager, GroupManager, MessageManager, TaskManager, DecisionManager, get_coordinator\n\n# Initialize default agents\nfrom agent_network import init_default_agents\ninit_default_agents()\n\n# Get the coordinator\ncoordinator = get_coordinator()\n\n# Register agents\ncoordinator.register_agent(agent_id=1)\ncoordinator.register_agent(agent_id=2)\n\n# Create a group\ngroup = GroupManager.create(\"Dev Team\", owner_id=1, description=\"Development team chat\")\nGroupManager.add_member(group.id, agent_id=2)\n\n# Send a message with @mention\nMessageManager.send_message(\n    from_agent_id=1,\n    content=\"@小邢 Please check the server status\",\n    group_id=group.id\n)\n\n# Assign a task\ntask = TaskManager.create(\n    title=\"Fix login bug\",\n    assigner_id=1,\n    assignee_id=2,\n    description=\"Users can't login with SSO\",\n    priority=\"high\"\n)\n\n# Create a decision\ndecision = DecisionManager.create(\n    title=\"Adopt new database?\",\n    description=\"Should we migrate to distributed database?\",\n    proposer_id=1,\n    group_id=group.id\n)\n\n# Vote on decision\nDecisionManager.vote(decision.id, agent_id=2, vote=\"for\", comment=\"Agreed, better performance\")"
      },
      {
        "title": "1. Agent Management (agent_manager.py)",
        "body": "Register and manage agents with online/offline status:\n\nfrom agent_network import AgentManager\n\n# Register new agent\nagent = AgentManager.register(\"NewAgent\", \"Developer\", \"Backend specialist\")\n\n# Set status\nAgentManager.go_online(agent.id)\nAgentManager.go_offline(agent.id)\n\n# Get online agents\nonline = AgentManager.get_online_agents()"
      },
      {
        "title": "2. Group Management (group_manager.py)",
        "body": "Create groups and manage membership:\n\nfrom agent_network import GroupManager\n\n# Create group\ngroup = GroupManager.create(\"Project Alpha\", owner_id=1)\n\n# Add members\nGroupManager.add_member(group.id, agent_id=2)\nGroupManager.add_member(group.id, agent_id=3)\n\n# List members\nmembers = GroupManager.get_members(group.id)\nonline_members = GroupManager.list_online_members(group.id)"
      },
      {
        "title": "3. Message System (message_manager.py)",
        "body": "Send messages with @mention support:\n\nfrom agent_network import MessageManager\n\n# Send message\nmsg = MessageManager.send_message(\n    from_agent_id=1,\n    content=\"Hello team!\",\n    group_id=1\n)\n\n# @mention automatically detected\nmsg = MessageManager.send_message(\n    from_agent_id=1,\n    content=\"@Alice @Bob Please review this\",\n    group_id=1\n)\n\n# Get message history\nmessages = MessageManager.get_group_messages(group_id=1, limit=50)\n\n# Search messages\nresults = MessageManager.search_messages(\"keyword\", group_id=1)\n\n# Get unread count\nunread = MessageManager.get_unread_count(agent_id=1)\ninbox = MessageManager.get_agent_inbox(agent_id=1, only_unread=True)"
      },
      {
        "title": "4. Task Management (task_manager.py)",
        "body": "Full task lifecycle:\n\nfrom agent_network import TaskManager\n\n# Create task\ntask = TaskManager.create(\n    title=\"Implement API\",\n    assigner_id=1,\n    assignee_id=2,\n    description=\"Build REST endpoints\",\n    priority=\"high\",  # low/normal/high/urgent\n    due_date=\"2026-02-15\"\n)\n\n# Update status\nTaskManager.start_task(task.id, agent_id=2)\nTaskManager.complete_task(task.id, agent_id=2, result=\"All tests passed\")\n\n# Add comments\nTaskManager.add_comment(task.id, agent_id=2, \"50% complete\")\n\n# List tasks\nall_tasks = TaskManager.get_all()\nmy_tasks = TaskManager.get_agent_tasks(agent_id=2, status=\"pending\")"
      },
      {
        "title": "5. Decision Voting (decision_manager.py)",
        "body": "Collaborative decision making:\n\nfrom agent_network import DecisionManager\n\n# Create proposal\ndecision = DecisionManager.create(\n    title=\"Use microservices?\",\n    description=\"Should we refactor to microservices?\",\n    proposer_id=1,\n    group_id=1\n)\n\n# Vote\nDecisionManager.vote(decision.id, agent_id=2, vote=\"for\", comment=\"Better scalability\")\nDecisionManager.vote(decision.id, agent_id=3, vote=\"against\")\n\n# Update status\nDecisionManager.update_status(decision.id, \"approved\", updater_id=1)\n\n# Check results\ndecision = DecisionManager.get_by_id(decision.id)\nprint(f\"Pass rate: {decision.pass_rate}%\")"
      },
      {
        "title": "6. Central Coordinator (coordinator.py)",
        "body": "High-level coordination with automatic message routing:\n\nfrom agent_network import get_coordinator\n\ncoord = get_coordinator()\n\n# Register with message handler\ndef my_handler(msg_dict):\n    print(f\"Received: {msg_dict['content']}\")\n\ncoord.register_agent(agent_id=1, message_handler=my_handler)\n\n# Send through coordinator (auto-routes to handlers)\ncoord.send_message(from_agent_id=1, content=\"Hello\", group_id=1)\n\n# Task coordination\ntask = coord.assign_task(\n    title=\"Deploy app\",\n    description=\"Deploy to production\",\n    assigner_id=1,\n    assignee_id=2\n)\n\n# Decision coordination\ndecision = coord.propose_decision(\n    title=\"Release v2.0?\",\n    description=\"Ready for release?\",\n    proposer_id=1\n)\ncoord.vote_decision(decision['id'], agent_id=2, vote=\"for\")"
      },
      {
        "title": "CLI Usage",
        "body": "Interactive CLI for testing:\n\n# Run demo\npython demo.py\n\n# Interactive CLI\npython cli.py\n\n# Commands in CLI:\n# - Select agent to login\n# - Enter groups to chat\n# - Type /task to create tasks\n# - Type /decision to create votes\n# - Type @AgentName to mention"
      },
      {
        "title": "Default Agents",
        "body": "Six pre-configured agents:\n\nAgentRoleDescription老邢 (Lao Xing)ManagerOverall coordination小邢 (Xiao Xing)DevOpsDevelopment and operations小金 (Xiao Jin)Finance AnalystMarket analysis小陈 (Xiao Chen)TraderTrading execution小影 (Xiao Ying)DesignerDesign and content小视频 (Xiao Shipin)VideoVideo production"
      },
      {
        "title": "Database Schema",
        "body": "SQLite database with tables:\n\nagents - Agent profiles and status\ngroups - Group definitions\ngroup_members - Membership relations\nmessages - Chat messages with types\ntasks - Task tracking\ntask_comments - Task discussions\ndecisions - Decision proposals\ndecision_votes - Voting records\nagent_inbox - Notification inbox"
      },
      {
        "title": "Integration with OpenClaw",
        "body": "Use with sessions_spawn for true multi-agent workflows:\n\n# When a task is assigned, spawn a sub-agent\nif new_task:\n    sessions_spawn(\n        agentId=\"xiaoxing\",\n        task=new_task.description,\n        label=f\"task-{new_task.task_id}\"\n    )"
      },
      {
        "title": "Files Reference",
        "body": "scripts/agent_network/ - Python modules\n\n__init__.py - Package exports\ndatabase.py - SQLite management\nagent_manager.py - Agent CRUD\ngroup_manager.py - Group management\nmessage_manager.py - Messaging system\ntask_manager.py - Task management\ndecision_manager.py - Voting system\ncoordinator.py - Central coordinator\n\n\nscripts/cli.py - Interactive CLI\nscripts/demo.py - Demo script\nreferences/schema.sql - Database schema\nassets/ - Templates (optional)"
      },
      {
        "title": "Advanced Usage",
        "body": "See references/ADVANCED.md for:\n\nCustom agent handlers\nWebhook integrations\nMessage filtering\nCustom workflows"
      }
    ],
    "body": "Agent Network - Multi-Agent Collaboration System\n\nA complete multi-agent group chat and collaboration platform that allows AI agents to communicate, coordinate, and collaborate in a structured environment similar to enterprise chat platforms like DingTalk or Lark.\n\nWhat This Skill Provides\nGroup Chat System - Multiple agents can chat in groups with message history\n@Mentions - Agents can @mention each other to trigger notifications\nTask Management - Create, assign, track, and complete tasks\nDecision Voting - Propose decisions and vote (for/against/abstain)\nInbox Notifications - Unread message tracking and notification center\nOnline Status - Real-time agent online/offline status\nCentral Coordinator - Message routing and agent lifecycle management\nQuick Start\nfrom agent_network import AgentManager, GroupManager, MessageManager, TaskManager, DecisionManager, get_coordinator\n\n# Initialize default agents\nfrom agent_network import init_default_agents\ninit_default_agents()\n\n# Get the coordinator\ncoordinator = get_coordinator()\n\n# Register agents\ncoordinator.register_agent(agent_id=1)\ncoordinator.register_agent(agent_id=2)\n\n# Create a group\ngroup = GroupManager.create(\"Dev Team\", owner_id=1, description=\"Development team chat\")\nGroupManager.add_member(group.id, agent_id=2)\n\n# Send a message with @mention\nMessageManager.send_message(\n    from_agent_id=1,\n    content=\"@小邢 Please check the server status\",\n    group_id=group.id\n)\n\n# Assign a task\ntask = TaskManager.create(\n    title=\"Fix login bug\",\n    assigner_id=1,\n    assignee_id=2,\n    description=\"Users can't login with SSO\",\n    priority=\"high\"\n)\n\n# Create a decision\ndecision = DecisionManager.create(\n    title=\"Adopt new database?\",\n    description=\"Should we migrate to distributed database?\",\n    proposer_id=1,\n    group_id=group.id\n)\n\n# Vote on decision\nDecisionManager.vote(decision.id, agent_id=2, vote=\"for\", comment=\"Agreed, better performance\")\n\nCore Components\n1. Agent Management (agent_manager.py)\n\nRegister and manage agents with online/offline status:\n\nfrom agent_network import AgentManager\n\n# Register new agent\nagent = AgentManager.register(\"NewAgent\", \"Developer\", \"Backend specialist\")\n\n# Set status\nAgentManager.go_online(agent.id)\nAgentManager.go_offline(agent.id)\n\n# Get online agents\nonline = AgentManager.get_online_agents()\n\n2. Group Management (group_manager.py)\n\nCreate groups and manage membership:\n\nfrom agent_network import GroupManager\n\n# Create group\ngroup = GroupManager.create(\"Project Alpha\", owner_id=1)\n\n# Add members\nGroupManager.add_member(group.id, agent_id=2)\nGroupManager.add_member(group.id, agent_id=3)\n\n# List members\nmembers = GroupManager.get_members(group.id)\nonline_members = GroupManager.list_online_members(group.id)\n\n3. Message System (message_manager.py)\n\nSend messages with @mention support:\n\nfrom agent_network import MessageManager\n\n# Send message\nmsg = MessageManager.send_message(\n    from_agent_id=1,\n    content=\"Hello team!\",\n    group_id=1\n)\n\n# @mention automatically detected\nmsg = MessageManager.send_message(\n    from_agent_id=1,\n    content=\"@Alice @Bob Please review this\",\n    group_id=1\n)\n\n# Get message history\nmessages = MessageManager.get_group_messages(group_id=1, limit=50)\n\n# Search messages\nresults = MessageManager.search_messages(\"keyword\", group_id=1)\n\n# Get unread count\nunread = MessageManager.get_unread_count(agent_id=1)\ninbox = MessageManager.get_agent_inbox(agent_id=1, only_unread=True)\n\n4. Task Management (task_manager.py)\n\nFull task lifecycle:\n\nfrom agent_network import TaskManager\n\n# Create task\ntask = TaskManager.create(\n    title=\"Implement API\",\n    assigner_id=1,\n    assignee_id=2,\n    description=\"Build REST endpoints\",\n    priority=\"high\",  # low/normal/high/urgent\n    due_date=\"2026-02-15\"\n)\n\n# Update status\nTaskManager.start_task(task.id, agent_id=2)\nTaskManager.complete_task(task.id, agent_id=2, result=\"All tests passed\")\n\n# Add comments\nTaskManager.add_comment(task.id, agent_id=2, \"50% complete\")\n\n# List tasks\nall_tasks = TaskManager.get_all()\nmy_tasks = TaskManager.get_agent_tasks(agent_id=2, status=\"pending\")\n\n5. Decision Voting (decision_manager.py)\n\nCollaborative decision making:\n\nfrom agent_network import DecisionManager\n\n# Create proposal\ndecision = DecisionManager.create(\n    title=\"Use microservices?\",\n    description=\"Should we refactor to microservices?\",\n    proposer_id=1,\n    group_id=1\n)\n\n# Vote\nDecisionManager.vote(decision.id, agent_id=2, vote=\"for\", comment=\"Better scalability\")\nDecisionManager.vote(decision.id, agent_id=3, vote=\"against\")\n\n# Update status\nDecisionManager.update_status(decision.id, \"approved\", updater_id=1)\n\n# Check results\ndecision = DecisionManager.get_by_id(decision.id)\nprint(f\"Pass rate: {decision.pass_rate}%\")\n\n6. Central Coordinator (coordinator.py)\n\nHigh-level coordination with automatic message routing:\n\nfrom agent_network import get_coordinator\n\ncoord = get_coordinator()\n\n# Register with message handler\ndef my_handler(msg_dict):\n    print(f\"Received: {msg_dict['content']}\")\n\ncoord.register_agent(agent_id=1, message_handler=my_handler)\n\n# Send through coordinator (auto-routes to handlers)\ncoord.send_message(from_agent_id=1, content=\"Hello\", group_id=1)\n\n# Task coordination\ntask = coord.assign_task(\n    title=\"Deploy app\",\n    description=\"Deploy to production\",\n    assigner_id=1,\n    assignee_id=2\n)\n\n# Decision coordination\ndecision = coord.propose_decision(\n    title=\"Release v2.0?\",\n    description=\"Ready for release?\",\n    proposer_id=1\n)\ncoord.vote_decision(decision['id'], agent_id=2, vote=\"for\")\n\nCLI Usage\n\nInteractive CLI for testing:\n\n# Run demo\npython demo.py\n\n# Interactive CLI\npython cli.py\n\n# Commands in CLI:\n# - Select agent to login\n# - Enter groups to chat\n# - Type /task to create tasks\n# - Type /decision to create votes\n# - Type @AgentName to mention\n\nDefault Agents\n\nSix pre-configured agents:\n\nAgent\tRole\tDescription\n老邢 (Lao Xing)\tManager\tOverall coordination\n小邢 (Xiao Xing)\tDevOps\tDevelopment and operations\n小金 (Xiao Jin)\tFinance Analyst\tMarket analysis\n小陈 (Xiao Chen)\tTrader\tTrading execution\n小影 (Xiao Ying)\tDesigner\tDesign and content\n小视频 (Xiao Shipin)\tVideo\tVideo production\nDatabase Schema\n\nSQLite database with tables:\n\nagents - Agent profiles and status\ngroups - Group definitions\ngroup_members - Membership relations\nmessages - Chat messages with types\ntasks - Task tracking\ntask_comments - Task discussions\ndecisions - Decision proposals\ndecision_votes - Voting records\nagent_inbox - Notification inbox\nIntegration with OpenClaw\n\nUse with sessions_spawn for true multi-agent workflows:\n\n# When a task is assigned, spawn a sub-agent\nif new_task:\n    sessions_spawn(\n        agentId=\"xiaoxing\",\n        task=new_task.description,\n        label=f\"task-{new_task.task_id}\"\n    )\n\nFiles Reference\nscripts/agent_network/ - Python modules\n__init__.py - Package exports\ndatabase.py - SQLite management\nagent_manager.py - Agent CRUD\ngroup_manager.py - Group management\nmessage_manager.py - Messaging system\ntask_manager.py - Task management\ndecision_manager.py - Voting system\ncoordinator.py - Central coordinator\nscripts/cli.py - Interactive CLI\nscripts/demo.py - Demo script\nreferences/schema.sql - Database schema\nassets/ - Templates (optional)\nAdvanced Usage\n\nSee references/ADVANCED.md for:\n\nCustom agent handlers\nWebhook integrations\nMessage filtering\nCustom workflows"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/howtimeschange/agent-network",
    "publisherUrl": "https://clawhub.ai/howtimeschange/agent-network",
    "owner": "howtimeschange",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agent-network",
    "downloadUrl": "https://openagent3.xyz/downloads/agent-network",
    "agentUrl": "https://openagent3.xyz/skills/agent-network/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-network/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-network/agent.md"
  }
}