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.

ACP subprocesses accept individual messages up to 64 MiB, including large saved-conversation replays and live tool results; this is not a limit on total conversation history. Oversized messages, read failures, or unexpected stdout closure stop the child and fail pending work instead of leaving an agent falsely running. Forced cleanup closes paused pipes and waits for the child to be reaped before releasing its background lease. A running status reflects the runtime's lease, not a guarantee of recent model or tool progress.

Installation

Requirements: Kodelet with extension background-task support, Python 3.11 or newer, and uv.

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 after restarting Kodelet:

kodelet extension inspect jingkaihe@kodelet-subagent/subagent

License

Licensed under the MIT License. See LICENSE.

Metadata

Release files for kodelet-subagent 0.4.2

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

Built distribution (wheel)

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

Total release size: 68.9 kB

Release files / kodelet_subagent-0.4.2.tar.gz

Download URL kodelet_subagent-0.4.2.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
87141f6377cd7994f9c3aed60ab093fa8459bc5dc76b86844ff2eafa94ae8181
BLAKE2b-256 checksum
How to use checksums
5806ab4179bb29e08ed8e6b8130773b1417244edf4e2d4f6c24bab25dd36409f
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 6, 2026.

Transparency log

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

Download URL kodelet_subagent-0.4.2-py3-none-any.whl
Size 38.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d67d6e5ea3a8335bdb186456473c09b6572f118710c8eca91244340bcc4ab87
BLAKE2b-256 checksum
How to use checksums
b396907cff159c21bd2a270d91e86614653625d353bfa58ac9cc63370f8735d1
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 6, 2026.

Transparency log

Security for kodelet-subagent 0.4.2

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.4.2.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 6, 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