Skip to main content

Cost-Sustainable Concurrent Execution for Long-Horizon LLM Agents

Project description

SlowBurn

PyPI version Tests Linting Python 3.10+ License: MIT

SlowBurn: Cost-Sustainable Concurrent Execution for Long-Horizon LLM Agents

SlowBurn is a Python library that lets LLM agent workflows run within a dollar budget by automatically slowing down — not crashing — when the budget is tight. It combines concurrent execution with dollar-denominated rate limiting and per-call cost tracking, so researchers can launch overnight batch experiments on a $5/day budget and wake up to completed results instead of a crashed script.

SlowBurn provides a native asyncio LLM worker for direct use, and drop-in integrations for AutoGen (AG2) and CrewAI that add budget control to existing multi-agent workflows without code changes.

Installation

pip install slowburn

Development

git clone https://github.com/adivekar-utexas/slowburn.git
cd slowburn
pip install -e ".[dev]"
pytest

License

MIT

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

slowburn-0.2.0.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

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

slowburn-0.2.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file slowburn-0.2.0.tar.gz.

File metadata

  • Download URL: slowburn-0.2.0.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for slowburn-0.2.0.tar.gz
Algorithm Hash digest
SHA256 53fcd25c11722fefc120ca707aa054e6f62d1e4be3fad0ef74454c3a9e448a06
MD5 96372ccd0b652e640ba27ab7423c894f
BLAKE2b-256 51f2134eaa03bca855f01f1b5e7f22c7da3f34838215b1235cc4867398ebb6c5

See more details on using hashes here.

File details

Details for the file slowburn-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: slowburn-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for slowburn-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 870cf089e7ab399653f5fe5e3304f01d7792ec18c34fd3b2d9154e73c434f02b
MD5 1d960a95eee1d7e6da9ad016607f1104
BLAKE2b-256 c62a946d41656e00afba217dd65cffdada6c92f92608c328a74f0a86fec3b770

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