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-08-21T06:47:47.530Z",
  "lathe_version": "lathe v0.5.2 (none, unknown)",
  "gate": {
    "verdict": "GO",
    "generated_at": "2026-08-21T06:47:47.530Z",
    "lathe_version": "lathe v0.5.2 (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": 3700841,
        "sha256": "sha256:ed6b218585727c22c9fb7e4cac9158c586e36da35b55aaaf3e0cd4fd7b710565"
      },
      {
        "os": "darwin",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "trieve",
        "path": "downloads/trieve-darwin-amd64.tar.gz",
        "size": 3996062,
        "sha256": "sha256:79af680d50a089646c641e68336bc5be3aca07943279e1fe8ecc32671a48990f"
      },
      {
        "os": "linux",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "trieve",
        "path": "downloads/trieve-linux-amd64.tar.gz",
        "size": 3931595,
        "sha256": "sha256:85acb72f2f3b9fa90a7ad1bd42d0b07cb5b24a37c43cc7c47f522805a26ebc41"
      },
      {
        "os": "linux",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "trieve",
        "path": "downloads/trieve-linux-arm64.tar.gz",
        "size": 3566102,
        "sha256": "sha256:e8abf3c7e1c984259e7b5ce4c8d4adad3dcca9256bc74a9ae05279fb62f0e41a"
      },
      {
        "os": "windows",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "trieve.exe",
        "path": "downloads/trieve-windows-amd64.tar.gz",
        "size": 4049047,
        "sha256": "sha256:7a68bf06b3d9e4817359e2a28919bd8070912f48d68403a699f2dd75a4c950de"
      },
      {
        "os": "windows",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "trieve.exe",
        "path": "downloads/trieve-windows-arm64.tar.gz",
        "size": 3624275,
        "sha256": "sha256:b72e0229c3ecdf46648e73118722994a532cb6cea88784a76f241c8c19d1532c"
      }
    ]
  }
}

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.