Agent Specs

An agent's opinions are a spec. The spec meets Local Link's, the agent's teams', and the agent's own opinions as sets. lnk agent spec show prints the spec an agent runs, with each key marked by whose it is. The Agent Spec lists every field.

Show an Agent's Spec

Name the agent, or leave the name out where there's only one. Each key ends with a comment saying whose it is: Local Link's, a profile's, a team's, or yours.

lnk agent spec show main

With --json, the command prints the spec alone, as a file holds it, without saying whose each key is. An agent and a file are two specs, so the command refuses a request that names both.

Show a File's Spec

Give a spec file, field flags, or both, and the command prints the spec they make with every default written in, as lnk agent start --spec would read it. Nothing is started or changed.

lnk agent spec show --spec agent.toml --model.thinking high

Start With a Spec

lnk agent start and lnk agent create take the same file and flags. Without a file, the flags change only their keys of the agent's own spec. The Agent Spec Guide explains how the specs meet.

lnk agent start --spec agent.toml --turns.rounds 12

Show a Team's Spec

A team's file is a spec of its own, applied with lnk agent team create --spec. The Team Spec lists every field. Name a team to print its file, or give a file. A team spec's field flags go over its file. Without --spec, lnk agent team create refuses the flags.

lnk agent team spec show research
lnk agent team spec show --spec team.toml