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.agy: Antigravity CLI and desktop SQLite conversations, including reading, search, compaction, and dialog conversion.
  • llmsurgery.sess: one entry point across all supported hosts, finding a session by id prefix and reading it as a dialog, plus the sess2nb command, and claudecompact, codexcompact, and agycompact, 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, doc(llmsurgery.agy) for Antigravity conversations, and the compaction module when bounded rendering is needed.

Metadata

Release files for llmsurgery 0.0.20

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.20
File Size Uploaded Provenance Actions
llmsurgery-0.0.20.tar.gz 45.6 kB Without provenance Details for llmsurgery-0.0.20.tar.gz

Built distribution (wheel)

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

Total release size: 95.2 kB

Release files / llmsurgery-0.0.20.tar.gz

Download URL llmsurgery-0.0.20.tar.gz
Size 45.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bf5af70ede6c0148f04fb46bbc057523a87a15e37c3fa30d884ab5cdc9d2cb44
BLAKE2b-256 checksum
How to use checksums
861f6ff93ac1d4237fe6dc802785be7eb464234d7f7e99f804d03748f866439b
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.20-py3-none-any.whl

Download URL llmsurgery-0.0.20-py3-none-any.whl
Size 49.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b653419758b45952403788af8f1d794c1d15e8d424c71393e7df3677f8d664a
BLAKE2b-256 checksum
How to use checksums
035c96cf483ab2a665beace54e4d66bdcc5cec86b2cd8b918a776c685e571f4d
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.20

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