Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swe_copilot_agents-0.1.12.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swe_copilot_agents-0.1.12-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

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

Hashes for swe_copilot_agents-0.1.12.tar.gz
Algorithm Hash digest
SHA256 d371fc56c4b5b5ea86fc7f3a0a9648bcdf5f70601bf3fb2017ee7e00b03be3df
MD5 93c5e8b6865ae025a4d476d2bf62ce30
BLAKE2b-256 488bee8b4c78fbbacad89b93add971a6e50797a7ee174e1db0256ea3bfad8a53

See more details on using hashes here.

Provenance

The following attestation bundles were made for swe_copilot_agents-0.1.12.tar.gz:

Publisher: publish.yml on khaerulumam42/swe-copilot-agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swe_copilot_agents-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for swe_copilot_agents-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 a1dd30bd083fc585df7c43f39d1e5829febcad15889ba14bdd91f2be7acff3ba
MD5 04d5638620a0651171d5716b043689be
BLAKE2b-256 6a0c30d3b9cf843103e774b2d1e398fb078bcdf01491d0c86c4944b90faf0254

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page