tracer
llms.txt1k starsChanged 5 months agoMITView on GitHub
TRACER = Trace-Based Adaptive Cost-Efficient Routing. Turn teacher traces into task-specific ML students for easy, repetitive decisions. The hybrid architecture uses calibrated deferral: the teacher handles requests the students decline. The teacher may be an LLM, a foundation model for System 1 decisions, or another classifier. The student predicts labels directly from embeddings; the caller implements teacher fallback. Student fitting and inference can run on CPU. A separate final check measures accepted teacher agreement. Coverage and savings depend on the…
- Installs packages
We split this llms.txt into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Check manifest.selected_method and manifest.certification before loading.
- Distinctive: line 27
Default final holdout fraction=.20.
≈ “Common” is an estimate: at least 1 in 5 of the 3,225 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# TRACER - Distill your LLM traces into fast ML System 1 models.
> **TRACER** = Trace-Based Adaptive Cost-Efficient Routing.
> Turn teacher traces into task-specific ML students for easy, repetitive decisions. The hybrid architecture uses calibrated deferral: the teacher handles requests the students decline. The teacher may be an LLM, a foundation model for System 1 decisions, or another classifier. The student predicts labels directly from embeddings; the caller implements teacher fallback. Student fitting and inference can run on CPU. A separate final check measures accepted teacher agreement. Coverage and savings depend on the data; confidence bounds assume independent, representative examples without adaptive holdout reuse.
This is a free MIT Python library for fixed-label tasks, not a pretrained general
model listed on OpenRouter. No Tracer account is required. The encoder and teacher
are caller-supplied; fitting the student does not fine-tune either. The current
source has no CLI. Hosted app accounts, credits and management are separate.
CHANGELOG.md distinguishes unreleased source from published packages.
## Install
Requires Python 3.12+. CI tests Python 3.12, 3.13, and 3.14.
Published package: pip install tracer-llm
Current checkout with the unreleased corrections: python -m pip install -e .
The published package may not contain the source changes documented here.
## Core API (4 functions)
tracer.fit("traces.jsonl", embeddings=X) → FitResult
tracer.load_router(".tracer", embedder=e) → Router
router.predict("text" or embedding) → {label, decision, accept_score}
tracer.update("new.jsonl", new_embeddings=X_new) → FitResult
decision is "handled" or "deferred"; OOD is included in "deferred", not a third
public value. accept_score is a ranking signal, not a correctness probability.
Check manifest.selected_method and manifest.certification before loading.
Default final holdout fraction=.20; certification_alpha=.10; target agreement=.90.
Fit into a separate directory to evaluate a replacement before promotion: a
completed noncertifying fit publishes selected_method=null in its target directory.
## Trace format (JSONL, one per line)
{"input": "user text", "teacher": "label_from_llm"}
## Embedder (for text-in routing)
Embedder.from_sentence_transformers("model-name")
Embedder.from_endpoint("https://api/embed", headers={...})
Embedder.from_callable(fn)
## Docs
- AGENTS.md - integration notes
- README.md - user-facing docs
- docs/system1.md - teacher/student overview, OSS/cloud scope and release status
- docs/api.md - Python API reference
- docs/scan.md - pre-training diagnostics
- docs/watch.md - local trace recording and generic exports
- docs/concepts.md - how it works
- docs/artifacts.md - .tracer/ directory schema
- docs/troubleshooting.md - common errors and fixes
## Paper
Published paper: TRACER: Trace-Based Adaptive Cost-Efficient Routing for LLM Classification.
https://arxiv.org/abs/2604.14531
Pricing Capability research paper:
https://github.com/adrida/tracer/blob/main/research/pricing-capability.pdf
Current final submission: 21 pages, dated August 25, 2026.
Defines Capability Alpha under controlled evaluation, develops Price-Implied Uplift,
and places the Spirit case beside a public transaction panel.
## Repo
https://github.com/adrida/tracer
Trending
Quiet since August.thin dataabout the whole repository
Who's talking about adrida/tracer
- @sungkim.bsky.social“TRACER learns the decision boundary between "easy" and "hard" inputs directly from your LLM's own …”Bluesky · Apr 20, 2026 · 16 likes
- A Hacker News story“Trace-Based Adaptive Cost-Efficient Routing”Hacker News · Jun 9, 2026 · 2 points
- A Hacker News story“(OSS) >90% of LLM calls don't need an LLM and could be replaced by classic ML”Hacker News · Mar 31, 2026 · 1 points
- yc-oss/open-source-companies“fix: add repository mappings for unmapped companies”GitHub · Aug 4, 2026
The biggest 4 of 4 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

