151 Commits

Author SHA1 Message Date
Naomi Pentrel e6b8860639 fix remaining code samples (#4864) 2026-07-14 08:15:28 +01:00
Naomi Pentrel 5b6d04c524 Enable pull request trigger for code samples workflow (#4804) 2026-07-09 13:41:49 +02:00
KiewanVillatel 8dba3d5a7c chore: run OpenAPI spec sync daily instead of weekly (#4799) 2026-07-09 13:28:56 +02:00
Quentin Brosse c38eb48bfc docs(langsmith): SmithDB SDK migration guide for runs query and retrieve (#4614)
## Summary

Adds an unlisted migration guide at `/langsmith/smithdb-sdk-migration`
for partner customers migrating from v1 SDK methods to SmithDB-backed
equivalents. The page is `noindex: true` and not wired into `docs.json`
nav — accessible via direct URL only.

Each method's content (parameter tables, examples, and their code-sample
imports) lives in its own file under
`src/snippets/langsmith/smithdb-migration/` (e.g. `runs-query.mdx`,
`runs-retrieve.mdx`), included into the main page via Mintlify's
snippet-import pattern. Adding a new method's migration guide only
requires a new snippet file plus one import and one render line in the
main page, so different teams can add methods in parallel without
conflicting.

The code-samples generation and testing pipeline was extended to support
Go and cURL/bash, alongside existing Python/TypeScript/Java/Kotlin
support, so every code sample in this guide is a real, tested source
file rather than hand-authored prose.

---------

Co-authored-by: Kiewan Villatel <kiewan@langchain.dev>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
2026-07-06 09:40:48 +02:00
Naomi Pentrel 5cd0ed2f3a Disable pull_request trigger in workflow (#4698) 2026-07-02 14:39:54 +02:00
Naomi Pentrel af7b61d5d3 add patience comment to integrations PRs (#4605) 2026-06-24 23:17:32 +02:00
Naomi Pentrel 9c588b3f2a run all tests on workflow dispatch (#4584) 2026-06-23 20:48:54 +02:00
Naomi Pentrel cbe6dd3b41 update code sample test reporting (#4581) 2026-06-23 19:50:22 +02:00
Mason Daugherty dd7c79216d add myself to dcode owners (#4383) 2026-06-10 00:45:11 -04:00
Naomi Pentrel 67c613429e make preview notics more prominent (#4300) 2026-06-04 12:03:47 +02:00
Naomi Pentrel 20d241007f add github action for unresolved merge conflict markers (#4258) 2026-06-02 12:41:24 +02:00
Yacklin Wong a7c1c7f2de fix all wrong default port number of postgres db in long term memory docs and sample code (#3932) 2026-05-28 13:35:21 +02:00
Lauren Hirata Singh 7a8607fe4f add LangSmith API docs to mintlify (#3593)
Fixes DOC-878

```
There are 84 hidden endpoints across these categories:                                         
  ┌─────────────────────────────────┬───────┬───────────────────────────────────┐                
  │            Category             │ Count │            Why hidden             │                
  ├─────────────────────────────────┼───────┼───────────────────────────────────┤                
  │ Fleet (agents, skills, fleet *) │ 72    │ Fleet has its own product/docs    │                
  ├─────────────────────────────────┼───────┼───────────────────────────────────┤                
  │ fleet github-app                │ 11    │ Fleet-specific GitHub integration │                
  ├─────────────────────────────────┼───────┼───────────────────────────────────┤                
  │ beacon                          │ 1     │ Internal usage telemetry          │                
  ├─────────────────────────────────┼───────┼───────────────────────────────────┤                
  │ nps                             │ 1     │ Internal NPS survey               │                
  ├─────────────────────────────────┼───────┼───────────────────────────────────┤                
  │ sandboxes-internal              │ 1     │ Service-to-service only           │                
  ├─────────────────────────────────┼───────┼───────────────────────────────────┤                
  │ metrics                         │ 1     │ Internal queue metrics            │                
  ├─────────────────────────────────┼───────┼───────────────────────────────────┤              
  │ (untagged) — GET /ok            │ 1     │ Health check                      │              
  └─────────────────────────────────┴───────┴───────────────────────────────────┘  
  ```
  
 PREVIEW: https://langchain-5e9cc07a-preview-lsapi-1779323176-451247e.mintlify.app/langsmith/smith-api-ref
2026-05-21 17:40:17 -04:00
Lauren Hirata Singh 5e3521a64c update gh action to assign reviewers to bot PRs (#4112)
adds langsmith-fleet
2026-05-20 21:05:08 -04:00
Lauren Hirata Singh 81ea37f9b8 update gh action for reviews (#4085)
update the gh action to auto-add a reviewer for any PR opened by a bot
2026-05-19 17:21:08 -04:00
Naomi Pentrel ca4ed8df63 make existing snippets testable (#4010) 2026-05-15 11:03:51 +02:00
Naomi Pentrel 7fe4af95b3 remove references to old reference docs (#3972) 2026-05-13 13:58:17 +02:00
open-swe[bot] af35bc1aa6 docs: add Java snippets to manage prompts programmatically [closes DOC-1092] (#3961) 2026-05-12 21:59:50 +02:00
Mason Daugherty 2d448588c3 ci: opt-in auto-request reviewers via OWNERS marker (#3948)
## Description
Extends `.github/workflows/pr-welcome-comment.yml` with an opt-in
`# auto-request[: @user ...]` marker on `.github/OWNERS` rules so the
workflow can call `requestReviewers` for opted-in owners on matching
PRs.

This is needed because the existing welcome comment only tells authors
who owns the touched docs areas. It does not create a GitHub review
request, and the owner handles in that comment are formatted as code, so
they are not reliable mention notifications. The new marker creates an
actual requested reviewer entry while keeping the behavior opt-in per
OWNERS rule.

Wires up `@mdrxy` for `/src/oss/deepagents/cli/`.

## Release Note
none

## Test Plan
- [ ] After merge, open a non-draft PR touching a file under
      `src/oss/deepagents/cli/` from a non-owner account and confirm
      `@mdrxy` is auto-requested as a reviewer, and `@npentrel` is not.
- [ ] Open an unrelated PR, for example touching `src/langsmith/`, and
      confirm no extra reviewers are auto-requested beyond existing
      behavior.
2026-05-11 10:40:23 -07:00
Mason Daugherty 39c9b330c1 fix(ci): treat open-swe bot as internal contributor (#3914)
The `tag-external-contributions` workflow was incorrectly flagging PRs
authored by the `open-swe` bot as external contributions. Hardcode
`open-swe`, `app/open-swe`, and `open-swe[bot]` as internal authors so
the job skips the org-membership API call and labels them correctly.

## Changes
- Add `internalAuthors` `Set` with `open-swe` variants to the
`github-script` step in
`.github/workflows/tag-external-contributions.yml`
- Short-circuit the external-contributor check before the
`org.getMembershipForUser` call when the PR author matches any of the
hardcoded bot identities
2026-05-08 01:56:06 -04:00
open-swe[bot] 92565459e3 feat: add java traceable docs [closes DOC-1050] (#3802) 2026-05-06 20:19:39 +02:00
Lauren Hirata Singh 67e9a12fcf docs: [Self-Hosted Changelog Bot] Changelog updates for new version(s) (#3805)
Automated changelog update created by the LangGraph Server Changelog
Bot.

Feel free to merge anytime.
2026-05-01 15:13:53 -04:00
Lauren Hirata Singh 39a7c46093 Design updates (#3773)
https://langchain.slack.com/archives/C09G1T60QV9/p1776773430522289
2026-04-28 12:41:06 -04:00
Naomi Pentrel 1972ed8c99 add auto sync script for create_deep_agent (#3706) 2026-04-24 12:34:07 +02:00
Naomi Pentrel bf2fa3825b remove polling for previews (#3688) 2026-04-23 10:48:51 +02:00
Lauren Hirata Singh 9dc353dac2 update PR review action (#3655)
https://langchain.slack.com/archives/C0990EP5N0N/p1776788041709699
2026-04-21 13:02:50 -04:00
open-swe[bot] 4567e7d9cd feat: document how to execute skill scripts in a sandbox (#3590) 2026-04-21 15:52:33 +02:00
Naomi Pentrel bbfbe729e2 link to changed page (#3649) 2026-04-21 13:49:47 +02:00
Naomi Pentrel af4fd994ab add automatic preview deployments (#3647) 2026-04-21 13:25:38 +02:00
Mason Daugherty b1987ba6e0 da-cli: --startup-cmd flag (#3641)
Document the new `--startup-cmd` CLI flag from
[deepagents#2841](https://github.com/langchain-ai/deepagents/pull/2841),
which runs a shell command once at session start.
2026-04-20 16:31:44 -04:00
Lauren Hirata Singh ec3b47ecef update gh action (#3574) 2026-04-14 10:51:58 -04:00
Lauren Hirata Singh 482517c6cd Change review flow (#3561)
Auto-assigning Docs team reviewers is really noisy, so we are trying out
this GH action that puts the oneous on the PR author to tag one of us
when they are ready for review.
2026-04-13 16:59:11 -04:00
Lauren Hirata Singh f45036a7b8 Fix Agent Builder naming (#3540) 2026-04-10 16:10:10 -04:00
Naomi Pentrel 7bbb2ed51f fix: use anchor link checking (#3511) 2026-04-10 12:11:38 +02:00
Mason Daugherty c89e25a42b docs: fix PyPI casing (#3383)
Fix the casing of "PyPI" across docs and integration pages. The Python
Package Index spells it "PyPI" (capital P-y-capital-P-capital-I), but
several pages used "PyPi" instead.
2026-03-31 02:17:10 -04:00
Naomi Pentrel 9400910f29 add context engineering conceptual guide (#3263) 2026-03-24 14:17:54 +01:00
Naomi Pentrel 7f8707b7fb create deep research tutorial (#3193) 2026-03-23 19:00:56 +01:00
Naomi Pentrel fb79c64ed1 feat: improve long-term memory docs and discoverability (#2957) 2026-03-18 16:28:59 +01:00
Mason Daugherty a8f3e3c80a ci: cache mintlify cli in check-links workflow (#3174)
Cache the Mintlify CLI global install in the `_check-links` workflow.
The `npm i -g mint@latest` step and its KaTeX patch are slow — caching
the installed binaries and skipping both steps on cache hit saves a
chunk of wall time on every link-check run.

## Changes
- Add an `actions/cache@v4` step keyed on `runner.os`, Node 22, and a
hash of `_check-links.yml` to cache `/usr/local/lib/node_modules/mint`
and `/usr/local/bin/mint`
- Gate the `Install Mintlify CLI` and `Patch KaTeX __VERSION__ bug`
steps behind `steps.cache-mint.outputs.cache-hit != 'true'`
2026-03-17 17:12:40 -04:00
Mason Daugherty c19af5e714 ci: shallow clone in all workflows (#3173)
Add `fetch-depth: 1` to all `actions/checkout@v6` steps across CI
workflows. Full git history isn't needed for any of these jobs — shallow
clones cut checkout time and reduce runner disk/network usage.
2026-03-17 16:49:40 -04:00
Mason Daugherty a196131588 oss(deepagents-cli): add custom subagents AGENTS.md file format (#3143)
Document the `AGENTS.md` file-based approach for defining custom
subagents in the Deep Agents CLI. CLI users can now define subagents as
markdown files with YAML frontmatter instead of writing them in code,
and optionally override the model per subagent for cost control.
2026-03-16 12:17:47 -04:00
Mason Daugherty e0d7bb27e9 feat: add CI check for unresolved @[ref] cross-references (#3051)
## Description
Adds a check that validates all `@[ref]` cross-references in source
MDX/MD files resolve against entries in `link_map.py`. Previously,
unresolved references silently passed through the build pipeline and
appeared as raw `@[ClassName]` text in the published docs. Available via
`make check-cross-refs`.

Note: I couldn't modify `.github/workflows/_check-links.yml` due to
workflow permissions. To integrate into CI, add this step to
`_check-links.yml` after "Install Python dependencies":
```yaml
- name: Check for unresolved cross-references
  run: make check-cross-refs
```

## Test Plan
- [ ] `make check-cross-refs` reports unresolved references with file,
line number, and scope
- [ ] 12 unit tests covering: valid refs, unresolved refs, scope fences,
code block skipping, escaped refs, titled refs, backtick refs, and
code-samples exclusion

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
2026-03-13 17:35:55 -04:00
Mason Daugherty 5a17fc0df3 switch to tyfor type checking (#3121) 2026-03-13 17:18:19 -04:00
Mason Daugherty ee189ae8ea chore: add vale rules for deep agents capitalization [closes DOC-859] (#3045)
## Description
Adds Vale terminology rules to enforce correct capitalization of "Deep
Agents". Catches common incorrect variants (`deep agents`, `Deep
agents`, `DeepAgents`, `deepagents`) and suggests the correct form.

Resolves DOC-859

## Test Plan
- [ ] Run `vale --config .vale.ini` against a test file with incorrect
variants to verify all four patterns are caught

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: Lauren Hirata Singh <lauren@langchain.dev>
2026-03-13 16:52:24 -04:00
Mason Daugherty bfdccacb21 ci: auto-close needs-title issues after 7 days (#3115)
Completes the `needs-title` issue lifecycle. The existing
`check-default-title` workflow labels issues with default/placeholder
titles, but there was no automated cleanup — labeled issues sat open
indefinitely. This adds a weekly scheduled workflow to close them after
7 days, plus a fix to the existing workflow so the label gets removed
when an author updates their title.

## Changes
- Add `close-needs-title.yml` scheduled workflow (Monday 9 AM UTC +
manual dispatch) that paginates all open issues labeled `needs-title`,
skips PRs and issues younger than 7 days, then comments and closes as
`not_planned`
- Fix the `check-default-title` workflow's early-return path: when a
title is edited to be descriptive, call `issues.removeLabel` to strip
`needs-title` — previously the label stuck around permanently
2026-03-13 16:29:15 -04:00
Mason Daugherty 70afbdc38c ci: auto-remove needs-title label on descriptive title (#3114)
When an issue or PR title is updated from a default placeholder to
something descriptive, the `needs-title` label was left behind. This
adds cleanup logic so the label is automatically removed once the title
passes validation.
2026-03-13 16:27:02 -04:00
Mason Daugherty c57ece47ff delete reference/ (#3109)
delete folder

relocate `packages.yml` and update corresponding scripts
2026-03-13 15:08:14 -04:00
Naomi Pentrel 8a38612ed2 ensure pages in docs.json exist (#3058) 2026-03-11 20:10:59 +01:00
Naomi Pentrel cd0af822a5 fix link text and url occurances (#3022) 2026-03-10 14:35:48 +01:00
Lauren Hirata Singh 3d79e3bc7d add/update agent files (#3007)
Added repository structure, navigation map, and common workflows to all
four agent instruction files (CLAUDE.md, AGENTS.md, .cursorrules,
.github/copilot-instructions.md) so AI agents can orient in the codebase
without exploring directories or parsing the 88KB docs.json.

Fixes DOC-823

Note: Adding more depth to our dir structure does **not** help agents,
as agents can rely on docs.json and agent nav maps
2026-03-09 14:32:49 -04:00