Getting Started¶
Installation¶
AgentTeams is not yet published to PyPI. Install directly from GitHub:
Requires Python 3.11 or later. No external runtime dependencies — the module uses only the Python standard library.
For local development, clone and install in editable mode:
Prefer a conversational setup?¶
If you'd rather describe your project in plain language and have a coding agent draft the brief and run the commands for you, see Agent-Assisted Setup. That page documents the prompts to use with GitHub Copilot, Claude, or any capable chat model.
Write a Project Description¶
Create brief.json:
{
"project_name": "MyProject",
"project_goal": "Build a FastAPI backend with authentication and a task management API.",
"deliverables": ["Python modules", "OpenAPI docs"],
"output_format": "Python 3.11",
"primary_output_dir": "src/",
"components": [
{"slug": "auth-module", "name": "Authentication Module", "number": 1},
{"slug": "tasks-api", "name": "Tasks API", "number": 2}
]
}
Or use a Markdown brief with section headings:
## Project Name
MyProject
## Project Goal
Build a FastAPI backend with authentication and a task management API.
## Deliverables
- Python modules
- OpenAPI docs
See DESCRIPTION-FORMAT.md for all supported fields.
Generate Your Team¶
agentteams \
--description brief.json \
--project /path/to/your/project \
--framework copilot-vscode
Output is written to /path/to/your/project/.github/agents/.
Review SETUP-REQUIRED.md¶
Open the generated SETUP-REQUIRED.md. Any {MANUAL:*} placeholders that could not be auto-resolved are listed there with instructions. Fill them in before activating your team.
Activate Your Team¶
Open your project in VS Code and start a chat session. Invoke @orchestrator to begin.
Keeping Your Team Up to Date¶
When project structure or templates change, update your team without losing manual edits:
Use --prune to also remove agents that are no longer part of the taxonomy.
Check for drift without writing:
Running a Post-Generation Audit¶
This runs static checks (unresolved placeholders, YAML integrity, required-agent coverage). If the copilot CLI is available and authenticated, it also runs an AI-powered conflict and presupposition review.
Migrating a Legacy Agent Team to Fenced Templates¶
If your repository has existing agent files generated before fencing was introduced, use --migrate to upgrade them in a single, reversible step.
What --migrate does¶
- Creates a git tag
pre-fencing-snapshotat the current HEAD — your safety rollback point. - Runs
--overwriteto regenerate all agent files with fenced templates. - Prints a quality-audit checklist with
git diffcommands to review any lost project-specific content.
agentteams \
--description .github/agents/_build-description.json \
--framework copilot-vscode \
--project /path/to/project \
--migrate
After migration: restore project-specific rules¶
Review the diff for content that was in the old files but is not auto-generated:
Add any project-specific rules to the ### Rules → ### <Project> Project Rules subsection in orchestrator.agent.md. This is the USER-EDITABLE zone — it survives all future --merge runs permanently.
Then commit:
All future updates use --merge¶
Once migrated, never use --overwrite again. Use --merge instead:
agentteams \
--description .github/agents/_build-description.json \
--framework copilot-vscode \
--project /path/to/project \
--merge --yes
--merge updates only the template-fenced regions in each file and leaves all user-authored content untouched.
Reverting if something goes wrong¶
This runs git reset --hard pre-fencing-snapshot and deletes the tag, restoring all agent files to their pre-migration state. If you have already pushed the migrated commit to a remote, a manual force-push is required after the revert.