Skip to main content

Kodelet subagent

Durable background agents for Kodelet, implemented as a normal Python library and exposed through a Kodelet extension.

The extension provides six tools:

  • spawn_agent starts a named background agent from a fork of the current conversation or from fresh context.
  • wait_agent waits for a specific run while forwarding live child-tool progress when available.
  • list_agents reports persisted agents owned by the current conversation.
  • followup_agent resumes a completed, failed, interrupted, or canceled agent.
  • steer_agent queues guidance for a running agent.
  • cancel_agent persists a durable canceling state, fences the active setup or worker, and preserves the agent for a later follow-up once cancellation finishes.

Agent identity, run history, leases, and steering messages are stored in SQLite. The extension initializes and upgrades its database automatically before serving tools.

Agents use the SDK's ACP client, keeping model credentials and history on the daemon. Named forks preserve agent titles; follow-ups reuse the conversation. TUI/Web UI streaming and late-waiter tool progress use normal SDK events.

Use context_mode="fresh" for another directory, subject to runner policy; forks and resumes retain their saved cwd. Fresh agents require inline ACP extension support to disable recursive subagent controls while keeping code_search available.

The SDK handles messages up to 64 MiB each and owns transport cleanup. Background leases remain held until client cleanup finishes; running indicates ownership, not recent progress.

Installation

Run the package's installer directly with uvx:

uvx kodelet-subagent install

Or install directly from GitHub:

uvx --from git+https://github.com/jingkaihe/kodelet-subagent kodelet-subagent install

The GitHub form pins the resolved commit in the generated extension wrapper.

This installs the extension wrapper at:

~/.kodelet/plugins/jingkaihe@kodelet-subagent/extensions/subagent/kodelet-extension-subagent

Verify discovery in the selected runner's workspace:

kodelet extension inspect jingkaihe@kodelet-subagent/subagent

License

Licensed under the MIT License. See LICENSE.

Metadata

Release files for kodelet-subagent 0.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kodelet-subagent 0.6.3
File Size Uploaded Provenance Actions
kodelet_subagent-0.6.3.tar.gz 30.2 kB With provenance Details for kodelet_subagent-0.6.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kodelet-subagent 0.6.3
File Interpreter ABI Platform Actions
kodelet_subagent-0.6.3-py3-none-any.whl Python 3 none any Details for kodelet_subagent-0.6.3-py3-none-any.whl

Total release size: 68.0 kB

Release files / kodelet_subagent-0.6.3.tar.gz

Download URL kodelet_subagent-0.6.3.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
424df57d3bcf530618494ede58711acffb2a3c11a79b7a0dd8f0f43805166bff
BLAKE2b-256 checksum
How to use checksums
73c12c77bfd0adbf6f6059d6d1380f1be0f3e687a2023b907129d1734de3731b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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 Sep 11, 2026.

Transparency log

Release files / kodelet_subagent-0.6.3-py3-none-any.whl

Download URL kodelet_subagent-0.6.3-py3-none-any.whl
Size 37.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d79b4f7bd4ae400968b5db6f541cc7baf04c65ae11522a127c7dc487d9392ab
BLAKE2b-256 checksum
How to use checksums
2acd37b3aee4e8d90a14687e1c0b9b46d561dd49260bea39f21d87778b0fafa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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 Sep 11, 2026.

Transparency log

Security for kodelet-subagent 0.6.3

Provenance

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for kodelet_subagent-0.6.3.tar.gz

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 Sep 11, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page