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_agentstarts a named background agent from a fork of the current conversation or from fresh context.wait_agentwaits for a specific run while forwarding live child-tool progress when available.list_agentsreports persisted agents owned by the current conversation.followup_agentresumes a completed, failed, interrupted, or canceled agent.steer_agentqueues guidance for a running agent.cancel_agentpersists a durablecancelingstate, 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
Requires Python 3.11+, uv, kodelet-sdk>=0.4.0,<0.5, and Kodelet with background leases, conversation forks, and inline ACP extensions. Install on the runner host with normal daemon client credentials; runner tokens alone are insufficient. Runs are limited to one hour.
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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kodelet_subagent-0.6.1.tar.gz | 30.3 kB | With provenance | Details for kodelet_subagent-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kodelet_subagent-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for kodelet_subagent-0.6.1-py3-none-any.whl |
Total release size: 68.1 kB
Release files / kodelet_subagent-0.6.1.tar.gz
| Download URL | kodelet_subagent-0.6.1.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c57e73f17a2a291d123efff2a84f5ca1b14871b2ad3e9d47f65cda3ecd9ce20
|
|
BLAKE2b-256 checksum How to use checksums |
76216b2c7343a64226e355282708e18062c91f3a21d3c00ffc8ea93d50469893
|
| 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 9, 2026.
Transparency logRelease files / kodelet_subagent-0.6.1-py3-none-any.whl
| Download URL | kodelet_subagent-0.6.1-py3-none-any.whl |
|---|---|
| Size | 37.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99ed544d134b595f012dd37cfd6f2e46fd1a5f816acd3a036ddca360a6c8275e
|
|
BLAKE2b-256 checksum How to use checksums |
a34e46d8c1ae4277289ea449a0b12ae9e9e7c0086fcdcd992603df58a245d8e8
|
| 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 9, 2026.
Transparency logSecurity for kodelet-subagent 0.6.1
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.
Attestation for kodelet_subagent-0.6.1.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 9, 2026.
Transparency logA 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.