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.7.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.7.0.tar.gz | 187.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| laconic-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 303.1 kB
Release files / laconic-0.7.0.tar.gz
| Download URL | laconic-0.7.0.tar.gz |
|---|---|
| Size | 187.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
914f2f1f394d0bc80a970920e59f852db2248a9505802efe7205968604a025eb
|
|
BLAKE2b-256 checksum How to use checksums |
0b6be4925b7b1d93cececfe5435eecb3bd272f6232c4d1ec7914ad22fc6593ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / laconic-0.7.0-py3-none-any.whl
| Download URL | laconic-0.7.0-py3-none-any.whl |
|---|---|
| Size | 115.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c98aef1a79f9d9b4dfbebd47d9ab286b06b76f9eac8e787f12e8dc992154f6c
|
|
BLAKE2b-256 checksum How to use checksums |
4a64efe7a6fdbc2e62ef1b6545341aa43a50eaeab935d32f55d53097dd8c6726
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|