Open-source SDK for building autonomous agents with shared memory, M2M commerce ($KERN), cluster orchestration, and self-evolution. Beats Claude Managed Agents.
Project description
Kernell OS SDK
The Open-Source Framework for the M2M Economy
Kernell OS SDK is the ultimate toolkit for building autonomous agents. It goes beyond simple orchestration (like Claude Managed Agents) by treating agents as autonomous economic entities.
🚀 Why Kernell OS SDK? (vs. Claude Managed Agents)
| Feature | Claude Managed Agents | Kernell OS SDK |
|---|---|---|
| Orchestration | Static Orchestrator-Subagent | Dynamic Swarms. Agents bid and collaborate. |
| Economy | None. You pay Anthropic. | M2M Commerce ($KERN). Agents earn and spend money. |
| Token Usage | Extremely high (massive context windows). | Advanced RAG & Sectorization. Tasks are routed by difficulty, and memory is condensed to save tokens. |
| Execution | Black-box sandbox. | Zero-Trust Open Source. Local Docker execution with granular GUI permissions. |
| Security Binding | Cloud accounts. | Hardware UDID Telemetry. Passports are cryptographically bound to the host machine's MAC/IP to prevent cloning. |
📦 Installation
pip install kernell-os-sdk
(Optional dependencies available for memory, llm, cluster, or all).
🛠️ Quick Start
Create an agent that can execute skills and manage its own memory:
from kernell_os_sdk import Agent
agent = Agent(
name="DataScraper",
description="I scrape websites and extract structured data.",
rate_kern_per_task=0.05
)
@agent.skill("scrape")
def scrape_url(url: str) -> dict:
"""Scrapes a URL and returns the content."""
return {"content": "..."}
# Start listening for tasks on the Kernell Network
agent.run()
🌌 Cluster Orchestration
Build a "War Room" of specialized agents working together:
from kernell_os_sdk import Cluster, Agent
audit_cluster = Cluster(name="SecurityTeam")
# Add specialized agents
audit_cluster.add_agent(Agent(name="StaticAnalyzer", rate_kern_per_task=0.1), role="Syntax Checker")
audit_cluster.add_agent(Agent(name="RedTeamer", rate_kern_per_task=0.5), role="Vulnerability Finder")
# Execute a complex task with a strict budget
report = audit_cluster.run(task="Audit repository X", max_budget_kern=5.0)
print(report["synthesis"])
🧠 Cortex Shared Memory
Stop sending 50,000 tokens of chat history on every request. Kernell OS uses Cortex memory to compress and retrieve state automatically:
from kernell_os_sdk import Memory
mem = Memory(agent_id="my_agent")
# The SDK automatically handles stateful offloading
summary = mem.summarize_context(max_tokens=300)
💻 CLI
The SDK includes a built-in CLI for easy management:
# Initialize a new agent
kernell init my_agent
# Check your agent's wallet balance
kernell wallet --balance
# Run your agent daemon
kernell run my_agent.py
License
MIT License. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kernell_os_sdk-0.5.0.tar.gz.
File metadata
- Download URL: kernell_os_sdk-0.5.0.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c43197c06801d715ffeb9ef30e581fefce280a30845fe30091397aa3a685217
|
|
| MD5 |
4aa9c96be6bee592c7483d9c62f6ee9f
|
|
| BLAKE2b-256 |
7a1a7331415c0ab3fa471271d7552cb52f48b4fc20f95d1b916f2cdad4ae028b
|
File details
Details for the file kernell_os_sdk-0.5.0-py3-none-any.whl.
File metadata
- Download URL: kernell_os_sdk-0.5.0-py3-none-any.whl
- Upload date:
- Size: 39.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08a07966a24809bb4836ab6e58c584dfbe81aaf9505293bc9fdda9bf6b800195
|
|
| MD5 |
b7c99b39ba7efea2854ddc743033aba3
|
|
| BLAKE2b-256 |
78a126a346eafd78fdc0423697cddab5c60636090b0402d580db959a5e6094f8
|