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.

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llmsurgery-0.0.16.tar.gz (59.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llmsurgery-0.0.16-py3-none-any.whl (63.3 kB view details)

Uploaded Python 3

File details

Details for the file llmsurgery-0.0.16.tar.gz.

File metadata

  • Download URL: llmsurgery-0.0.16.tar.gz
  • Upload date:
  • Size: 59.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for llmsurgery-0.0.16.tar.gz
Algorithm Hash digest
SHA256 b1e6e14bad975743c213bab994352e6ee0f870ba35852c9ee43ddee6b2a7d0e8
MD5 2dfd05bd8dd8acb8f6c0c09a8d6a36eb
BLAKE2b-256 0b8267fb069cc1ed868581d8c1eff9732f7890b133f2ef82e75a3b7921376a1a

See more details on using hashes here.

File details

Details for the file llmsurgery-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: llmsurgery-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 63.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for llmsurgery-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 2e6708e16367ee44126cde87c5e91fd1ad550a287dff6c9fd274346bb93aa5d7
MD5 769bb90af1f8eb18f365df0bf1782894
BLAKE2b-256 37ddc5f3e8578a5db99be8b02e008e7e5ab9ea5ab6e62f7b4eaf87095ce013cd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.16 This release

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 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