Skip to content

Commit eef2bcd

Browse files
authored
cross-link to langsmith (#4207)
1 parent c7adb96 commit eef2bcd

22 files changed

Lines changed: 73 additions & 25 deletions

src/oss/deepagents/backends.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ The `read_file` tool natively supports binary files (images, PDFs, audio, video)
2424
Sandboxes and the @[`LocalShellBackend`] also provide an `execute` tool.
2525
This page explains how to:
2626

27-
2827
- [choose a backend](#specify-a-backend),
2928
- [route different paths to different backends](#route-to-different-backends),
3029
- [implement your own virtual filesystem](#use-a-virtual-filesystem) (e.g., S3 or Postgres),
@@ -38,6 +37,12 @@ This page explains how to:
3837
- and [update existing backends to v2](#update-existing-backends-to-v2).
3938
:::
4039

40+
<Tip>
41+
When you deploy on [LangSmith Deployment](/langsmith/deployment), a store is provisioned automatically. Use [LangSmith](/langsmith/home) tracing to debug file paths, permission denials, and cross-thread storage. Follow the [observability quickstart](/langsmith/observability-quickstart) to get set up.
42+
43+
We recommend you also set up [LangSmith Engine](/langsmith/engine), which monitors your traces, detects issues, and proposes fixes.
44+
</Tip>
45+
4146
## Quickstart
4247

4348
Here are a few prebuilt filesystem backends that you can quickly use with your deep agent:

src/oss/deepagents/code/overview.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,3 +405,7 @@ When configured, Deep Agents Code displays a status line with a link to the Lang
405405
```sh
406406
✓ LangSmith tracing: 'my-project'
407407
```
408+
409+
<Tip>
410+
We recommend you also set up [LangSmith Engine](/langsmith/engine), which monitors your traces, detects issues, and proposes fixes.
411+
</Tip>

src/oss/deepagents/customization.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ const agent = await createDeepAgent({
120120
For the full parameter list, see the [`createDeepAgent`](https://reference.langchain.com/javascript/deepagents/types/CreateDeepAgentParams) API reference. To compose a fully custom harness from scratch, see [Configure the harness](/oss/langchain/agents#configure-the-harness).
121121
:::
122122

123+
<Tip>
124+
As you add tools, subagents, and backends, use [LangSmith](https://smith.langchain.com) to trace how each piece behaves together. Follow the [observability quickstart](/langsmith/observability-quickstart) to get set up, and see [Going to production](/oss/deepagents/going-to-production) for deployment on LangSmith.
125+
126+
We recommend you also set up [LangSmith Engine](/langsmith/engine), which monitors your traces, detects issues, and proposes fixes.
127+
</Tip>
128+
123129
## Model
124130

125131
Pass a `model` string in `provider:model` format, or an initialized model instance. See [supported models](/oss/deepagents/models#supported-models) for all providers and [suggested models](/oss/deepagents/models#suggested-models) for tested recommendations.

src/oss/deepagents/going-to-production.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import DeepagentsProductionInvokePy from '/snippets/code-samples/deepagents-prod
1212

1313
This guide covers considerations for taking a deep agent from a local prototype to a production deployment. It walks through scoping memory, configuring execution environments, adding guardrails, and connecting a frontend.
1414

15-
1615
## Overview
1716

1817
Agents use information from memory and their execution environment to accomplish tasks.
@@ -36,6 +35,10 @@ This page covers:
3635

3736
The recommended path for taking a Deep Agent to production is [Managed Deep Agents](/langsmith/deploy-managed-deep-agent), an API-first hosted runtime for creating, running, and operating deep agents in LangSmith. Managed Deep Agents is currently in private preview ([join the waitlist](https://www.langchain.com/langsmith-managed-deep-agents-waitlist)). For teams that need custom application code, custom routes, advanced authentication, or full Agent Server APIs, you can configure a [LangSmith Deployment](/langsmith/deployment) directly. Either path provisions the infrastructure your agent needs: [threads](/langsmith/use-threads), [runs](/langsmith/runs), a store, and a checkpointer, so you don't have to set these up yourself. A traditional LangSmith Deployment also gives you [authentication](/langsmith/auth), [webhooks](/langsmith/use-webhooks), [cron jobs](/langsmith/cron-jobs), and [observability](/langsmith/observability) out of the box, and can expose your agent via [MCP](/langsmith/server-mcp) or [A2A](/langsmith/server-a2a).
3837

38+
<Tip>
39+
LangSmith Cloud deployments automatically send traces to a project named after your deployment. Open [LangSmith](https://smith.langchain.com) to debug runs and monitor usage. For hybrid or self-hosted setups, see [LangSmith tracing](/langsmith/data-plane#langsmith-tracing). We recommend you also set up [LangSmith Engine](/langsmith/engine), which monitors your traces, detects issues, and proposes fixes.
40+
</Tip>
41+
3942
All code snippets on this page use the following `langgraph.json` unless otherwise specified:
4043

4144
:::python

src/oss/deepagents/overview.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ Deep Agents is an ["agent harness"](/oss/concepts/products#agent-harnesses-like-
3232

3333
See [Harness capabilities](/oss/deepagents/harness) for a full breakdown of each component.
3434

35-
<Tip>
36-
The [LangSmith Engine](/langsmith/engine) detects issues in your Deep Agents traces and proposes fixes. You can open a pull request with the proposed fix directly from the Engine tab.
37-
</Tip>
38-
3935
:::python
4036
[`deepagents`](https://pypi.org/project/deepagents/) is a standalone library built on top of [LangChain](/oss/langchain/)'s core building blocks for agents. It uses the [LangGraph](/oss/langgraph/) runtime for durable execution, streaming, human-in-the-loop, and other features.
4137
:::
@@ -235,7 +231,7 @@ console.log(
235231
See the [Quickstart](/oss/deepagents/quickstart/) and [Customization guide](/oss/deepagents/customization/) to get started building your own agents and applications with Deep Agents.
236232

237233
<Tip>
238-
Trace requests, debug agent behavior, and evaluate outputs with [LangSmith](https://smith.langchain.com). Follow the [tracing quickstart](/langsmith/trace-with-langchain) to get set up. When ready for production, [deploy to LangSmith Cloud](/langsmith/deploy-to-cloud) for managed hosting.
234+
Trace requests, debug agent behavior, and evaluate outputs with [LangSmith](https://smith.langchain.com). Follow the [observability quickstart](/langsmith/observability-quickstart) to get set up. When ready for production, see [Going to production](/oss/deepagents/going-to-production) for LangSmith deployment options.
239235
</Tip>
240236

241237
## Core capabilities

src/oss/deepagents/quickstart.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ Pass a `model` string in `provider:model` format, or an [initialized model insta
155155

156156
<Tip>
157157
Trace your agent's planning steps, tool calls, and subagent delegation with [LangSmith](https://smith.langchain.com). Follow the [observability quickstart](/langsmith/observability-quickstart) to get set up.
158+
159+
We recommend you also set up [LangSmith Engine](/langsmith/engine), which monitors your traces, detects issues, and proposes fixes.
158160
</Tip>
159161

160162
## How does it work?

src/oss/deepagents/sandboxes.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ These examples assume you have already created a sandbox/devbox using the provid
6868
<SandboxBasicPy />
6969
:::
7070

71+
<Tip>
72+
[LangSmith](https://smith.langchain.com) traces show which shell commands ran inside a sandbox and how the agent used filesystem tools. Follow the [observability quickstart](/langsmith/observability-quickstart) to get set up. For managed sandbox hosting, see [LangSmith Sandboxes](/langsmith/sandboxes).
73+
74+
We recommend you also set up [LangSmith Engine](/langsmith/engine), which monitors your traces, detects issues, and proposes fixes.
75+
</Tip>
76+
7177
## Available providers
7278

7379
:::python

src/oss/deepagents/skills.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,4 +557,6 @@ These are a few general guidelines for using tools and skills:
557557

558558
<Tip>
559559
Trace how your agent discovers and executes skills with [LangSmith](https://smith.langchain.com). Follow the [observability quickstart](/langsmith/observability-quickstart) to get set up.
560+
561+
We recommend you also set up [LangSmith Engine](/langsmith/engine), which monitors your traces, detects issues, and proposes fixes.
560562
</Tip>

src/oss/deepagents/subagents.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,10 @@ In this case the subagent with the name `"research-agent"`, will have `{'lc_agen
255255

256256
![LangSmith Example trace showing the metadata](/oss/images/deepagents/deepagents-langsmith.png)
257257

258+
<Tip>
259+
Open the run in [LangSmith](https://smith.langchain.com) to compare the supervisor trace with each subagent run. Follow the [observability quickstart](/langsmith/observability-quickstart) to get set up. We recommend you also set up [LangSmith Engine](/langsmith/engine) which monitors your traces, detects issues, and proposes fixes.
260+
</Tip>
261+
258262
## Structured output
259263

260264
Subagents support [structured output](/oss/langchain/structured-output), so the parent agent receives predictable, parseable JSON instead of free-form text.
@@ -1121,4 +1125,3 @@ const subagents = [
11211125
];
11221126
```
11231127
:::
1124-
:::

src/oss/langchain/agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ To extend the agent's state schema with custom fields, use [`state_schema`](/oss
170170
## Invocation
171171

172172
<Tip>
173-
Trace each step of this loop, debug tool calls, and evaluate agent outputs with [LangSmith](https://smith.langchain.com). Follow the [tracing quickstart](/langsmith/trace-with-langchain) to get set up.
173+
Trace each step of this loop, debug tool calls, and evaluate agent outputs with [LangSmith](https://smith.langchain.com). Follow the [tracing quickstart](/langsmith/trace-with-langchain) to get set up. We recommend you also set up [LangSmith Engine](/langsmith/engine) which monitors your traces, detects issues, and proposes fixes.
174174
</Tip>
175175

176176

0 commit comments

Comments
 (0)