louped

An astute harness for LLM behavior and inference research.

The layer between you, your research and your coding agent. It writes and runs the experiments, and builds the columns, charts and pages you ask for. You read every result, item by item. Local and free.

Get started
A researcher and their agent re-read CAA's released Llama 2 7B Chat results.

How it works

01

Make a project

One command sets up a folder for your questions, an example to try, and the files your coding agent needs.

pip install louped
louped init my-research && cd my-research
louped serve
A project's home: its domains and active questions
02

Ask your agent

Tell Claude Code, Codex or Cursor what to test. It writes the experiment: the question, the plan and the script.

An experiment's page: its question, hypotheses, test and result
03

Run it

The script's options become a form. Small runs go on your machine. Large ones go to a Slurm cluster as one job, and the results come back to your app.

The launch form for an experiment's script, with its options
04

Read the results

See every item under every condition: what changed against the reference, out of how many, with a 95% interval.

Fifty items under three conditions, each against the reference
05

Point your agent at it

Shift+click rows, cards or fields. Your agent reads what you picked, with its data, and points back at the evidence on screen.

Three rows picked on the Items tab, with the tray your agent reads

Ask for what is missing

The app is a set of files your agent can extend: scripts, layouts and plugins in your project. You do not wait for a release.

A column

Ask for a number the run lacks. Your agent writes a short script over the run's files, and its rows become a column on Items, kept with the run beside the script.

The Items tab with a slope column the agent added

A chart

Ask for a figure in plain words. It lands on Figures with a ? that says how to read it, and every point opens its item.

A chart of each item's slope by which answer agrees

A page of your own

Ask for a tool the app lacks, such as a page to label items by hand. Your agent writes it as a plugin in your project, in the app's own look. It shows at once, with no release and no restart.

A Labels tab the agent built, with items labelled by hand

Each answer, side by side

Open an item to read what the model said under each condition. Fields that differ from the reference are outlined.

One question with the model's answer with the vector added, left out and subtracted

Every point traces back

Hover a point in a figure to see its item, the files that hold it and the script that drew it. Click it to open the item.

A scatter of items, one hovered, with the item and files it traces to

Use your own agent

louped works with the coding agent you already use. In Claude Code, you can also add it as a plugin.