Skip to main content

One-shot local configurator for coding agents against a Substrate gateway

Project description

substrate-setup

One-shot configurator that points local coding agents at a Substrate gateway.

Install

substrate-setup requires Python 3.12+. The installers below pick the right interpreter automatically — you don't need a Python 3.12 already on your machine:

# Option A — uv (recommended; downloads Python 3.12 on demand if missing)
uv tool install substrate-setup

# Option B — pipx
pipx install substrate-setup

Don't have uv? Install it once with:

curl -LsSf https://astral.sh/uv/install.sh | sh   # macOS / Linux
# or on Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Why not pip install substrate-setup? It works only if the pip on your PATH is bound to a Python 3.12+ interpreter. Anaconda's default pip (Python 3.9) is the common pitfall — PyPI hides every release from it with Requires-Python >=3.12 and the error message is unhelpful. uv and pipx both create an isolated 3.12 venv for the tool, so they sidestep the issue entirely.

Use

export SUBSTRATE_API_KEY="sk-substrate-..."   # or be prompted

substrate-setup configure          # detect installed agents and wire them up
substrate-setup verify             # read-only: confirm everything points at the gateway
substrate-setup remove             # strip the substrate-managed entries
substrate-setup --help

Supported agents: hermes, cursor, aider, continue.

Subset with --agents-only hermes,aider. Preview without writing: --dry-run. Override the gateway base URL: --base-url https://your-gateway.example.com.

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

substrate_setup-0.2.2.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

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

substrate_setup-0.2.2-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file substrate_setup-0.2.2.tar.gz.

File metadata

  • Download URL: substrate_setup-0.2.2.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for substrate_setup-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ea77e1492a67f4ab3f3f7f621b4c2158b7943fe59cde497d170d5d5ff9ce3cb6
MD5 fcb0896f24a0de528166862a8d239bff
BLAKE2b-256 b247841e6d97e237097567d7b8b53d63478543bda809f14889f36ca0e8110235

See more details on using hashes here.

File details

Details for the file substrate_setup-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: substrate_setup-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for substrate_setup-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6083002cf8880c02858f0b88f41a7978d1b18da9b3028ea7ab3bf070e7e43fd8
MD5 76130c8837b583872ee8365f47545f66
BLAKE2b-256 68f0f1a91666ee0fc7bba901da27dea07334e66924cd00c605cadf3238234454

See more details on using hashes here.

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