Skip to main content

Python backend for the chump coding assistant

Project description

chump-server

The backend hosts ChumpAgent instances over ai-query's built-in agent server routes.

Run

uv sync
uv run chump-server

Install

Once published, the backend package can be installed or run directly with uv:

uv tool install chump-server
chump-server

or:

uvx --from chump-server chump-server

During repository development, uv still uses the local editable ../ai-query source from pyproject.toml.

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.

Environment

  • CHUMP_HOST: default 127.0.0.1
  • CHUMP_PORT: default 8080
  • CHUMP_WORKSPACE_ROOT: defaults to the parent directory of server/
  • CHUMP_DATA_DIR: default .chump
  • CHUMP_PROVIDER: default chump_cloud; also supports codex, openai, google, anthropic, and workers_ai
  • CHUMP_MODEL: provider-specific default
  • CHUMP_CLOUD_BASE_URL: optional OpenAI-compatible base URL for the chump_cloud provider
  • CHUMP_MAX_STEPS: default 64
  • CHUMP_RETRY_MAX_ATTEMPTS: provider-call retry attempts; default 3, set 1 to disable
  • CHUMP_RETRY_INITIAL_DELAY: initial retry delay in seconds; default 0.5
  • CHUMP_RETRY_MAX_DELAY: max retry delay in seconds; default 8
  • CHUMP_RETRY_BACKOFF: retry delay multiplier; default 2
  • CHUMP_RETRY_JITTER: enable retry jitter; default 1
  • CHUMP_COMMAND_TIMEOUT: default 120
  • CHUMP_MANAGED_SERVER_IDLE_TIMEOUT: optional process idle shutdown timeout in seconds
  • CHUMP_REASONING_EFFORT: optional OpenAI-compatible reasoning effort
  • CHUMP_REASONING_BUDGET: optional Gemini-compatible thinking budget
  • CHUMP_VERBOSE: default 1

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

chump_server-0.0.18.tar.gz (83.2 kB view details)

Uploaded Source

Built Distribution

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

chump_server-0.0.18-py3-none-any.whl (43.1 kB view details)

Uploaded Python 3

File details

Details for the file chump_server-0.0.18.tar.gz.

File metadata

  • Download URL: chump_server-0.0.18.tar.gz
  • Upload date:
  • Size: 83.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chump_server-0.0.18.tar.gz
Algorithm Hash digest
SHA256 e76d6958b267275c85505980352f7167698ff9843556694622a8988ce4b450ea
MD5 925961e7bf4534ce814004a1de14ccd9
BLAKE2b-256 9f670aa463f0c38acba86021f53d07b56025bab8eb39c15e9f6805ebe74b9f78

See more details on using hashes here.

Provenance

The following attestation bundles were made for chump_server-0.0.18.tar.gz:

Publisher: release.yml on Abdulmumin1/chump

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chump_server-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: chump_server-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 43.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chump_server-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 e9f838e4f1cf378b538ccf94adf21375dd8c654b31d6ef31201325decd207225
MD5 227ab70bc4d55d57b137d9c3cbc5c2fc
BLAKE2b-256 ed5ec98e899bc003fd12b7758008e8f2dcd9cd19e82eb4851312befc662a1141

See more details on using hashes here.

Provenance

The following attestation bundles were made for chump_server-0.0.18-py3-none-any.whl:

Publisher: release.yml on Abdulmumin1/chump

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