Skip to main content

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

Kernell OS

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). Drastically Lower. Cortex shared memory reduces token waste.
Execution Black-box sandbox. Zero-Trust Open Source. Local Docker/Firecracker execution.

📦 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kernell_os_sdk-0.2.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kernell_os_sdk-0.2.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file kernell_os_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: kernell_os_sdk-0.2.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

Hashes for kernell_os_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 635291f86c09a8dc6a554f6f89e98f93c29b8daee00039465270952c5b323dbf
MD5 6705267e005153bbade8e6216ab69ee3
BLAKE2b-256 e1f4d3e729fa3141a56b87cc117f57daa3ba5e8ce854173926ab57adfad64f4c

See more details on using hashes here.

File details

Details for the file kernell_os_sdk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: kernell_os_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for kernell_os_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cec76ffd514dac3b3614d67b49d17fd280485fe01de3d906d2b373128fb026c4
MD5 c627b310a305b0ef066ba3259d68c8d5
BLAKE2b-256 11e268a3a3299b2475a49c299f97dd4635be2590e3345dce8387291ecf263d8a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page