Laconic – Compress what a coding agent carries, not what it says.
Status: early package release.
laconic0.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.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| laconic-0.5.0.tar.gz | 187.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| laconic-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 303.1 kB
Release files / laconic-0.5.0.tar.gz
| Download URL | laconic-0.5.0.tar.gz |
|---|---|
| Size | 187.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29b9f37a86af072eae577062c04f66cbefce95a0ec4cebf770547f45623fcac5
|
|
BLAKE2b-256 checksum How to use checksums |
729a27efbb245dd360bf7e6ab16b1456773a4994ba60350fdef5459beb1fa13d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / laconic-0.5.0-py3-none-any.whl
| Download URL | laconic-0.5.0-py3-none-any.whl |
|---|---|
| Size | 115.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e05f30559a933b2e4c5959b0a94d601c061a194a24c68b190f8f4b5628fbf5a
|
|
BLAKE2b-256 checksum How to use checksums |
60320abe9ed7ec0ea1331f9a0ae420a1d431657d53b497d3326ed1b4cc858101
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|