Back to registry
search custom auth 1 pinned sources 10 files

Trieve

Generated trieve CLI and agent Skill for the Trieve search and RAG API.

$ trieve search "search chunks" --json
CLI binaries 6 platform builds
Skill Included in CLI
Source refs 1 pinned inputs
Smoke intent search chunks
01 Schema trieve commands schema --json
02 Catalog trieve commands --json
03 Search trieve search "search chunks" --json
Recipe structure

Files

10 files
builds/trieve.json json
{
  "schema_version": 1,
  "recipe": "trieve",
  "cli_name": "trieve",
  "generated_at": "2026-11-24T17:08:33.766Z",
  "lathe_version": "lathe v0.7.0-rc.1 (none, unknown)",
  "gate": {
    "verdict": "GO",
    "generated_at": "2026-11-24T17:08:33.766Z",
    "lathe_version": "lathe v0.7.0-rc.1 (none, unknown)",
    "command_count": 133,
    "group_count": 18,
    "skill_included": true,
    "warnings": [
      "W2"
    ]
  },
  "source_refs": [
    {
      "name": "trieve",
      "display_name": "Trieve API",
      "backend": "openapi3",
      "repo_url": "https://github.com/devflowinc/trieve.git",
      "pinned_tag": "a99b21e23f21025757b44efb594676c4a7b7495f",
      "files": [
        "clients/ts-sdk/openapi.json"
      ]
    }
  ],
  "outputs": {
    "catalog": null,
    "skill": "skills/trieve",
    "cli_artifacts": [
      {
        "os": "darwin",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "trieve",
        "path": "downloads/trieve-darwin-arm64.tar.gz",
        "size": 4579761,
        "sha256": "sha256:22b1a77760ed2c9a279d7d56bedd3795990425ce255b68678d1ab2b5175100f8"
      },
      {
        "os": "darwin",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "trieve",
        "path": "downloads/trieve-darwin-amd64.tar.gz",
        "size": 5049858,
        "sha256": "sha256:a7d9b4b78af8d4e1a6398efc5f983fb65f3341ed9bb4015c26671135f44428a8"
      },
      {
        "os": "linux",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "trieve",
        "path": "downloads/trieve-linux-amd64.tar.gz",
        "size": 4976824,
        "sha256": "sha256:0ac0dacef5f054f87f7774840769a1fc25592955f5e6aa15ce38036b70bd4a58"
      },
      {
        "os": "linux",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "trieve",
        "path": "downloads/trieve-linux-arm64.tar.gz",
        "size": 4408561,
        "sha256": "sha256:b12baec3a08cb0680b8506c1634950b1ac18368046574f41514d3da3e0fa5777"
      },
      {
        "os": "windows",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "trieve.exe",
        "path": "downloads/trieve-windows-amd64.tar.gz",
        "size": 5114976,
        "sha256": "sha256:b61b4d765710eebf96a1c25cc71aabab88ea49e45713d77a9b0e32a98010c490"
      },
      {
        "os": "windows",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "trieve.exe",
        "path": "downloads/trieve-windows-arm64.tar.gz",
        "size": 4479847,
        "sha256": "sha256:2df5f350abcbfdbf28406731dc5080c963774611d80d802becb6c3122664f6ee"
      }
    ]
  }
}

Trieve

This recipe generates the trieve CLI and agent Skill for the Trieve search and RAG API.

It keeps only the reproducible Lathe inputs: the OpenAPI spec is pinned from the Trieve repository, and generated code is not the source of truth.

Modules

  • trieve: the full Trieve API — chunks, datasets, groups, files, analytics, organizations, users, and more (133 commands across 20 groups).

Auth

Trieve uses an API key. The runtime sends it in the Authorization header (Trieve also accepts X-API-KEY). Create a key in the Trieve dashboard, then:

trieve auth login --hostname api.trieve.ai

Agents should inspect auth state before executing commands whose catalog detail has auth.required=true:

trieve auth status --hostname api.trieve.ai

Install the Skill

The recipe enables the bundled Agent Skill (skill.bundle in cli.yaml), so the generated CLI ships a skill install command:

trieve skill install --scope user --agent codex --yes

It writes the Skill to the agent's skills directory (e.g. ~/.agents/skills/trieve/).

Agent workflow

trieve commands schema --json
trieve commands --json
trieve search "search chunks" --json
trieve commands show trieve chunk chunks-2 --json

Search results are discovery only. Inspect command details before execution.

Source inputs

The recipe pins the Trieve OpenAPI spec from:

https://github.com/devflowinc/trieve.git   clients/ts-sdk/openapi.json

Bump pinned_tag in specs/sources.yaml when upgrading the Trieve API version.