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.

Model profiles

Fresh agents inherit the parent's model profile. To override, set KODELET_SUBAGENT_PROFILE=generic in the environment of the runner hosting the extension and restart that runner. Unset or blank values restore inheritance; if neither provides a profile, none is passed.

Setting this only on the control plane does not configure a separate runner. Forks and follow-ups retain the saved conversation settings.

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.5

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.5
File Size Uploaded Provenance Actions
kodelet_subagent-0.6.5.tar.gz 30.6 kB With provenance Details for kodelet_subagent-0.6.5.tar.gz

Built distribution (wheel)

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

Total release size: 68.6 kB

Release files / kodelet_subagent-0.6.5.tar.gz

Download URL kodelet_subagent-0.6.5.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2f513ce759ef83c940a2eef7e11b7faa4a38cc5a24183e8fe0647b3dba24b745
BLAKE2b-256 checksum
How to use checksums
b739e83b56f9dd46ca6974acf5c0c8536982a4aab27eef26ab7ef57894276430
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 12, 2026.

Transparency log

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

Download URL kodelet_subagent-0.6.5-py3-none-any.whl
Size 38.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
526e3b631144b7e8371cd6a08f5218a9c9dc9effe22d6ba64a00765e4658cc6b
BLAKE2b-256 checksum
How to use checksums
6b7f909e42b7832bc6bc42c4880dcf31b23b5d37172706b01026169de2f564ec
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 12, 2026.

Transparency log

Security for kodelet-subagent 0.6.5

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.5.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 12, 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