python-sdk

Installation
Summary

Python SDK for building AI applications, agents, and integrations with 150+ inference.sh models.

  • Supports sync and async execution with streaming progress updates, fire-and-forget task submission, and stateful sessions for warm worker continuity
  • Agent SDK includes template agents, ad-hoc agent creation with custom tools, and built-in capabilities like web search, code execution, and image generation
  • Tool builder API enables four tool types: client tools (run in your code), app tools (call AI apps), agent tools (delegate to sub-agents), and webhook tools (external APIs)
  • Automatic file upload and attachment handling for images and other file types; human approval workflows for sensitive tool calls
  • Requires Python 3.8+; install with pip install inferencesh or pip install inferencesh[async] for async support
SKILL.md

Install the belt CLI skill: npx skills add belt-sh/cli

Python SDK

Build AI applications with the inference.sh Python SDK.

Python SDK

Quick Start

pip install inferencesh
from inferencesh import inference

client = inference(api_key="inf_your_key")
Related skills
Installs
GitHub Stars
500
First Seen
python-sdk — inferen-sh/skills