@agent-inspect/langchain 6.7.1 → 6.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
LangChain callback handler → local AgentInspect traces.
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
**Support level:** Supported — see [SUPPORT-LEVELS.md](https://github.com/rajudandigam/agent-inspect/blob/main/docs/SUPPORT-LEVELS.md).
|
|
7
|
+
|
|
5
8
|
## When to use
|
|
6
9
|
|
|
7
10
|
- LangChain or LangGraph apps using `@langchain/core` callbacks
|
|
@@ -48,7 +51,17 @@ const handler = new AgentInspectCallback({
|
|
|
48
51
|
|
|
49
52
|
## CLI
|
|
50
53
|
|
|
51
|
-
`
|
|
54
|
+
With `persist: true`, use the same directory configured in `traceDir`:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
npx agent-inspect list --dir ./.agent-inspect
|
|
58
|
+
npx agent-inspect view <run-id> --dir ./.agent-inspect --summary
|
|
59
|
+
npx agent-inspect report <run-id> --dir ./.agent-inspect
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Persisted traces remain local. Before sharing an export or report, follow the
|
|
63
|
+
[safe trace sharing checklist](https://github.com/rajudandigam/agent-inspect/blob/main/docs/SAFE-TRACE-SHARING.md)
|
|
64
|
+
and review the generated artifact for sensitive metadata.
|
|
52
65
|
|
|
53
66
|
## Docs
|
|
54
67
|
|
|
@@ -60,9 +73,10 @@ const handler = new AgentInspectCallback({
|
|
|
60
73
|
- **Empty trace:** Set `persist: true` and ensure callbacks are attached to the runnable
|
|
61
74
|
- **LangGraph:** Route through LangChain callback surfaces where possible
|
|
62
75
|
|
|
76
|
+
|
|
63
77
|
## Version
|
|
64
78
|
|
|
65
|
-
|
|
79
|
+
Part of the fixed AgentInspect release line. See the npm badge / package manifest for the current version.
|
|
66
80
|
|
|
67
81
|
## License
|
|
68
82
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-inspect/langchain",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@langchain/core": "^1.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"agent-inspect": "6.7.
|
|
41
|
+
"agent-inspect": "6.7.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@langchain/core": "^1.0.0"
|