AGENTS.md@packages/sdk/typescriptA

AGENTS.md@packages/sdk/typescript from juliusbrussee/caveman is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add juliusbrussee/caveman/packages/sdk/typescript/AGENTS.md@git:20260925.36ccf7d

Pins git:20260925.36ccf7d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
juliusbrussee/caveman
Path
packages/sdk/typescript/AGENTS.md
Versions recorded
4
Latest version
git:20260925.36ccf7d, committed Sep 25, 2026
First version recorded
Aug 11, 2026
Size
9,230 bytes
Repository stars
114,642
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# packages/sdk/typescript — TypeScript SDK (`@caveman-ai/sdk`)

Single-file SDK (`src/index.ts`) exported as an ES module. Provides `Cave` (main client),
`CaveTrace` (per-request tracing), and BM25-backed tool-search against the gateway. No runtime
dependencies — only `devDependencies` for TypeScript.

## Layout

- `src/index.ts` — entire SDK; exports `Cave`, `CaveTrace`, `CaveOptions`, `CaveTool`, `ToolSearchResult`, `CompressOptions`, `CompressResult`, and the `ContextPack*` types
- `tests/tool-search.test.ts` — type-level assertions compiled by `tsc --noEmit`
- `tests/tool-search.runtime.mjs` — runtime tests using `node:test` + global fetch mock (imports from `dist/`)
- `tests/runtime-policy.runtime.mjs` + `tests/runtime-policy.test.ts` — the runtime-policy client; drives every section of `../../parity/runtime-policy.fixtures.json` (fetch wire, signature cases, all `assignment_vectors` with exact float equality, all `guard_cases` — the shared operator truth table lives in the fixture, not in this file — and all `decision_cases`). Iterate the arrays; never hard-code their counts
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add juliusbrussee/caveman/packages/sdk/typescript/AGENTS.md@sha256:d09e83b5b1449784

The line at the top of this page pins the label git:20260925.36ccf7d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mhrjj4wogavfwl57.svg)](https://markdownregistry.com/a/art_mhrjj4wogavfwl57)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Aug 11, 2026 and Sep 25, 2026, about one every 15 days.

versioncommittedcommitsizeaudit
git:20260925.36ccf7d latest2026-09-25 36ccf7d 9,230 BA view · diff
git:20260924.b8358122026-09-24 b835812 9,236 BA view · diff
git:20260812.d4ef06b2026-08-12 d4ef06b 8,810 BA view · diff
git:20260811.82864c82026-08-11 82864c8 8,877 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (9230 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

juliusbrussee/caveman · 114,642 stars · license Apache-2.0 · pushed 2026-10-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mhrjj4wogavfwl57
GET https://markdownregistry.com/api/v1/resolve?ref=juliusbrussee/caveman/packages/sdk/typescript/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/d09e83b5b1449784f47b7401d3e7b5ea8198f0e24f617ea4d52ae20cca11702e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from juliusbrussee/caveman

AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 114,642 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261010.505ac30 · audit B · 114,642 stars
CLAUDE.md@browse CLAUDE.md file
juliusbrussee/caveman · browse/CLAUDE.md
git:20260816.f71f6df · audit A · 114,642 stars
AGENTS.md@engine AGENTS.md file
juliusbrussee/caveman · engine/AGENTS.md
git:20260812.d4ef06b · audit A · 114,642 stars
CLAUDE.md@engine CLAUDE.md file
juliusbrussee/caveman · engine/CLAUDE.md
git:20261006.2f6ebbf · audit A · 114,642 stars
AGENTS.md@extension AGENTS.md file
juliusbrussee/caveman · extension/AGENTS.md
git:20261003.2ec7194 · audit A · 114,642 stars
CLAUDE.md@extension CLAUDE.md file
juliusbrussee/caveman · extension/CLAUDE.md
git:20261003.2ec7194 · audit A · 114,642 stars
CLAUDE.md@integrations CLAUDE.md file
juliusbrussee/caveman · integrations/CLAUDE.md
git:20260812.d4ef06b · audit A · 114,642 stars
AGENTS.md@mcp AGENTS.md file
juliusbrussee/caveman · mcp/AGENTS.md
git:20260924.921eab8 · audit A · 114,642 stars
CLAUDE.md@mcp CLAUDE.md file
juliusbrussee/caveman · mcp/CLAUDE.md
git:20260924.921eab8 · audit A · 114,642 stars
AGENTS.md@mem AGENTS.md file
juliusbrussee/caveman · mem/AGENTS.md
git:20260924.921eab8 · audit A · 114,642 stars
CLAUDE.md@mem CLAUDE.md file
juliusbrussee/caveman · mem/CLAUDE.md
git:20261009.30b22b7 · audit A · 114,642 stars

Every file in juliusbrussee/caveman

Browse by kind, by grade A, or by owner.