# vercel-labs/lat.md

Agent Lattice: a knowledge graph for your codebase, written in markdown.

Repository: https://github.com/vercel-labs/lat.md
Canonical: https://ross.abutalabs.com/products/latmd
Homepage: https://www.lat.md
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T19:48:29+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 12
- inputs: {"age_days": 177, "days_push": 7, "days_rel": 35, "gap_med": 0, "n_releases_24m": 24}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1857, forks 117 (observed 2026-08-28T04:05:45.058150+00:00)

## What it is
lat.md is a CLI tool that maintains a knowledge graph of your codebase as interconnected markdown files in a lat.md/ directory, with wiki links tying concepts, specs, and source code together. It helps coding agents and humans navigate, search, and keep project context in sync via commands like lat init, lat check, and lat search.

## Use cases
- document design decisions and business logic for coding agents
- replace a monolithic AGENTS.md with a scalable knowledge graph
- let agents search project context instead of grepping code
- enforce test specs are referenced in test code
- review agent diffs starting from semantic changes
- retain session context across agent coding sessions

## When to choose
- you use AI coding agents on a growing codebase and want persistent, structured context
- you want documentation that stays in sync with code via automated checks
- you want semantic search over project knowledge without an API key

## When to avoid
- you have a small project where a single AGENTS.md suffices
- your team does not use AI coding agents or markdown-based docs
- you need a general-purpose documentation site generator

## Facets
- artifact type: cli-tool
- maturity: active
- function: documentation, search-engine, developer-tools, cli
- domain: developer-tools, documentation, large-language-models
- platform: cli, cross-platform
- tags: knowledge-graph, markdown, coding-agents, wiki-links, semantic-search, agent-workflow, code-documentation, ai-agents, nodejs

## Member repositories
- vercel-labs/lat.md (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:45.058150+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:16:37.696116+00:00, confidence not recorded.
  - readme: https://github.com/vercel-labs/lat.md (fetched 2026-08-28T04:05:45.058150+00:00, sha 82d2739d7a60)
  - homepage: https://www.lat.md (fetched 2026-08-29T10:55:31.764075+00:00, sha 5dc64f998768)
- Data as of 2026-08-30T08:39:29.467469+00:00.
