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 © 2026 SuperSwinkAI

AgentShore™ and Swink™ are trademarks of SuperSwinkAI, pending registration.

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.3.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.3-py3-none-any.whl (41.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentshore-0.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ed1f38db4e303624b13196151270b55d15d5fbfc788a8b6f1961610864b2ec8a
MD5 0d67c0e387dafe4743fe8235a5e067f0
BLAKE2b-256 b5255788aa47143bd96477c59a54cd4ce5ce4adaca971d2b005d7cd28103962a

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentshore-0.3.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: agentshore-0.3.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ecd8e728436c8139b11a51b0b49f68e6c800712561212ee8259fd7fc03a71de2
MD5 2e5ff15d7e8788e1fe08e8acc66a9449
BLAKE2b-256 c66487fd71b1648ef9ce808ff202d20da2debe0f2c7ce78c00caa559a24fe7f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentshore-0.3.3-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