kode-agent-sdk  by shareAI-lab

An event-driven SDK for building resilient, collaborative AI agent products

Created 6 months ago
288 stars

Top 91.3% on SourcePulse

GitHubView on GitHub
Project Summary

KODE SDK: Event-Driven AI Agent Framework

The KODE SDK is an event-driven, long-running AI agent framework for building enterprise-grade agent products, akin to Claude Code and Manus. It targets developers and power users requiring robust AI agent capabilities, offering multi-agent collaboration, crash recovery, and secure code execution sandboxes for complex, resilient AI applications.

How It Works

KODE SDK employs an event-driven architecture with three channels (Progress, Control, Monitor) for clear separation. It supports long-running agents via a seven-stage checkpoint system and "Safe-Fork-Point" for crash recovery. Multi-agent collaboration is enabled through AgentPool and Room messaging for task delegation. Enterprise persistence uses SQLite/PostgreSQL. Secure code execution is integrated with E2B and OpenSandbox cloud sandboxes.

Quick Start & Requirements

Installation via ./quickstart.sh or npm install @shareai-lab/kode-sdk. Key environment variables: ANTHROPIC_API_KEY, optional ANTHROPIC_MODEL_ID, ANTHROPIC_BASE_URL. OpenSandbox requires OPEN_SANDBOX_API_KEY, OPEN_SANDBOX_ENDPOINT, OPEN_SANDBOX_IMAGE. Official documentation and examples are available.

Highlighted Details

  • Supports Anthropic, OpenAI, Gemini providers, plus OpenAI-compatible services.
  • Features enterprise persistence (SQLite/PostgreSQL with WAL).
  • Integrates with E2B and OpenSandbox for isolated code execution.
  • Offers scalable Worker Microservice Pattern for production, decoupling stateless APIs from stateful workers.

Maintenance & Community

No specific contributor, sponsorship, or community channel details found. A contribution guide is linked.

Licensing & Compatibility

MIT license, permitting commercial use and closed-source linking.

Limitations & Caveats

README lacks explicit limitations. Architecture implies stateful workers requiring long-running processes, potentially adding operational complexity.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
3
Star History
117 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.