← Back to Skills Marketplace
Python Sdk
by
Ömer Karışman
· GitHub ↗
· v0.1.5
1338
Downloads
0
Stars
5
Active Installs
2
Versions
Install in OpenClaw
/install python-sdk
Description
Python SDK for inference.sh - run AI apps, build agents, and integrate with 150+ models. Package: inferencesh (pip install inferencesh). Supports sync/async,...
Usage Guidance
This skill appears to be a documentation-only SDK integration for inference.sh and is coherent with that purpose — but take the following precautions before using it: 1) The SDK requires an inference.sh API key (examples use INFERENCE_API_KEY) even though the skill metadata lists no required env vars; treat that key like any secret and limit its scope. 2) Examples show automatic upload of local file paths and large-file multipart uploads — avoid pointing the SDK at sensitive files unless you intend to send them to the external service. 3) Webhook tools and public=true file options can make data reachable to third parties; verify webhook URLs and permissions. 4) Several examples enable code execution and show use of eval — running untrusted expressions or auto-executing code from agents is dangerous; require human approval and sanitize inputs. 5) The skill bundle is instruction-only and has no provenance (homepage unknown, owner id only). Before installing or running pip install inferencesh, verify the package source (official website or PyPI project page) and review the actual pip package contents and version to ensure you’re installing the legitimate SDK. If you need higher assurance, ask the publisher for a homepage or source repository link and inspect the released package code.
Capability Analysis
Type: OpenClaw Skill
Name: python-sdk
Version: 0.1.5
This skill bundle is classified as suspicious due to the extremely broad permissions and powerful capabilities it exposes, which could be exploited via prompt injection against the AI agent. The `SKILL.md` explicitly grants `Bash(python *)` permission, allowing the agent to execute arbitrary Python code. Furthermore, the documentation details the use of `internal_tools().code_execution(True)` and `webhook_tool` (with `secret` access) for making external HTTP requests, which could be leveraged for data exfiltration or unauthorized actions if the agent is prompted maliciously. While the files themselves are documentation and do not contain explicit malware, the combination of broad execution permissions and powerful network/file access tools presents a significant attack surface.
Capability Assessment
Purpose & Capability
The name/description (Python SDK for inference.sh) matches the content: examples for sync/async clients, agents, tool-builder, file uploads, sessions, and streaming. The allowed tools (pip, python) and examples align with the declared purpose.
Instruction Scope
The runtime instructions are focused on SDK usage and remain within the SDK's purpose. However, the docs include examples that read local files, auto-upload file paths, use multipart uploads, and show how to enable code execution and eval-style handlers — all legitimate SDK features but they expand the agent's I/O surface and can send local data to an external service if used. The SKILL.md also shows webhook tools that call arbitrary external endpoints.
Install Mechanism
This is instruction-only with no install spec and no code shipped in the skill bundle, so nothing is written to disk by the skill itself. The documented install (pip install inferencesh) is standard for a Python SDK but is external to the skill bundle.
Credentials
The skill metadata declares no required environment variables, but the SKILL.md repeatedly shows using an API key (api_key parameter or INFERENCE_API_KEY env var). That mismatch is a documentation/metadata inconsistency: in practice the SDK needs an inference.sh API key to function. Examples also reference webhook secrets and third-party tokens (e.g., GITHUB_TOKEN, Slack webhooks) as part of examples—expected for integrations but not declared by the skill metadata.
Persistence & Privilege
The skill does not request always:true, no install, no config path access, and does not attempt to modify other skills or system-wide settings. Autonomous invocation is allowed (default) but is not combined with other elevated privileges here.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install python-sdk - After installation, invoke the skill by name or use
/python-sdk - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.5
- Initial public release of the Python SDK for inference.sh.
- Run, stream, and manage AI apps with support for 150+ models.
- Includes agent/assistant building: template and ad-hoc agent support with tools and human approval flows.
- Features file upload API (automatic/manual) and session management for stateful execution.
- Tool builder API enables creation of custom, app, agent, webhook, and internal tools.
- Supports both synchronous and asynchronous (async) operation modes.
v0.1.0
Initial public release of the python-sdk.
- Provides a Python SDK for inference.sh, enabling AI app execution, agent development, and integration with over 150 models.
- Supports synchronous/asynchronous operations, streaming, file uploads, and stateful sessions.
- Includes agent builder APIs (template and ad-hoc), tool builder, webhook/integration support, and human approval workflows.
- Comprehensive documentation with code samples for installation, authentication, task execution, agent/skill development, and file handling.
- Available via pip as inferencesh, compatible with Python 3.8+.
Metadata
Frequently Asked Questions
What is Python Sdk?
Python SDK for inference.sh - run AI apps, build agents, and integrate with 150+ models. Package: inferencesh (pip install inferencesh). Supports sync/async,... It is an AI Agent Skill for Claude Code / OpenClaw, with 1338 downloads so far.
How do I install Python Sdk?
Run "/install python-sdk" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Python Sdk free?
Yes, Python Sdk is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Python Sdk support?
Python Sdk is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Python Sdk?
It is built and maintained by Ömer Karışman (@okaris); the current version is v0.1.5.
More Skills