slop-ai (Python)
pip install slop-ai[websocket]Main imports
Section titled “Main imports”from slop_ai import SlopServer, SlopConsumer, pick, omitfrom slop_ai.transports.asgi import SlopMiddlewareIncluded modules
Section titled “Included modules”- provider APIs via
SlopServer - consumer APIs via
SlopConsumer - transport modules for ASGI, WebSocket, Unix socket, stdio, and matching client transports
- scaling helpers such as
prepare_tree()andtruncate_tree() - LLM tool helpers such as
affordances_to_tools()andformat_tree()
Best fit
Section titled “Best fit”- FastAPI and Starlette services
- Python desktop and daemon processes
- CLI tools that need Unix or stdio transports
- Python-based agent consumers