This release is a pre-release and may not be stable for production use.
RadioShaq
Strategic Ham Radio Autonomous Query and Kontrol System
An AI-powered orchestrator for ham radio operations, emergency communications, and field-to-HQ coordination. One install gives you the API, web UI, and optional remote SDR receiver.
Install
pip install radioshaq
Optional (for SDR hardware): pip install radioshaq[sdr] (RTL-SDR) or radioshaq[hackrf] (HackRF).
Requirements: Python 3.11+
License notice: RadioShaq is distributed under GPL-2.0-only. Official CLI and web UI require explicit license acceptance before normal use.
Easiest way to get started: interactive setup
From a project directory (or the repo root), run:
radioshaq setup
This walks you through:
- Mode — field, hq, or receiver
- Database — use Docker Postgres or an existing URL
- Secrets — JWT secret, LLM API key (optional)
- Config — writes
.envandconfig.yaml, can start Docker and run migrations
Minimal prompts: radioshaq setup --quick (mode + “use Docker?” then defaults).
Non-interactive (CI/scripts): radioshaq setup --no-input --mode field (optionally --db-url postgresql://...).
Reconfigure: radioshaq setup --reconfigure to update existing config without starting over.
Run the API and web UI
radioshaq run-api
- API docs: http://localhost:8000/docs
- Web UI: http://localhost:8000/
- Health: http://localhost:8000/health
Default host: 0.0.0.0, port: 8000. Override with --host and --port.
Get a token (auth)
Most API calls need a Bearer JWT:
radioshaq token --subject op1 --role field --station-id STATION-01
Then set RADIOSHAQ_TOKEN to the printed value, or pass it in requests. Roles: field, hq, receiver.
Check API from the CLI:
radioshaq health
radioshaq health --ready
CLI at a glance
| Command | What it does |
|---|---|
| setup | |
radioshaq setup |
Interactive setup: .env, config.yaml, optional Docker and migrations |
radioshaq setup --quick |
Minimal prompts (mode, use Docker?), then defaults |
radioshaq setup --no-input --mode field |
Non-interactive for CI; optional --db-url, --config-dir |
radioshaq setup --reconfigure |
Update existing config (merge sections) |
| Server & auth | |
radioshaq run-api |
Start FastAPI server (and web UI at /). Options: --host, --port, --reload |
radioshaq run-receiver |
Start remote SDR receiver (port 8765). Set JWT_SECRET, STATION_ID, HQ_URL |
radioshaq token |
Get JWT. Options: --subject, --role, --station-id, --base-url |
radioshaq health |
Liveness check; radioshaq health --ready for readiness |
Callsigns (require RADIOSHAQ_TOKEN) |
|
radioshaq callsigns list |
List registered callsigns |
radioshaq callsigns add <callsign> |
Register a callsign |
radioshaq callsigns remove <callsign> |
Remove from whitelist |
radioshaq callsigns register-from-audio <file> |
Register from audio (ASR) |
| Messages | |
radioshaq message process <text> |
Send message through REACT orchestrator |
radioshaq message inject <text> |
Inject into RX path (demo). Options: --band, --mode, --source-callsign |
radioshaq message whitelist-request <text> |
Whitelist request (orchestrator + optional TTS) |
radioshaq message relay <msg> --source-band X --target-band Y |
Relay message between bands |
| Transcripts | |
radioshaq transcripts list |
List transcripts. Options: --callsign, --band, --since, --limit |
radioshaq transcripts get <id> |
Get one transcript |
radioshaq transcripts play <id> |
Play transcript as TTS over radio |
| Radio | |
radioshaq radio bands |
List bands |
radioshaq radio send-tts <message> |
Send TTS over radio. Options: --frequency-hz, --mode |
Use radioshaq --help and radioshaq <command> --help for options. API base URL: RADIOSHAQ_API (default http://localhost:8000).
Remote receiver (SDR listen-only)
For a listen-only station (e.g. Raspberry Pi + RTL-SDR) that streams to HQ:
pip install radioshaq[sdr] # or radioshaq[hackrf] for HackRF
export JWT_SECRET=your-secret
export STATION_ID=RECEIVER-01
export HQ_URL=http://your-hq:8000
radioshaq run-receiver
HQ accepts uploads at POST /receiver/upload (Bearer JWT). Default receiver port: 8765 (--port to change).
After install (no interactive setup)
If you prefer to configure by hand:
- Database: Set
DATABASE_URLorPOSTGRES_*(and run migrations with your Alembic config). - Config: Copy
config.example.yamltoconfig.yamland setmode,database,auth, etc. See Configuration. - Start:
radioshaq run-api.
Documentation
License
GPL-2.0-only
Metadata
Release files for radioshaq 0.1.2.dev202603071218
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| radioshaq-0.1.2.dev202603071218.tar.gz | 320.8 kB | With provenance | Details for radioshaq-0.1.2.dev202603071218.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| radioshaq-0.1.2.dev202603071218-py3-none-any.whl | Python 3 | none | any | Details for radioshaq-0.1.2.dev202603071218-py3-none-any.whl |
Total release size: 701.4 kB
Release files / radioshaq-0.1.2.dev202603071218.tar.gz
| Download URL | radioshaq-0.1.2.dev202603071218.tar.gz |
|---|---|
| Size | 320.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7262400787ea7d8e0f4b1a915c2fc19666b5db905f4037eead5aa98685f808af
|
|
BLAKE2b-256 checksum How to use checksums |
25e936e93da3e3931884323e500c3286533b343ca1fae376a904edd652dbcd85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 7, 2026.
Transparency logRelease files / radioshaq-0.1.2.dev202603071218-py3-none-any.whl
| Download URL | radioshaq-0.1.2.dev202603071218-py3-none-any.whl |
|---|---|
| Size | 380.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cec92a1a32019515602398b2f3a2d2ce15eddd2b67f4ddba764c896d28774d12
|
|
BLAKE2b-256 checksum How to use checksums |
80a60bff4961dafa5f930cdac94b5a96e8cc207eb0819d9b564e293a73356575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 7, 2026.
Transparency logSecurity for radioshaq 0.1.2.dev202603071218
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for radioshaq-0.1.2.dev202603071218.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.