@aws/agentcore 0.3.0-preview.6.0 → 0.3.0-preview.7.0
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 +30 -13
- package/dist/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap +1 -0
- package/dist/assets/cdk/test/cdk.test.ts +1 -0
- package/dist/cli/index.mjs +648 -346
- package/dist/schema/schemas/agentcore-project.d.ts +19 -0
- package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
- package/dist/schema/schemas/agentcore-project.js +12 -1
- package/dist/schema/schemas/agentcore-project.js.map +1 -1
- package/dist/schema/schemas/deployed-state.d.ts +65 -12
- package/dist/schema/schemas/deployed-state.d.ts.map +1 -1
- package/dist/schema/schemas/deployed-state.js +21 -3
- package/dist/schema/schemas/deployed-state.js.map +1 -1
- package/dist/schema/schemas/mcp.d.ts +42 -12
- package/dist/schema/schemas/mcp.d.ts.map +1 -1
- package/dist/schema/schemas/mcp.js +37 -5
- package/dist/schema/schemas/mcp.js.map +1 -1
- package/dist/schema/schemas/primitives/index.d.ts +2 -0
- package/dist/schema/schemas/primitives/index.d.ts.map +1 -1
- package/dist/schema/schemas/primitives/index.js +7 -1
- package/dist/schema/schemas/primitives/index.js.map +1 -1
- package/dist/schema/schemas/primitives/policy.d.ts +48 -0
- package/dist/schema/schemas/primitives/policy.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/policy.js +60 -0
- package/dist/schema/schemas/primitives/policy.js.map +1 -0
- package/package.json +12 -5
- package/scripts/check-old-cli.lib.mjs +104 -0
- package/scripts/check-old-cli.mjs +7 -22
- package/scripts/start-tui-harness.sh +90 -0
package/README.md
CHANGED
|
@@ -17,17 +17,21 @@ AgentCore with minimal configuration.
|
|
|
17
17
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
npm install
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
> **Public Preview**: If you previously used the
|
|
25
|
-
> [Bedrock AgentCore Starter Toolkit](https://github.com/aws/bedrock-agentcore-starter-toolkit), uninstall it before
|
|
26
|
-
> using this CLI:
|
|
20
|
+
> **Upgrading from the Bedrock AgentCore Starter Toolkit?** The old Python CLI conflicts with this package. If it is
|
|
21
|
+
> still installed, `npm install` will fail with an error telling you which package manager has it. Uninstall it first
|
|
22
|
+
> using whichever tool you originally used:
|
|
27
23
|
>
|
|
28
24
|
> ```bash
|
|
29
|
-
> pip uninstall bedrock-agentcore-starter-toolkit
|
|
25
|
+
> pip uninstall bedrock-agentcore-starter-toolkit # if installed via pip
|
|
26
|
+
> pipx uninstall bedrock-agentcore-starter-toolkit # if installed via pipx
|
|
27
|
+
> uv tool uninstall bedrock-agentcore-starter-toolkit # if installed via uv
|
|
30
28
|
> ```
|
|
29
|
+
>
|
|
30
|
+
> If you need to bypass the check (for example, in CI), set `AGENTCORE_SKIP_CONFLICT_CHECK=1` before installing.
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm install -g @aws/agentcore
|
|
34
|
+
```
|
|
31
35
|
|
|
32
36
|
## Quick Start
|
|
33
37
|
|
|
@@ -83,13 +87,24 @@ agentcore invoke
|
|
|
83
87
|
|
|
84
88
|
### Resource Management
|
|
85
89
|
|
|
86
|
-
| Command | Description
|
|
87
|
-
| -------- |
|
|
88
|
-
| `add` | Add agents, memory, identity, targets |
|
|
89
|
-
| `remove` | Remove resources from project
|
|
90
|
+
| Command | Description |
|
|
91
|
+
| -------- | ------------------------------------------------- |
|
|
92
|
+
| `add` | Add agents, memory, identity, evaluators, targets |
|
|
93
|
+
| `remove` | Remove resources from project |
|
|
90
94
|
|
|
91
95
|
> **Note**: Run `agentcore deploy` after `add` or `remove` to update resources in AWS.
|
|
92
96
|
|
|
97
|
+
### Evaluations
|
|
98
|
+
|
|
99
|
+
| Command | Description |
|
|
100
|
+
| -------------------- | --------------------------------------------- |
|
|
101
|
+
| `add evaluator` | Add a custom LLM-as-a-Judge evaluator |
|
|
102
|
+
| `add online-eval` | Add continuous evaluation for live traffic |
|
|
103
|
+
| `run evals` | Run on-demand evaluation against agent traces |
|
|
104
|
+
| `evals history` | View past eval run results |
|
|
105
|
+
| `pause online-eval` | Pause a deployed online eval config |
|
|
106
|
+
| `resume online-eval` | Resume a paused online eval config |
|
|
107
|
+
|
|
93
108
|
## Project Structure
|
|
94
109
|
|
|
95
110
|
```
|
|
@@ -116,7 +131,7 @@ my-project/
|
|
|
116
131
|
|
|
117
132
|
Projects use JSON schema files in the `agentcore/` directory:
|
|
118
133
|
|
|
119
|
-
- `agentcore.json` - Agent specifications, memory, identity,
|
|
134
|
+
- `agentcore.json` - Agent specifications, memory, identity, evaluators, online evals
|
|
120
135
|
- `deployed-state.json` - Runtime state in agentcore/.cli/ (auto-managed)
|
|
121
136
|
- `aws-targets.json` - Deployment targets (account, region)
|
|
122
137
|
|
|
@@ -125,11 +140,13 @@ Projects use JSON schema files in the `agentcore/` directory:
|
|
|
125
140
|
- **Runtime** - Managed execution environment for deployed agents
|
|
126
141
|
- **Memory** - Semantic, summarization, and user preference strategies
|
|
127
142
|
- **Identity** - Secure API key management via Secrets Manager
|
|
143
|
+
- **Evaluations** - LLM-as-a-Judge for on-demand and continuous agent quality monitoring
|
|
128
144
|
|
|
129
145
|
## Documentation
|
|
130
146
|
|
|
131
147
|
- [CLI Commands Reference](docs/commands.md) - Full command reference for scripting and CI/CD
|
|
132
148
|
- [Configuration](docs/configuration.md) - Schema reference for config files
|
|
149
|
+
- [Evaluations](docs/evals.md) - Evaluators, on-demand evals, and online monitoring
|
|
133
150
|
- [Frameworks](docs/frameworks.md) - Supported frameworks and model providers
|
|
134
151
|
- [Gateway](docs/gateway.md) - Gateway setup, targets, and authentication
|
|
135
152
|
- [Memory](docs/memory.md) - Memory strategies and sharing
|