managed-deepagents 0.5.4-dev.13 → 0.5.4-dev.14

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.
Files changed (2) hide show
  1. package/README.md +3 -34
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -73,6 +73,9 @@ mda init my-agent
73
73
  the model, `--memory agent` opts into deployment-shared durable memory, and
74
74
  `--no-sandbox` leaves out the sandbox. Every new project includes an
75
75
  `identity.ts` that explicitly selects `auth.langsmithApiKey()` authentication.
76
+ Managed Deep Agent evals are Harbor tasks under `evals/tasks/`. Optionally create
77
+ a minimal source task under `evals/scaffold/` with `mda evals init <name>`, then
78
+ package the managed agent and scaffolded tasks with `mda evals compile`.
76
79
 
77
80
  `mda init my-agent --gateway` runs the agent on
78
81
  [LangSmith Gateway](https://docs.langchain.com/langsmith/gateway) — a model
@@ -80,40 +83,6 @@ LangSmith hosts, billed to your workspace's Gateway Credits, authenticated with
80
83
  a LangSmith API key instead of a model provider key of your own. It is mutually
81
84
  exclusive with `--model`, which names a provider you hold the key for.
82
85
 
83
- ## Evaluate
84
-
85
- Managed Deep Agent evals run in Harbor. Install `uv` and Docker before running
86
- them.
87
-
88
- 1. From the project root, initialize the eval workspace:
89
-
90
- ```bash
91
- mda evals init -i
92
- ```
93
-
94
- 2. Follow the coding-agent prompt to author tasks directly under
95
- `evals/<task>/`. The CLI creates the user-owned `evals/harbor-job.json` once
96
- and preserves later edits. `.mda/evals/` is generated.
97
- A task may include an authored `evals/<task>/identity.json` fixture. It
98
- requires a non-empty `user.id`; `user.kind`, `user.email`, and top-level
99
- `groups`, `claims`, and `source.provider` are optional. Keep it with the
100
- task, not in generated `.mda/evals/`.
101
- 3. Export `LANGSMITH_API_KEY`, `LANGSMITH_WORKSPACE_ID` when your credentials
102
- require it, and the model or tool credential variables used by the agent.
103
- 4. From the same project root, run the pinned Harbor 0.21.0 command included at
104
- the end of the coding-agent prompt. The command loads `MDAJobPlugin` and
105
- `LangSmithPlugin`. It uses POSIX syntax on macOS/Linux and PowerShell on
106
- native Windows.
107
- 5. From the same project root, inspect results:
108
-
109
- ```bash
110
- uv run --python 3.12 --with 'harbor[langsmith]==0.21.0' harbor view .mda/evals/jobs
111
- ```
112
-
113
- `MDAJobPlugin` compiles a fresh eval artifact at every Harbor job start.
114
- This POC keeps MDA's custom Harbor adapter; migration to Harbor's built-in
115
- LangGraph agent is deferred.
116
-
117
86
  ## Define an Agent
118
87
 
119
88
  Create an `agent.ts` that exports a named `agent` definition:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "managed-deepagents",
3
- "version": "0.5.4-dev.13",
3
+ "version": "0.5.4-dev.14",
4
4
  "description": "Managed Deep Agents — the `defineDeepAgent` authoring interface plus the CLI that compiles and deploys a code-first Deep Agent repository to a managed LangGraph runtime.",
5
5
  "keywords": [
6
6
  "langchain",
@@ -65,12 +65,12 @@
65
65
  "zod": "^4.4.3"
66
66
  },
67
67
  "optionalDependencies": {
68
- "@langchain/managed-deepagents-darwin-arm64": "0.5.4-dev.13",
69
- "@langchain/managed-deepagents-darwin-x64": "0.5.4-dev.13",
70
- "@langchain/managed-deepagents-linux-arm64": "0.5.4-dev.13",
71
- "@langchain/managed-deepagents-linux-x64": "0.5.4-dev.13",
72
- "@langchain/managed-deepagents-win32-arm64": "0.5.4-dev.13",
73
- "@langchain/managed-deepagents-win32-x64": "0.5.4-dev.13"
68
+ "@langchain/managed-deepagents-darwin-arm64": "0.5.4-dev.14",
69
+ "@langchain/managed-deepagents-darwin-x64": "0.5.4-dev.14",
70
+ "@langchain/managed-deepagents-linux-arm64": "0.5.4-dev.14",
71
+ "@langchain/managed-deepagents-linux-x64": "0.5.4-dev.14",
72
+ "@langchain/managed-deepagents-win32-arm64": "0.5.4-dev.14",
73
+ "@langchain/managed-deepagents-win32-x64": "0.5.4-dev.14"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/node": "^26.1.1",