Skip to main content

Swink AgentShore — RL-based multi-agent orchestrator

Project description

AgentShore

CI PyPI version License: MIT Python 3.12+

RL-based multi-agent coding orchestrator. AgentShore runs a reinforcement learning policy that selects "plays" — discrete skills like issue pickup, code review, QA, and cleanup — and dispatches them to Claude, Codex, or Gemini agents working a GitHub issue backlog. You steer via GitHub issues; AgentShore handles the progression.

What it does

  • Picks up GitHub issues, implements them, opens PRs, reviews them, runs QA, and merges
  • Uses PPO (proximal policy optimization) to learn which plays to run and when
  • Coordinates multiple agents (Claude Code, Codex CLI, Gemini CLI) with different GitHub identities so code review is always done by a different agent than the one that wrote the code
  • Keeps humans in the loop via the GitHub issue tracker — no AgentShore-specific approval UI needed

Install

pip install agentshore

Requires Python 3.12+. The wheel is self-contained — schema, dashboard assets, and skill templates are all bundled, so a plain pip install yields a fully working CLI with no extras required.

For development from a checkout, uv sync --group dev sets up the full toolchain in .venv/ and you can run the CLI with uv run agentshore.

Windows 11

The agentshore CLI runs on Windows 11. In addition to pip install agentshore, a bootstrap script is available in the repo that locates or installs uv and then runs uv tool install:

powershell -ExecutionPolicy Bypass -File scripts\install-agentshore.ps1

If a corporate/AV HTTPS-inspection proxy breaks downloads, the script passes uv's --native-tls for you; for bare pip, point it at your system CA bundle.

The macOS desktop app (Tauri shell + bundled bd sidecar + Python wheel) is built and signed by uv run python -m scripts.buildkit macos, which produces a signed .app, .dmg, and .pkg installer. The Windows desktop app is built by uv run python -m scripts.buildkit windows, which produces a machine-wide Inno Setup wizard .exe with matching Desktop, Timelapse Capture, and CLI component choices. Both run from the repo root through the cross-platform build spine in scripts/buildkit/.

Quick start

Choose the path that matches how you want to run AgentShore:

Both paths end in selecting a project, configuring agents and identities, and starting a supervised session.

Requirements

  • Python 3.12+
  • gh CLI authenticated (gh auth login)
  • One or more agent CLIs on PATH: claude, codex, gemini
  • A GitHub repository with issues

Configuration

agentshore init generates agentshore.yaml in your project root. The source of truth for fields and defaults is src/agentshore/config/models.py plus _DEFAULT_YAML in src/agentshore/config/__init__.py.

Re-run agentshore init at any time to refresh settings via the setup wizards (it preserves your existing agentshore.yaml unless you pass --force).

CLI reference

Registered subcommands are init, start, stop, dashboard, identity, and trusted-ids. Use agentshore <subcommand> --help for option details.

Architecture

The core loop: observe state → RL policy selects a play → execute play via agent → compute reward → update policy.

  • RL engine: custom PPO in PyTorch, 22-action head (19 active plays + 3 reserved/masked, action-space version 13), 246-feature observation vector (observation version 13)
  • Plays: each play implements preconditions(), execute(), estimated_cost(); a mask prevents invalid plays from being selected
  • Agents: CLI agents (Claude Code, Codex, Gemini) run as async subprocesses; API agents use httpx
  • Three-layer graph: BEADS is the canonical project graph (epics → stories → tasks), GitHub is the human conversation surface, and AgentShore's SQLite database holds session-scoped RL state
  • Data: single SQLite database per project (schema version 4, 22 tables), WAL mode, aiosqlite

Design documentation: docs/design/HLD.md

Dashboard

Run agentshore start --headless, then agentshore dashboard for a live session. For dashboard-only development, run the Vite app in dashboard/ and open the demo transport with ?demo=1.

Contributing

See CONTRIBUTING.md.

License

MIT — Copyright (c) 2026 SuperSwinkAI

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

agentshore-0.3.2.tar.gz (45.7 MB view details)

Uploaded Source

Built Distribution

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

agentshore-0.3.2-py3-none-any.whl (41.5 MB view details)

Uploaded Python 3

File details

Details for the file agentshore-0.3.2.tar.gz.

File metadata

  • Download URL: agentshore-0.3.2.tar.gz
  • Upload date:
  • Size: 45.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for agentshore-0.3.2.tar.gz
Algorithm Hash digest
SHA256 828b82dc00e7d819a2cbe5fc85ea8f4db1d35325b15400b2bdd21bd5276c0474
MD5 ef26df65f21369d4e9a5cc0dfc1befa1
BLAKE2b-256 6cf535c5293962c6d132e57f62230c9fb3ac9e74c8e8aa68452ec8b879dcf230

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentshore-0.3.2.tar.gz:

Publisher: release-pypi.yml on SuperSwinkAI/Swink-AgentShore

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

File details

Details for the file agentshore-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: agentshore-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 41.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for agentshore-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a416215bece348e253fc409d9a0ddb0d3d6442ae91c26708dab59e0ae0010d15
MD5 8e4b166fb1a695ab3ba62675447396ca
BLAKE2b-256 15254e50661f90c7d1544357a4a09e72c8ef4c7ca3135d2fe8d26f35e314c723

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentshore-0.3.2-py3-none-any.whl:

Publisher: release-pypi.yml on SuperSwinkAI/Swink-AgentShore

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