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.3.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.3.0
File Size Uploaded
laconic-0.3.0.tar.gz 109.3 kB Details

Built distribution (wheel)

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

Total release size: 166.7 kB

Release files / laconic-0.3.0.tar.gz

Download URL laconic-0.3.0.tar.gz
Size 109.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1e0bdfe80acb25189ec819b0c61643e6e309f36d97d3be431ef9a31861541ddd
BLAKE2b-256 checksum
How to use checksums
a726d1ea2d141ccd300aa8f6c2ea83f5666a55318d254a9b20b2e311c6b05508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

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

Download URL laconic-0.3.0-py3-none-any.whl
Size 57.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
964664a9cf2b6186744fdcda93b1223c0591d0e502ee31813f2db36023212d2f
BLAKE2b-256 checksum
How to use checksums
37dc48a080b02b6b5b153e09daff1b78be8ee79f8acdd8afe2b4f110ed531811
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

0.4.0

2 release files

This release

0.3.0 This release

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