Lineward for your coding agent

The same engine that serves your editor serves your agent, three ways: as a language server (diagnostics injected after every edit — free), as tools over MCP or the command line (paid), and as skills that teach the workflow. It reads .sql and .yml files only: no dbt™ install, no warehouse credentials, no network — so it works where agents increasingly run, inside a sandbox.

Measured: an agent with Lineward and without

In short: on 9 of the 11 tasks every group passed every run, and the difference on the two others is within a model’s variance. Sessions with Lineward were shorter and cheaper in this one pass.

Tasks passed
30 of 33 33 of 33
Session time, median
403.5 s 252 s
Session cost, median, at list price
$1.13 $0.77

the agent alone → with Lineward’s tools and skills

The home page’s estimate is the difference between these medians: 38% less time and 32% less cost a session, from 3 sessions a group. An order of magnitude, not a promise.

GroupTasks passedSession timeInput tokensOutput tokensCost
The agent alone30 of 33403.5 s4,221,46831,660$1.13
With the command line and the MCP server (Pro)33 of 33315.9 s3,207,68521,483$0.90
With the agent pack’s skills as well33 of 33252 s2,754,05017,812$0.77

3 runs per task and group, November 13, 2026 (UTC). Time, tokens and cost are the median of a group’s 3 sessions, each doing the 11 tasks. Input tokens include the cached ones, almost all of them read from the cache; the cost is at list price, as the sessions estimated it.

How it was measured

On November 13, 2026, we ran Claude Code 2.1.323, driving the model claude-sonnet-5-5, on 11 dbt™ tasks we wrote, over a project of 22 models and a generated one of 500. We ran them three ways, each adding one thing: the agent alone, the agent with Lineward’s command line and MCP server, and the agent with the agent pack’s skills as well. No group had a language server.

A run is one session per group that works through the 11 tasks in turn, each on a fresh copy of the project. A task is graded on its outcome alone, never on the tools the agent used: for an edit, the project it left, checked against the original; for a question, the final list of models the request asks for, checked against a ground truth. 3 runs a group make 9 sessions; all of them completed, none on a second attempt.

Where the groups differ

On 9 of the 11 tasks, every group passed 3 runs of 3: no measurable difference. That holds for renaming a column across the large project, for documenting a model, and for three of the four questions about it. The groups differ on two tasks.

  • The blast radius of a dropped column: the agent alone passed 1 of 3 runs, each group with Lineward 3 of 3. Alone, it listed models built on the column’s readers that do not read the column themselves. The answer is checked against the models that read the column, not against every model downstream of it, and that ground truth has no second source.
  • The project-health fix: the agent alone passed 2 of 3 runs, each group with Lineward 3 of 3. Alone, it left one of the findings to clear. The task names the kinds of problem to fix: it measures finding and fixing every instance, not finding which kinds exist.

On no task did a group with Lineward pass fewer runs than the agent alone, and nothing separates the two groups with Lineward on what they got right.

What this does not show
  • A difference of one or two runs in 3 is within a model’s variance. The tasks of a session share its context, so a group’s passes out of 33 come from 3 sessions, not from 33 independent runs.
  • The questions ask for a final list of models, which a user may not ask for; a correct explanation with a wrong list fails.
  • Time, tokens and cost are the medians of one pass. Both groups with Lineward pay at every model call for what its server adds to the context, and the third also for the skills it lists.
  • One warehouse dialect, Snowflake; two fixture projects, one of them generated, never a customer’s; one agent and one model. The tasks, the fixtures and the ground truths are ours, an edit is judged by Lineward’s own check of the project it left, and the build was a test build, not the released binary.
  • Nothing was measured about the free language server: no group had it.
  • The run needs the product’s private repository and a licensed test build: we can run it again, a reader cannot.

1. Put lineward on PATH

Every harness launches the binary from PATH. Install it first.

2. Claude Code — one command

/plugin marketplace add Lineward/lineward
/plugin install lineward@lineward

The plugin brings three things:

  • Language server — lineward lsp for .sql, .yml, .yaml. Diagnostics reach the agent after every edit, and an LSP client can also call the project summary, model info, lineage, diagnostics and SQL validation as workspace/executeCommand: free on the project analysed. The commands that twin the agent tools need a key, as the tools do, except SQL compilation and validation, which stay free with one project or several.
  • MCP server — lineward mcp --stdio. Paid: export LINEWARD_LICENSE_KEY in the shell that starts Claude Code, or every tool call answers with an error naming that variable.
  • Skills — edit-a-model, rename-a-column, fix-project-health, answer-lineage-questions, set-up-a-ci-check, tune-settings.

Optional: a check after every edit, from .claude/settings.json. It is unattended use, so it needs a key.

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [{ "type": "command", "command": "lineward check --since HEAD --severity error" }]
      }
    ]
  }
}

3. Codex CLI — two commands

codex plugin marketplace add Lineward/lineward
codex plugin add lineward@lineward

Codex has no LSP client: it loads the plugin’s MCP server and its skills, and gets no diagnostics after an edit. Its agent finds them with lineward check --since HEAD or the lineward_get_project_diagnostics tool, both paid, and lineward init-agent writes that workflow into the project’s AGENTS.md. Export LINEWARD_LICENSE_KEY in the shell that starts Codex, or every tool call answers with an error naming that variable.

4. Other agents

Lineward is tested with Claude Code and Codex CLI. Both servers follow open standards over stdio: the language server speaks LSP, and the MCP server implements the Model Context Protocol, revision 2026-07-28, and the earlier revisions back to 2024-11-05. Other agents that support them are expected to work, but they are neither tested nor supported. An agent that reads skills loads them from the pack repository’s plugins/lineward/skills directory.

The MCP configuration every client needs, with the key from the environment:

{
  "mcpServers": {
    "lineward": {
      "command": "lineward",
      "args": ["mcp", "--stdio"],
      "env": { "LINEWARD_LICENSE_KEY": "${LINEWARD_LICENSE_KEY}" }
    }
  }
}

5. No plugin at all

lineward init-agent

Writes a section of its own into the project’s AGENTS.md — the file most coding agents read natively — so an agent knows the workflow: context before an edit, blast radius before a rename, check --since HEAD after every edit, and what to do when a paid command refuses. Free, idempotent, and it never touches anything outside its two markers.

What the agent can call

Each tool but the reload exists twice — as an MCP tool and as a command — with one implementation and one Markdown output. Paid over MCP and the command line, except the command lineward settings, which is free; over the language server they need a key too, except SQL compilation and validation.

CommandMCP tool
lineward check [--since <git-ref>] [--format markdown|json|sarif] [--severity error|warning|info|hint] [--limit <n>] [--offset <n>]lineward_get_project_diagnostics
lineward context <model>lineward_get_node_context
lineward blast-radius <model> [column] [--limit <n>] [--offset <n>] [--depth <n>]lineward_analyze_blast_radius
lineward lineage <model> [column] [--direction upstream|downstream] [--depth <n>]lineward_trace_lineage
lineward search <query> [--type model|seed|snapshot|exposure|source|macro|column] [--limit <n>] [--offset <n>]lineward_search_catalog
lineward validate <file|->lineward_compile_and_validate
lineward scaffold <model>lineward_scaffold_yaml
lineward settings [--format markdown|json]lineward_get_settings

Agents.footer