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 fastllm and provider-session layers:

  • llmsurgery.hist: conversions between aidialog dialogs, fastllm chat histories, and formatted replies.
  • 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.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 history or compaction modules when those conversions are 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.8.tar.gz (75.5 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.8-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmsurgery-0.0.8.tar.gz
  • Upload date:
  • Size: 75.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for llmsurgery-0.0.8.tar.gz
Algorithm Hash digest
SHA256 3efb0a840e3feee52be1a5fa611bcb84a03942dfd7cd3ced49f24de46c0807c1
MD5 bbe35a0236f6684543cb6f67fb8ebb40
BLAKE2b-256 a8135ca8a262877c1c028ecd940cd3f3a9c8934a6a7e8ee174d5e480a00d92a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmsurgery-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 79.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for llmsurgery-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1009e8735bd83d2aa491ca86dcfc112f6671065c74251ec6af6c1cd60451afed
MD5 7ee2cefb75e3d4e4e4f387aa8c15f968
BLAKE2b-256 d449274926b00d7a745e2712f9c8118364e163fc2621ed3dec46d5efba02273f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.16

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

This release

0.0.8 This release

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