Skip to main content

llmsurgery

Install

pip install llmsurgery

What’s here

Dialogs are LLM conversations kept as Jupyter notebooks: notes, runnable code with outputs, and prompt/reply pairs in one editable, diffable document. The dialog data model and toolkit live in aidialog. This library contains the provider-session layers:

  • llmsurgery.compact: bounded conversation rendering and compaction documents.
  • llmsurgery.ant: Claude Code session transcripts, including reading, writing, search, curation, compaction, and dialog conversion.
  • llmsurgery.oai: Codex rollouts, including reading, search, compaction, and dialog conversion.
  • llmsurgery.sess: one entry point across both hosts, finding a session by id prefix and reading it as a dialog, plus the sess2nb command, and claudecompact and codexcompact, which compact a session offline and resume it.

llmsurgery.skill is the single pyskills entry point. It routes agents to doc(llmsurgery.ant) for Claude sessions, doc(llmsurgery.oai) for Codex sessions, and the compaction module when bounded rendering is needed.

Metadata

Release files for llmsurgery 0.0.18

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

Source distribution (sdist)

Source distribution for llmsurgery 0.0.18
File Size Uploaded Provenance Actions
llmsurgery-0.0.18.tar.gz 35.9 kB Without provenance Details for llmsurgery-0.0.18.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llmsurgery 0.0.18
File Interpreter ABI Platform Actions
llmsurgery-0.0.18-py3-none-any.whl Python 3 none any Details for llmsurgery-0.0.18-py3-none-any.whl

Total release size: 74.5 kB

Release files / llmsurgery-0.0.18.tar.gz

Download URL llmsurgery-0.0.18.tar.gz
Size 35.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1bb1dd7bfc5bf81d4e0f3ae53f89543e8e18c9f8b0bd53a3da398aba1e8a79d3
BLAKE2b-256 checksum
How to use checksums
731dc8d1d7a69518cec0c65f35f21b0a483d53ac643ba120814ce1f27d293e71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / llmsurgery-0.0.18-py3-none-any.whl

Download URL llmsurgery-0.0.18-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1f266df0590e4eeb9302be421688811b6d54e96290550a02df37e1643cae5c9
BLAKE2b-256 checksum
How to use checksums
cbfff8d85e2312a58de42045cb79e2f42a9e849cb1e9db88967beeba99a417c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for llmsurgery 0.0.18

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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