agents

module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: Apache-2.0

README

OpenKruise Agents

Overview

OpenKruise Agents provides best practices for managing AI agent workloads in Kubernetes. It is a sub-project of the open-source workload project OpenKruise under the Cloud Native Computing Foundation (CNCF), specifically tailored for the AI agent domain. OpenKruise Agents accelerates AI agent deployment and makes it easily accessible to both AI algorithm scientists and infrastructure engineers.

OpenKruise Agents is designed to support the following AI agent workloads:

  1. Isolated environments for diverse tool usage by AI agents
  2. Network-accessible and persistent cloud environments for research notebooks and development workspaces
  3. Reinforcement learning jobs featuring human-in-the-loop and open-world training
  4. Big data training jobs requiring rapid startup times and robust fault tolerance

Why OpenKruise Agents

OpenKruise Agents delivers vendor-neutral sandboxes with the following key characteristics:

  1. Rapid and cost-effective resource provisioning through resource pooling and dynamic resizing
  2. Sandbox hibernation and checkpoint capabilities encompassing memory, read/write layer data, and GPU memory
  3. User identity and session management with efficient traffic routing, minimizing dependence on Kubernetes services
  4. Comprehensive API and SDK support, including both Kubernetes CRD APIs and E2B APIs

Quick Start

You can view the full documentation from the OpenKruise website.

Usage

To interact with the OpenKruise Agents programmatically, you can use the E2B SDK, which provides a high-level interface for creating and managing sandboxes.

Roadmap

The current Roadmap can be found at roadmap.md.

Contributing

You are warmly welcome to hack on OpenKruise Agents. We have prepared a detailed guide CONTRIBUTING.md.

Relationship with SIG Agent-Sandbox

OpenKruise Agents offers high-level APIs for sandbox management, enabling efficient resource provisioning, user management, and traffic routing. Under the hood, OpenKruise Agents includes built-in sandbox APIs and implementations, while maintaining compatibility with Sig Agent-Sandbox when available.

Community

Active communication channels:

  • Slack: OpenKruise channel (English)
  • DingTalk:Search GroupID 23330762 (Chinese)
  • WeChat: Search User openkruise and let the robot invite you (Chinese)
  • Bi-weekly Community Meeting (APAC, Chinese):
    • Thursday 19:30 GMT+8 (Asia/Shanghai), Calendar
    • Join Meeting(DingTalk): Search GroupID 23330762 (Chinese)
    • Notes and agenda
  • Bi-weekly Community Meeting (English): TODO

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the agents v1alpha1 API group.
Package v1alpha1 contains API Schema definitions for the agents v1alpha1 API group.
clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/api/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/api/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
cmd
sandbox-gateway command
sandbox-manager command
pkg
cache/cachetest
Package cachetest provides test utilities for constructing Cache instances with a fake client.
Package cachetest provides test utilities for constructing Cache instances with a fake client.
servers/e2b
Package e2b provides HTTP controllers for handling E2B sandbox requests.
Package e2b provides HTTP controllers for handling E2B sandbox requests.
servers/e2b/models
Package models provides data models for the E2B sandbox API.
Package models provides data models for the E2B sandbox API.
utils/sandbox-manager
Package utils provides utility functions for parsing and handling Kubernetes resource quantities.
Package utils provides utility functions for parsing and handling Kubernetes resource quantities.
proto
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL