Skip to main content

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.

Metadata

Release files for swe-copilot-agents 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swe-copilot-agents 0.1.12
File Size Uploaded
swe_copilot_agents-0.1.12.tar.gz 19.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swe-copilot-agents 0.1.12
File Interpreter ABI Platform
swe_copilot_agents-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 39.7 kB

Release files / swe_copilot_agents-0.1.12.tar.gz

Download URL swe_copilot_agents-0.1.12.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d371fc56c4b5b5ea86fc7f3a0a9648bcdf5f70601bf3fb2017ee7e00b03be3df
BLAKE2b-256 checksum
How to use checksums
488bee8b4c78fbbacad89b93add971a6e50797a7ee174e1db0256ea3bfad8a53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

Release files / swe_copilot_agents-0.1.12-py3-none-any.whl

Download URL swe_copilot_agents-0.1.12-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1dd30bd083fc585df7c43f39d1e5829febcad15889ba14bdd91f2be7acff3ba
BLAKE2b-256 checksum
How to use checksums
6a0c30d3b9cf843103e774b2d1e398fb078bcdf01491d0c86c4944b90faf0254
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page