chump-server
The backend hosts ChumpAgent instances over ai-query's built-in agent
server routes.
Run
uv sync
uv run chump-server
Install
End-user Chump release archives bundle a platform-specific chump-server
binary next to the CLI. The PyPI package remains useful for development,
debugging, and direct backend runs:
uv run chump-server
During repository development, uv uses the released ai-query version pinned
in pyproject.toml and uv.lock.
Build a local standalone backend binary:
python scripts/build_binary.py
The output is written to dist/bin/chump-server-<platform>.
Use python scripts/build_binary.py --mode onedir --archive to produce the
release archive at dist/bin/chump-server-<platform>.tar.gz.
Release
chump-server versions come from git tags through hatch-vcs.
git tag chump-server-v0.1.0
git push origin chump-server-v0.1.0
Pushing a chump-server-v* tag runs the PyPI job and creates a GitHub Release in .github/workflows/release.yml.
The same release also gets platform-specific standalone backend runtime archives
named chump-server-<platform>.tar.gz attached for sandbox/server-only
deployments. Legacy onefile assets named chump-server-<platform> are also
attached so older clients can update across the runtime archive transition.
Environment
CHUMP_HOST: default127.0.0.1CHUMP_PORT: default8080CHUMP_WORKSPACE_ROOT: defaults to the parent directory ofserver/CHUMP_STATE_DIR: optional override for the workspace state directory; defaults to a per-workspace path under the user's OS state/data directoryCHUMP_PROVIDER: defaultchump_cloud; also supportscodex,github_copilot,openai,google,anthropic,workers_ai,deepseek,openrouter,groq,xai,opencode,opencode_go, andzenmuxCHUMP_MODEL: provider-specific defaultCHUMP_CLOUD_BASE_URL: optional OpenAI-compatible base URL for thechump_cloudproviderCHUMP_MAX_STEPS: default250CHUMP_RETRY_MAX_ATTEMPTS: provider-call retry attempts; default3, set1to disableCHUMP_RETRY_INITIAL_DELAY: initial retry delay in seconds; default0.5CHUMP_RETRY_MAX_DELAY: max retry delay in seconds; default8CHUMP_RETRY_BACKOFF: retry delay multiplier; default2CHUMP_RETRY_JITTER: enable retry jitter; default1CHUMP_COMMAND_TIMEOUT: default120CHUMP_MANAGED_SERVER_IDLE_TIMEOUT: optional process idle shutdown timeout in secondsCHUMP_REASONING_EFFORT: optional OpenAI-compatible reasoning effortCHUMP_REASONING_BUDGET: optional Gemini-compatible thinking budgetCHUMP_VERBOSE: default1
Prompt-cache benchmark
Chump persists provider-reported token usage for every model step. Report the observed cache hit rate across local sessions, grouped by provider and model:
uv run --project server python server/scripts/benchmark_prompt_cache.py
The report includes two different rates:
- Request hit: model calls where
cached_tokens > 0. - Token hit: cached input tokens divided by all input tokens.
Use --provider google (repeatable), --min-calls 10, --json, or
--state-root <path> to filter or automate the report. This benchmark reads
local telemetry without making model requests or spending provider credits.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chump_server-0.1.22.tar.gz.
File metadata
- Download URL: chump_server-0.1.22.tar.gz
- Upload date:
- Size: 197.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ff6382ebfa419aeeafcc641e15e599db5430f19d5ebd1aa6a4a43bd5b1455c7
|
|
| MD5 |
7122b8f37fbdc4942bafdfc87213062a
|
|
| BLAKE2b-256 |
660c4313dbebbe0f53f84cedc225433c2ecbd8410528d80c7ff6f3d624533515
|
Provenance
The following attestation bundles were made for chump_server-0.1.22.tar.gz:
Publisher:
release.yml on Abdulmumin1/chump
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chump_server-0.1.22.tar.gz -
Subject digest:
4ff6382ebfa419aeeafcc641e15e599db5430f19d5ebd1aa6a4a43bd5b1455c7 - Sigstore transparency entry: 2450109080
- Sigstore integration time:
-
Permalink:
Abdulmumin1/chump@a7d4a5b379fb606a1f71815f905e7eafb8f9c98e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Abdulmumin1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a7d4a5b379fb606a1f71815f905e7eafb8f9c98e -
Trigger Event:
push
-
Statement type:
File details
Details for the file chump_server-0.1.22-py3-none-any.whl.
File metadata
- Download URL: chump_server-0.1.22-py3-none-any.whl
- Upload date:
- Size: 94.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f772bd3938ff40ab0035b3c0d0f402041961dde13b22ba66cb6d3ecfc548267e
|
|
| MD5 |
58abe50f4ed3e3a9914e4c654a6d002d
|
|
| BLAKE2b-256 |
6dd4a5ddbc0444741805f5c924d3d06b7e78f3e40afe50e39c28d73dd558b249
|
Provenance
The following attestation bundles were made for chump_server-0.1.22-py3-none-any.whl:
Publisher:
release.yml on Abdulmumin1/chump
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chump_server-0.1.22-py3-none-any.whl -
Subject digest:
f772bd3938ff40ab0035b3c0d0f402041961dde13b22ba66cb6d3ecfc548267e - Sigstore transparency entry: 2450109127
- Sigstore integration time:
-
Permalink:
Abdulmumin1/chump@a7d4a5b379fb606a1f71815f905e7eafb8f9c98e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Abdulmumin1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a7d4a5b379fb606a1f71815f905e7eafb8f9c98e -
Trigger Event:
push
-
Statement type: