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

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.19
File Size Uploaded Provenance Actions
llmsurgery-0.0.19.tar.gz 37.1 kB Without provenance Details for llmsurgery-0.0.19.tar.gz

Built distribution (wheel)

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

Total release size: 77.0 kB

Release files / llmsurgery-0.0.19.tar.gz

Download URL llmsurgery-0.0.19.tar.gz
Size 37.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eb201348fb292e9642a6fdd006be86fae2138b866b028eb59a50e200ddbf4ba0
BLAKE2b-256 checksum
How to use checksums
07c361cdef7daeaa3a34a288d88631c8648b0af98c2932b6dc2eeaaf1e01b71a
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.19-py3-none-any.whl

Download URL llmsurgery-0.0.19-py3-none-any.whl
Size 39.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
402239ace5de101ec9d4841c77ffdcd7ac201375d2fc82f5bc94d4581f3acf86
BLAKE2b-256 checksum
How to use checksums
4766402ff8092bc3dc6c55b6a8cb8f4a5e27f5123f892794dd82be4821e8e496
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.19

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