Skip to main content

A context-loop codec for coding agents

Project description

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

Status: early package release. laconic 0.0.1 establishes the importable package, CLI, and verification surface; codec behavior remains design-stage work.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

laconic-0.0.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

laconic-0.0.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file laconic-0.0.1.tar.gz.

File metadata

  • Download URL: laconic-0.0.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for laconic-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6e935bc892206ded06af60c18355eca6f70b33d4bfbf8f4029b26dd792ab4f66
MD5 38e0528bca8a63aa8090ed49adf1658a
BLAKE2b-256 c28f632abbdca157d661b0be8f4bc572ef84b936d25808630f757285f06492d9

See more details on using hashes here.

File details

Details for the file laconic-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: laconic-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for laconic-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8046e106d9c54a33209934b3937e820eec58ab213ee12a614c6bf0670a72833e
MD5 6d0c24e90bcdda4ab3d322fd853d4e12
BLAKE2b-256 4db40e30dc2da288c2fe721d75294101f48bc8ca6227176edb25621d37656f39

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page