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.

Release files for llmsurgery 0.0.17

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.17
File Size Uploaded
llmsurgery-0.0.17.tar.gz 60.0 kB Details

Built distribution (wheel)

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

Total release size: 123.5 kB

Release files / llmsurgery-0.0.17.tar.gz

Download URL llmsurgery-0.0.17.tar.gz
Size 60.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5053e1b7585174eb837d5b7815ad5c4b02cec09e4a5413086920460e694bbb6a
BLAKE2b-256 checksum
How to use checksums
02adc555bd4798d10401d3d9ffc4de5e82062a663bc8d0f461887e18f48228d1
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.17-py3-none-any.whl

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

Release history Release notifications | RSS feed

This release

0.0.17 This release

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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