Skip to main content Switch to mobile version komputer-ai-sdk 0.27.0 Python SDK for the komputer.ai platform
pip install komputer-ai-sdk==0.27.0 Copy PIP instructions
Python client for the komputer.ai platform.
pip install komputer-ai-sdk Or install directly from the repository:
pip install git+https://github.com/komputer-ai/komputer-ai.git#subdirectory=komputer-sdk/python Quick Start
from komputer_ai.client import KomputerClient client = KomputerClient("http://localhost:8080") # Create an agent agent = client.create_agent( name="my-agent", instructions="Summarize the latest Kubernetes release notes", model="claude-sonnet-4-6", ) # Stream events as the agent works for event in client.watch_agent("my-agent"): if event.type == "text": print(event.payload.content) elif event.type == "task_completed": print(f"Done — cost: ${event.payload.cost_usd}") break Usage
# Create client.create_agent(name="researcher", instructions="Research AI trends", model="claude-sonnet-4-6") # List agents = client.list_agents() # Get agent = client.get_agent("researcher") # Update client.patch_agent("researcher", model="claude-haiku-4-5-20251001", lifecycle="Sleep") # Send a follow-up task to an idle agent client.create_agent(name="researcher", instructions="Now focus on LLM benchmarks") # Cancel a running task client.cancel_agent_task("researcher") # Delete client.delete_agent("researcher") Memories
client.create_memory(name="company-context", content="We are a B2B SaaS company.", description="Background info") client.patch_agent("my-agent", memories=["company-context"]) memories = client.list_memories() client.patch_memory("company-context", content="Updated context.") client.delete_memory("company-context") Skills
client.create_skill(name="healthcheck", description="Check service health", content="curl -s http://api/healthz") client.patch_agent("my-agent", skills=["healthcheck"]) skills = client.list_skills() client.delete_skill("healthcheck") Schedules
client.create_schedule( name="daily-report", schedule="0 9 * * *", instructions="Generate a daily status report", timezone="America/New_York", ) schedules = client.list_schedules() client.patch_schedule("daily-report", schedule="0 10 * * *") client.delete_schedule("daily-report") Secrets
client.create_secret(name="api-keys", data={"GITHUB_TOKEN": "ghp_xxx", "SLACK_TOKEN": "xoxb-xxx"}) client.patch_agent("my-agent", secret_refs=["api-keys"]) secrets = client.list_secrets() client.update_secret("api-keys", data={"GITHUB_TOKEN": "ghp_new"}) client.delete_secret("api-keys") Connectors
client.create_connector(name="slack", service="slack", url="https://mcp.slack.com", auth_type="token") client.patch_agent("my-agent", connectors=["slack"]) connectors = client.list_connectors() client.update_connector("slack", token="xoxp-new-token") # rotate the token in place client.delete_connector("slack") Offices
offices = client.list_offices() office = client.get_office("my-office") Streaming Events
for event in client.watch_agent("my-agent"): match event.type: case "task_started": print("Agent started working...") case "text": print(event.payload.content) case "tool_call": print(f"Using tool: {event.payload.tool}") case "task_completed": print(f"Done — cost: ${event.payload.cost_usd}") break case "error": print(f"Error: {event.payload.error}") break Event types: task_started, thinking, tool_use, tool_result, text, task_completed, task_cancelled, error.
Distributed consumers — group=
By default, watch_agent opens a broadcast subscription: every connected client receives every event. If you run multiple instances of your service (e.g. 3 replicas of a Slack bot) and they all call client.watch_agent("my-agent") without further options, each instance will process every event — duplicate work.
To get queue-style delivery (each event handled by exactly one instance across your fleet), pass group=:
Use broadcast for: dashboards, debugging, single-instance workers, anywhere "see everything" is the goal. Use group= for: distributed services, webhook forwarders, anywhere you'd otherwise dedupe events yourself.
On write failure, the API retries delivery to other group members on the same replica before giving up — an event is only lost when all members on the routing replica fail simultaneously. Use client.get_agent_events(name, limit=...) to backfill on reconnect if you need strict exactly-once guarantees.
with KomputerClient("http://localhost:8080") as client: agents = client.list_agents() Project links
Released: Nov 28, 2026
Both files in this release have provenance metadata.
View provenance details
komputer ai kubernetes agents claude
Release files for komputer-ai-sdk 0.27.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 558.2 kB
Release files / komputer_ai_sdk-0.27.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Release files / komputer_ai_sdk-0.27.0-py3-none-any.whl
Security for komputer-ai-sdk 0.27.0
Both files in this release have been uploaded with provenance metadata.
With provenance komputer_ai_sdk-0.27.0.tar.gz Nov 28, 2026
With provenance komputer_ai_sdk-0.27.0-py3-none-any.whl Nov 28, 2026
Attestation for komputer_ai_sdk-0.27.0.tar.gz
Attestation for komputer_ai_sdk-0.27.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 28, 2026 2 release files Full provenance
Nov 27, 2026 2 release files Full provenance
Nov 23, 2026 2 release files Full provenance
Oct 26, 2026 2 release files Full provenance
Oct 25, 2026 2 release files Full provenance
Oct 24, 2026 2 release files Full provenance
Oct 19, 2026 2 release files Full provenance
Oct 14, 2026 2 release files Full provenance
Oct 13, 2026 2 release files Full provenance
Oct 6, 2026 2 release files Full provenance
Oct 5, 2026 2 release files Full provenance
Sep 23, 2026 2 release files Full provenance
Aug 11, 2026 2 release files Full provenance
Aug 10, 2026 2 release files Full provenance
Jul 31, 2026 2 release files Full provenance
Jul 28, 2026 2 release files Full provenance
Jul 22, 2026 2 release files Full provenance
Jun 19, 2026 2 release files Full provenance
Jun 16, 2026 2 release files Full provenance
Jun 11, 2026 2 release files Full provenance
Jun 9, 2026 2 release files Full provenance
Jun 7, 2026 2 release files Full provenance
Jun 6, 2026 2 release files Full provenance
May 28, 2026 2 release files Full provenance
May 26, 2026 2 release files Full provenance
May 21, 2026 2 release files Full provenance
May 20, 2026 2 release files Full provenance
May 19, 2026 2 release files Full provenance
May 3, 2026 2 release files Full provenance
May 2, 2026 2 release files Full provenance
May 1, 2026 2 release files Full provenance
Apr 27, 2026 2 release files Full provenance
Apr 25, 2026 2 release files Full provenance
Apr 24, 2026 2 release files Full provenance
Apr 22, 2026 2 release files Full provenance
Apr 22, 2026 2 release files Change of provenance
Apr 15, 2026 2 release files Full provenance
Apr 13, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











