Instructions for AI coding agents working with this codebase.
Source code for dependencies is available in opensrc/ for deeper understanding of implementation details.
See opensrc/sources.json for the list of available packages and their versions.
Use this source code when you need to understand how a package works internally, not just its types/interface.
To fetch source code for a package or repository you need to understand, run:
npx opensrc <package> # npm package (e.g., npx opensrc zod)
npx opensrc pypi:<package> # Python package (e.g., npx opensrc pypi:requests)
npx opensrc crates:<package> # Rust crate (e.g., npx opensrc crates:serde)
npx opensrc <owner>/<repo> # GitHub repo (e.g., npx opensrc vercel/ai)When working on tasks about a library/framework/runtime/platform, first consult
llms-furl/, which contains llms-full.txt split into a tree of leaves — small,
searchable files for quick lookup.
Workflow:
- Check domains in
llms-furl/AGENTS.md. - Search within the relevant domain (e.g.
rg -n "keyword" llms-furl/bun.sh). - If needed, navigate with
index.jsonusingjq. - If no relevant info is found, state that and then move on to other sources.
When you make changes that affect how the next person/agent should work (env vars, setup, API shape, state machines, key decisions), also update the relevant files under .workspace-fs/ so it remains the single source of truth:
.workspace-fs/state.md(current state + next tasks).workspace-fs/decisions.md(decisions + rationale).workspace-fs/worklog-YYYY-MM-DD.md(what changed today)