Files
langgraph/CLAUDE.md
T
John KennedyGitHublangsmith-fleet[bot] <langsmith-fleet[bot]@users.noreply.github.com>
38031739e5 docs: add Corridor agent instructions (#8677)
Add a repository-wide `<corridor>` block to `AGENTS.md` requiring agents
to plan first and run Corridor `analyzePlan` before generating or
modifying code. The tags are explicit and balanced so Corridor-specific
guidance remains scoped.

Validation: `git diff --check` and a tag-balance assertion.

---------

Co-authored-by: langsmith-fleet[bot] <langsmith-fleet[bot]@users.noreply.github.com>
2026-08-24 14:42:27 -07:00

2.0 KiB
Raw Blame History

AGENTS Instructions

This repository is a monorepo. Each library lives in a subdirectory under libs/.

Corridor security analysis

Before generating or modifying code, create a plan and use Corridor's analyzePlan tool to analyze it. Apply the resulting security guidance before writing code.

When you modify code in any library, run the following commands in that library's directory before creating a pull request:

  • make format run code formatters
  • make lint run the linter
  • make test execute the test suite

To run a particular test file or to pass additional pytest options you can specify the TEST variable:

TEST=path/to/test.py make test

Other pytest arguments can also be supplied inside the TEST variable.

Libraries

The repository contains several Python and JavaScript/TypeScript libraries. Below is a high-level overview:

  • checkpoint base interfaces for LangGraph checkpointers.
  • checkpoint-postgres Postgres implementation of the checkpoint saver.
  • checkpoint-sqlite SQLite implementation of the checkpoint saver.
  • cli official command-line interface for LangGraph.
  • langgraph core framework for building stateful, multi-actor agents.
  • prebuilt high-level APIs for creating and running agents and tools.
  • sdk-js JS/TS SDK for interacting with the LangGraph REST API.
  • sdk-py Python SDK for the LangGraph Server API.

Dependency map

The diagram below lists downstream libraries for each production dependency as declared in that library's pyproject.toml (or package.json).

checkpoint
├── checkpoint-postgres
├── checkpoint-sqlite
├── prebuilt
└── langgraph

prebuilt
└── langgraph

sdk-py
├── langgraph
└── cli

sdk-js (standalone)

Changes to a library may impact all of its dependents shown above.

  • Do NOT use Sphinx-style double backtick formatting (``code``). Use single backticks (`code`) for inline code references in docstrings and comments.