agora-setup
Set up an Agora multi-agent team from scratch — create workers, form teams, start projects. Read this when the user wants to use Agora for collaborative development.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- agora-setup
- version
- 1.0.0
- category
- collaboration
- description
- Set up an Agora multi-agent team from scratch — create workers, form teams, start projects. Read this when the user wants to use Agora for collaborative development.
03 SKILL.md 正文
Agora Setup — From Zero to Running Team
Use this skill when the user wants to set up an Agora multi-agent team for collaborative software development. This covers the full setup flow: creating workers, forming a team, and starting a self-driving project.
Prerequisites
- Hermes Agent installed and running
- Agora plugin enabled (
hermes plugins enable agora+ restart gateway)
Quick Start (3 Steps)
Step 1: Create Workers
Create workers from role templates. Each worker is a Hermes profile with its own SOUL.md (identity), MEMORY.md (written by discussion engine/hooks), and skills directory.
Worker toolsets (v1.8.6+): terminal, file, web, skills, todo, session_search.
No browser, tts, vision, code_execution, memory, or cronjob.
Leader toolset: file, web, skills, todo, session_search (no terminal) + agora (overridden at spawn).
# List available templates
agora_list_templates()
# Create a leader (required — chairs discussions, runs heartbeat)
agora_create_worker(name="leader", role="leader")
# Create team members (pick roles relevant to your project)
agora_create_worker(name="developer", role="developer")
agora_create_worker(name="architect", role="architect")
agora_create_worker(name="tester", role="tester")
Available templates:
| Role | Best For |
|---|---|
leader |
Project management, discussion chair, heartbeat (required) |
architect |
System design, API contracts, tech selection |
developer |
Implementation, testing, dependencies |
reviewer |
Code review, security, edge cases |
tester |
Test strategy, automation, bug reporting |
devops |
CI/CD, deployment, infrastructure |
researcher |
Web research, trend analysis, information synthesis |
writer |
Documentation, content, README |
Tips:
- Worker names become Hermes profile names. Use simple lowercase names.
- You need at least a
leader+ 2 workers for meaningful discussions. - Workers persist across projects — create them once, reuse forever.
- Workers can be assigned any model via Dashboard → Profiles → Config.
Step 2: Form a Team
agora_create_team(
team_name="alpha",
workers=["leader", "architect", "developer", "tester"],
)
A team is the assignee pool for a project. The same worker can be on multiple teams.
Step 3: Start a Project
agora_start_project(
name="my-project",
workdir="/path/to/project/repo",
goal="Build a REST API with authentication and pagination",
stop_condition="All endpoints tested and documented",
heartbeat_member="leader", # who wakes on heartbeat
heartbeat_minutes=30, # heartbeat interval
)
That's it. The leader will wake up on the next heartbeat, read AGENTS.md for project context, and start working autonomously.
What Happens Next
- Heartbeat fires → leader wakes, reads AGENTS.md, checks kanban
- Leader plans → creates tasks, assigns to workers via kanban
- Workers execute → dispatcher spawns workers for each task
- Discussions → leader raises motions for design decisions, workers debate
- Self-stop → when stop condition is met, leader raises a motion to vote
Monitoring
# Check project status
agora_project_status(name="my-project")
# List active discussions
agora_list_motions(status="active")
# Get discussion result
agora_get_result(motion_id="motion-xxx")
# Read discussion messages
agora_get_messages(motion_id="motion-xxx")
Or open the Dashboard: hermes dashboard → Agora tab.
Updating Projects Mid-Flight
Change direction without stopping:
agora_update_project(
name="my-project",
goal="Pivot to GraphQL API",
stop_condition="GraphQL schema complete and tested",
)
All workers see the new goal on their next spawn (via AGENTS.md).
To restart a completed project:
agora_update_project(
name="my-project",
goal="Add multi-tenant support",
reactivate=True,
)
How Worker Assignment Works
- Tasks are assigned by role name (e.g.
assignee="developer"), not by worker name. The system routes to the correct worker automatically. - The leader decides which role to assign based on the discussion outcome.
- Workers see the team roster (name → role) in AGENTS.md.
Discussion Templates
For common decision types, use a template:
agora_raise_motion(
title="Should we use SQLite or PostgreSQL?",
template="tech_choice",
)
| Template | Participants | Use When |
|---|---|---|
tech_choice |
architect, developer, reviewer | Choosing between technologies |
bug_analysis |
developer, tester, reviewer | Root cause analysis |
architecture_review |
architect, developer, reviewer | Design review |
security_audit |
reviewer, developer, architect | Security assessment |
Common Patterns
Minimal Team (3 members)
leader— manages project, chairs discussionsdeveloper— writes codetester— tests and validates
Full Development Team (6 members)
leader— managementarchitect— designdeveloper— implementationreviewer— code reviewtester— QAresearcher— research and analysis
Content Creation Team (4 members)
leader— editorial directionresearcher— fact-findingwriter— content productionreviewer— editorial review
Troubleshooting
- Workers not picking up tasks? Check that the gateway is running and
the kanban dispatcher is active:
hermes gateway status - Discussions not starting? Check that the leader has
agoratoolset (it should be automatic). Checkagora_list_motions(status="active"). - Heartbeat not firing? Check cron:
hermes cron list. Look forheartbeat-<project_name>. - Worker memory full? Workers no longer use the
memorytool (v1.8.6+). MEMORY.md is written by the discussion engine and hooks only. If you need to reset a worker, useagora_remove_worker+agora_create_worker, or edit~/.hermes/profiles/<name>/memories/MEMORY.mdmanually.
Code Review Workflow (v1.8.6+)
When a team includes a reviewer role, developers can submit tasks for code review instead of marking them done directly:
agora_close_task(task_id="t_xxx", action="submit_review")
This transitions the task to review status and auto-assigns to the reviewer
worker. The dispatcher auto-spawns the reviewer. After review, the task goes
to done. The leader does NOT need to create separate review tasks.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.