GitHub Copilot agents for AI-assisted software development
Project description
swe-copilot-agents
A collection of GitHub Copilot custom agents for the complete software development lifecycle — from planning through implementation, testing, and documentation.
Installation
pip install swe-copilot-agents
Then install agents into your project:
cd /path/to/your/project
swe-copilot-agents
This copies 7 .agent.md files to .github/agents/ in your project:
✓ rug-orchestrator.agent.md
✓ brainstormer.agent.md
✓ plan-executor.agent.md
✓ plan-reviewer.agent.md
✓ pytest-agent.agent.md
✓ knowledge-graph-agent.agent.md
✓ readme-generator.agent.md
Agents
| Agent | Role |
|---|---|
@rug-orchestrator |
Orchestrates the full dev cycle using the RUG (Repeat Until Good) pattern |
@brainstormer |
Asks clarifying questions and writes detailed implementation plans |
@plan-executor |
Implements plans by matching your codebase's existing style |
@plan-reviewer |
Audits implementation against the plan — evidence-driven |
@pytest-agent |
Writes exhaustive pytest suites with expert-level mocking |
@knowledge-graph-agent |
Builds a knowledge-graph.yaml map of your codebase |
@readme-generator |
Generates and updates README from the knowledge graph |
See docs/AGENTS.md for full details on each agent.
Usage
Start with the orchestrator for end-to-end workflow:
@rug-orchestrator
I want to add a user authentication system with JWT tokens
Or invoke agents directly:
@brainstormer
I need to add a search feature to my application
@plan-reviewer
Review the implementation against docs/plan/2025-03-02-auth.md
How it works
User Request
↓
@rug-orchestrator (Pure Delegator)
│
├─ Phase 1: @brainstormer → Plan document
│ ↓ Human Approval
├─ Phase 2: @plan-executor → Implementation (per task)
├─ Phase 3: @plan-reviewer → Validate
│ ├─ FAIL → Retry @plan-executor (up to 3×)
│ └─ PASS → Continue
└─ Phase 4: @pytest-agent → Tests (optional)
Each task is validated before moving on. Failed tasks are retried up to 3 times, then escalated to the human.
Testing
The package has a cross-platform test suite covering macOS, Linux, and Windows.
pip install -e ".[dev]"
pytest tests/ -v
CI runs automatically on every push across 3 OSes × 5 Python versions (3.9 – 3.13):
| Ubuntu | macOS | Windows | |
|---|---|---|---|
| Python 3.9 – 3.13 | ✓ | ✓ | ✓ |
Tests cover:
install()— directory creation, file copying, idempotency, error handling- Agent file validity — Windows-safe filenames, UTF-8 encoding, required YAML frontmatter
- Cross-platform path safety — pathlib usage, no hardcoded separators
Contributing
See CONTRIBUTING.md.
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swe_copilot_agents-0.1.12.tar.gz.
File metadata
- Download URL: swe_copilot_agents-0.1.12.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d371fc56c4b5b5ea86fc7f3a0a9648bcdf5f70601bf3fb2017ee7e00b03be3df
|
|
| MD5 |
93c5e8b6865ae025a4d476d2bf62ce30
|
|
| BLAKE2b-256 |
488bee8b4c78fbbacad89b93add971a6e50797a7ee174e1db0256ea3bfad8a53
|
Provenance
The following attestation bundles were made for swe_copilot_agents-0.1.12.tar.gz:
Publisher:
publish.yml on khaerulumam42/swe-copilot-agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swe_copilot_agents-0.1.12.tar.gz -
Subject digest:
d371fc56c4b5b5ea86fc7f3a0a9648bcdf5f70601bf3fb2017ee7e00b03be3df - Sigstore transparency entry: 1457134608
- Sigstore integration time:
-
Permalink:
khaerulumam42/swe-copilot-agents@74ed8ae017eecefec72548c9228ac547f1b58377 -
Branch / Tag:
refs/tags/v0.1.12 - Owner: https://github.com/khaerulumam42
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@74ed8ae017eecefec72548c9228ac547f1b58377 -
Trigger Event:
push
-
Statement type:
File details
Details for the file swe_copilot_agents-0.1.12-py3-none-any.whl.
File metadata
- Download URL: swe_copilot_agents-0.1.12-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1dd30bd083fc585df7c43f39d1e5829febcad15889ba14bdd91f2be7acff3ba
|
|
| MD5 |
04d5638620a0651171d5716b043689be
|
|
| BLAKE2b-256 |
6a0c30d3b9cf843103e774b2d1e398fb078bcdf01491d0c86c4944b90faf0254
|
Provenance
The following attestation bundles were made for swe_copilot_agents-0.1.12-py3-none-any.whl:
Publisher:
publish.yml on khaerulumam42/swe-copilot-agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
swe_copilot_agents-0.1.12-py3-none-any.whl -
Subject digest:
a1dd30bd083fc585df7c43f39d1e5829febcad15889ba14bdd91f2be7acff3ba - Sigstore transparency entry: 1457134729
- Sigstore integration time:
-
Permalink:
khaerulumam42/swe-copilot-agents@74ed8ae017eecefec72548c9228ac547f1b58377 -
Branch / Tag:
refs/tags/v0.1.12 - Owner: https://github.com/khaerulumam42
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@74ed8ae017eecefec72548c9228ac547f1b58377 -
Trigger Event:
push
-
Statement type: