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. This library is the data model and surgery toolkit for them, extracted from Solveit, which subclasses these types to build its live environment:

  • llmsurgery.dialog: Message, Dialog, and Attachment, with building, navigation, sections, and merging.
  • llmsurgery.ipynb: reading and writing dialogs as .ipynb files.
  • llmsurgery.hist: converting dialogs to LLM chat history, including recovering tool calls from replies as structured messages.
  • llmsurgery.ant: Claude Code session transcripts: read, write, curate, and build them from dialogs, so claude --resume opens an authored conversation.
  • llmsurgery.oai: Codex threads: drive codex app-server to inject authored histories, ready for codex resume.

Documentation: https://AnswerDotAI.github.io/llmsurgery/

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.1.tar.gz (26.8 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.1-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmsurgery-0.0.1.tar.gz
  • Upload date:
  • Size: 26.8 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.1.tar.gz
Algorithm Hash digest
SHA256 8776e5e26fb24f6778fcb5e32bc05b226ce7494eeb0577c9c5d45a6a1e42a2f4
MD5 3a5d94ed2532c8dbc25b0b59e2b57af5
BLAKE2b-256 0c86eeb8a2b37a86a4b74846933a095e3b8093a2b6002b1ba71979771aa47169

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmsurgery-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b96a95cd972499a5606b8ce3bb9d0423daefd662cc021227f3ae9bbcb56bff3b
MD5 a194f5507df7c316f8cdaab96fbec8ec
BLAKE2b-256 7d1067248009bfa9972f52a4b98447f2c79aa1f96e46b73ece220b1fef1c477d

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

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

This release

0.0.1 This release

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