Skip to main content

Laconic – Compress what a coding agent carries, not what it says.

Status: early package release. laconic 0.2.0 ships the handle ledger and the file observation encoder — the largest single lever, replacing whole-file reads with a structural outline plus the requested span. Command, search, and action encoding are not yet implemented.

Most of what fills a coding agent's context window is never read by a human — file contents, command output, patches, search hits — and it is re-ingested on every turn of a session. Laconic is a codec for that traffic: it re-encodes observations and actions at the tool boundary, keeps every elision recoverable, and renders prose for a human only on demand.

Install

uv tool install laconic
laconic --help

Documentation

Document What's in it
docs/pitch.md The short version: the problem, the measurement, what is and isn't claimed
docs/overview.md What Laconic is, why, the evidence, prior work, and the pre-registered gates
docs/system-design.md Architecture, components, data model, and the evaluation harness

Measurement

One tool is runnable today. It decomposes real agent session transcripts into observations, actions, prose, and prompts, weighted by model pricing — the analysis the design is built on:

python3 scripts/measure_session_composition.py

Run it against your own sessions before taking any number in docs/ on faith.

License

Apache License 2.0 — see LICENSE.

Metadata

Release files for laconic 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for laconic 0.4.0
File Size Uploaded
laconic-0.4.0.tar.gz 187.5 kB Details

Built distribution (wheel)

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

Total release size: 303.1 kB

Release files / laconic-0.4.0.tar.gz

Download URL laconic-0.4.0.tar.gz
Size 187.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8cda2c9fcdf89c0b5e2907927d2263d26a0b2028dd9abf49625e88f01948d676
BLAKE2b-256 checksum
How to use checksums
9da352fc17a492fec5051d0a882a7a614120578bcd7d11b35bdac8144ce913a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / laconic-0.4.0-py3-none-any.whl

Download URL laconic-0.4.0-py3-none-any.whl
Size 115.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d4f3503304a8e82fd0bbe61b50f24c45926ca164bf59ea0b73d4c66656b661c
BLAKE2b-256 checksum
How to use checksums
48365f3b3aefde00fe1f9b3d6cd622c90c1f5a156ea1d1e4ae723961e446de82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release history Release notifications | RSS feed

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.5.0

2 release files

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

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