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.7.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.7.0
File Size Uploaded
laconic-0.7.0.tar.gz 187.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for laconic 0.7.0
File Interpreter ABI Platform
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

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

This release

0.7.0 This release

2 release files

0.5.0

2 release files

0.4.0

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