v0.1.2

Docs/Concepts

How it works

Applied Machine turns agent traces into training data in four stages. Each stage reads and writes plain JSONL files.

The improvement loop

An agent produces traces as it works. Applied Machine selects the good traces and prepares them as training data. In a complete loop, you train on that data, evaluate the new model, and release it only if it is better.

flowchart LR
  A["Agent runs"] --> B["Collect traces"]
  B --> C["Score and filter"]
  C --> D["Training dataset"]
  D -.-> E["Train"]
  E -.-> F["Evaluate"]
  F -.-> G["Promote or reject"]
  G -.-> A
  classDef planned stroke-dasharray: 5 5,color:#8b91a8;
  class E,F,G planned

Solid arrows are Available. Dashed arrows are Planned.

Components

flowchart LR
  A["Your agent"] -->|"HTTP POST"| B["ingest (Go)"]
  B --> C[("traces.jsonl")]
  C --> D["tracecore (Rust)"]
  D --> E[("clean.jsonl")]
  E --> F["tracetune (Python)"]
  F --> G[("dataset.jsonl")]
Component Language Input Output Status
ingest Go One trace per HTTP request Lines appended to traces.jsonl Available
tracecore Rust A JSONL file The same file without invalid or exactly duplicated lines Available
tracetune Python A JSONL file of traces A scored, deduplicated training dataset Available

You can run any component on its own. Each one only needs the file produced by the previous stage.

Design principles

Choice of languages

Language Used for Reason
Go Collector service Simple concurrency and a single deployable binary.
Rust File cleaning Low-memory streaming for files that reach gigabytes.
Python Scoring and export The machine learning ecosystem is Python-based.

Working on all components requires Go, Rust, and Python. Run bash scripts/doctor.sh to check your environment, or use Docker.

Limitations

What’s next

Edit this page on GitHub