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, agy (Antigravity)
  • 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.5.0.tar.gz (45.8 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.5.0-py3-none-any.whl (41.5 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentshore-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c101135837ef9bd1cc5dbc2a80be1c99170b3d1d30137905c6c0da7254ae8d9d
MD5 8d8fdba4a0f6e3842fc70a3dd0b6255f
BLAKE2b-256 a1d1394be8c5bf841d9233d6b9a4596f38c5aa361c037ea806ab17dc81f60d34

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: agentshore-0.5.0-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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 523522bfb80d2092b0db352b9277101ad605598b69da07dd5ff67ede8f97e1aa
MD5 039c9f8868fee7e04d31f6f20df2b0f6
BLAKE2b-256 b6301be5dbfad5e1a98f3980493803b573e36320b8b5a5d5653a5a701f5b9e44

See more details on using hashes here.

Provenance

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