inferencesh — Python SDK для AI-агентов

★ 7.7 · content

python-sdk is a Claude Code skill that provides the inferencesh Python SDK for running AI applications, building agents, and integrating with language models via inference.sh. Install with `pip install inferencesh` (Python 3.8+); supports synchronous and asynchronous execution, streaming progress updates, file uploads with automatic or manual handling, and stateful sessions that keep workers warm across multiple calls. The Agent SDK offers two patterns: template agents loaded from a workspace and ad-hoc agents assembled programmatically using the Tool Builder API, which covers typed parameters (string, number, enum, array, object), app-backed tools that call AI apps like infsh/flux-1-dev, and a human approval mode. It suits Python developers building LLM integrations, RAG pipelines, or automated workflows with models including Claude Sonnet 4, GPT-4o, and others available on inference.sh.