agentleFS
LangChainKnown publisherlangchain-ai/langsmith-sdk/js/AGENTS.md

langsmith-sdk / js

AGENTS.md1.1k starsChanged 2 months agoMITView on GitHub

This folder contains the JavaScript/TypeScript version of the LangSmith SDK. When modifying code in this library, run the following from this directory before submitting a pull request: To run a single test file, pass it to Jest, e.g.: Releasing the SDK is governed exclusively by the "Cutting a release" section of ../CONTRIBUTING.md. When asked to cut or publish a release, you must follow that process: use the documented pnpm run bump-version flow and open a version-bump PR against main. Do…

Trending

Quiet since July.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 3 mentionsMay 2026: 36 mentionsJun 2026: 7 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the langchain-ai/langsmith-sdk repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about langchain-ai/langsmith-sdk

The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 49

Talked about on GitHub (49 times).

On GitHub · 49

44 more on GitHub
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository3 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When modifying code in this library, run the following from this directory before submitting a pull request:

    line 5
  2. Very specific:

    Do not hardcode a leading /v1 (or other apiUrl-dependent prefix) into request paths.

    line 33
  3. Very specific:

    When adding a new platform endpoint, follow the same pattern instead of inlining /v1/platform/....

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Instructions for code modifications in the JS/TS SDK

This folder contains the JavaScript/TypeScript version of the LangSmith SDK.

When modifying code in this library, run the following from this directory before submitting a pull request:

pnpm format
pnpm lint
pnpm test

To run a single test file, pass it to Jest, e.g.:

NODE_OPTIONS=--experimental-vm-modules npx jest src/tests/context.test.ts

Releasing

Releasing the SDK is governed exclusively by the "Cutting a release" section of ../CONTRIBUTING.md. When asked to cut or publish a release, you must follow that process: use the documented pnpm run bump-version flow and open a version-bump PR against main. Do not hand-edit package.json or src/index.ts, bump the version by any other means, push tags, or invent an alternative release path.

Conventions

Constructing request URLs

Do not hardcode a leading /v1 (or other apiUrl-dependent prefix) into request paths. LANGSMITH_ENDPOINT may already include /api/v1, so a hardcoded /v1/... produces a duplicated /api/v1/v1/... path and 404s.

For platform endpoints, build the path with the existing _getPlatformEndpointPath helper, which only adds the /v1 prefix when the configured apiUrl does not already end in /v1:

`${this.apiUrl}${this._getPlatformEndpointPath(`hub/repos/${owner}/${name}/directories`)}`

When adding a new platform endpoint, follow the same pattern instead of inlining /v1/platform/....

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.