Free · Open source · Local

Research your AI agent can retain and reuse.

Liner is a free, open-source tool that lets AI agents like Claude Code and Codex keep their research so any agent can use it again in another chat. When you ask for research on a task, your agent creates a liner: a folder with the full sources, a synthesis that cites each point, and instructions for future agents.

Your agent does the research, Liner's code checks each step, and you approve what goes in. You work in your agent's chat while a terminal app shows your library of liners.

V. 1.2.1Current version
Claude Code · Codex · MCP
Install

Open the local library viewer.

npx linersh

First run offers to connect Claude Code or Codex

Free · MIT licensed · macOS, Linux & Windows x64

View on GitHub
v1.2.1

Inside a liner

A few whole sources in one local folder.

A summary reflects what its author cared about, while your agent may need a different detail later. A liner keeps a selected set of full sources alongside a synthesis that cites them and instructions for future sessions, so an agent can pull the exact parts that fit your task.

Example from this repository

“When an AI feature in my product can be wrong, I want to show how far to trust it and let people check its work, so they rely on it the right amount.”

01

One focused job

Each new liner starts with a short interview based on jobs-to-be-done. Your agent writes a job story and asks a few follow-up questions to set what the search looks for.

02

Full sources kept on disk

This liner keeps 30 primary sources from Google PAIR, Microsoft HAX, Apple HIG, NIST AI RMF, and empirical studies on calibrated reliance. Liner logs every page kept or dropped along with the agent's reason.

03

Reused in a new chat

In a fresh chat, your agent names the matching liner and asks before loading it. Once loaded, it gives its answer first and lists the supporting sources in a short note at the end.

View designing-for-ai-uncertainty on GitHub

designing-for-ai-uncertainty/

Local files
SKILL.md             # when this liner applies
LINER.md             # method, limits, answer style
liner.yaml           # status and metadata
mixtape/
  MIXTAPE.md         # synthesis + source index
  synthesis.md       # approved summary with citations
  tape.yaml          # source recipe
  working/           # search plan and kept/dropped log
  sources/
    01-trust-in-automation.md
    03-effect-of-confidence-and-explanation.md
    11-people-ai-guidebook.md

MIXTAPE.md & sources/

Extracted Markdown copies of your chosen web pages, YouTube transcripts, PDFs, EPUBs, public GitHub docs, local files, skills, or other liners, paired with a cited synthesis and source index.

LINER.md

Instructions for how future sessions should apply the evidence, handle conflicts, state what is missing, and format answers.

SKILL.md

The entry point that helps Claude Code, Codex, and other file-reading agents recognize when the liner applies.

How it works

Dividing work across agent, code, and you.

Your agent handles searching, reading, and writing on the AI subscription you already pay for. Each research step runs in a short helper subagent that writes to files, so your main chat stays short and holds only your answers and approvals.

01

Frame the job

Your agent opens with one question about what the liner should help with, writes a job story, and clarifies boundaries before searching.

Job story

02

Research and check

Your agent checks sources already in your library first, then searches and evaluates new ones. Liner's code runs one step at a time and verifies every citation against kept sources.

Checked by code

03

Approve three times

Your agent pauses only where your judgment changes what goes into the liner: the synthesis, the final source list, and the instruction files.

Three approvals

04

Reuse in new chats

In a later chat, your agent notices when a liner fits your task, asks before loading it, and cites the liner's saved sources.

Reusable files

Reuse and updates

Reusing saved sources across future chats.

Liners can combine web pages, YouTube transcripts, PDFs, EPUBs, public GitHub repository docs, your own local files, skills, and other liners. Nothing inside a finished liner changes without your approval.

Library reuse

Searching your own library of sources

Before searching the web, your agent checks sources kept or dropped by your other liners so it does not repeat searches or pull back pages you already rejected. One liner can also reference another, as in mobile-design-foundations alongside separate domain liners.

View mobile-design-foundations on GitHub

Gaps, findings, and refresh

Tracking open gaps and source changes

When a liner cannot answer a question, your agent logs a gap for the next research pass. Notes from real work wait in a findings inbox until you accept or reject them, and liner refresh diffs online sources that changed without modifying the liner.

Read the library guide

Blind comparisons

Comparing answers with blind tests

liner test sets up two unlabeled answers in random order, one written with the liner and one without, so you can judge them blind and record the results in your catalog.

Read about blind tests

Scope and boundaries

When a liner fits and when chat works.

Useful for a liner

  • The choice of sources changes the quality of the answer.
  • You want to combine your own PDFs, book notes, or transcripts with web documentation.
  • You expect to return to the same topic across future chats.

A chat is enough

  • You need one quick answer you will not revisit.
  • The information changes hour by hour.
  • The material lives in a database or service outside local files.

No AI calls from Liner

Liner makes no model calls of its own and sends no telemetry. Your agent does the research on the AI subscription you already pay for, and compile runs locally.

Handling untrusted pages

Liner saves each fetched page to a local file before your agent reads it. On Claude Code, a separate read-only subagent reads pages without shell, network, or write tools, and an approval guard asks before approval commands run.

Plain local files

Sources, syntheses, and instructions are plain Markdown and YAML files on disk. Export a .mixtape archive to move or share a liner after checking it for private files.

Get started

Install Liner locally
for your AI agents.

npx linersh
Read the docs
macOS, Linux & Windows x64Free and MIT licensedLocal files, no telemetry