agentsystems-sdk 0.2.32__py3-none-any.whl → 0.3.1__py3-none-any.whl
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.
- agentsystems_sdk/commands/init.py +3 -35
- agentsystems_sdk/commands/up.py +1 -1
- agentsystems_sdk/deployments_scaffold/compose/local/docker-compose.yml +1 -1
- agentsystems_sdk/utils.py +1 -1
- {agentsystems_sdk-0.2.32.dist-info → agentsystems_sdk-0.3.1.dist-info}/METADATA +31 -18
- {agentsystems_sdk-0.2.32.dist-info → agentsystems_sdk-0.3.1.dist-info}/RECORD +11 -11
- {agentsystems_sdk-0.2.32.dist-info → agentsystems_sdk-0.3.1.dist-info}/WHEEL +0 -0
- {agentsystems_sdk-0.2.32.dist-info → agentsystems_sdk-0.3.1.dist-info}/entry_points.txt +0 -0
- {agentsystems_sdk-0.2.32.dist-info → agentsystems_sdk-0.3.1.dist-info}/licenses/LICENSE +0 -0
- {agentsystems_sdk-0.2.32.dist-info → agentsystems_sdk-0.3.1.dist-info}/licenses/NOTICE +0 -0
- {agentsystems_sdk-0.2.32.dist-info → agentsystems_sdk-0.3.1.dist-info}/top_level.txt +0 -0
@@ -23,7 +23,6 @@ from dotenv import set_key
|
|
23
23
|
|
24
24
|
from ..utils import (
|
25
25
|
ensure_docker_installed,
|
26
|
-
docker_login_if_needed,
|
27
26
|
run_command,
|
28
27
|
get_required_images,
|
29
28
|
)
|
@@ -40,12 +39,6 @@ def init_command(
|
|
40
39
|
writable=True,
|
41
40
|
resolve_path=True,
|
42
41
|
),
|
43
|
-
docker_token: Optional[str] = typer.Option(
|
44
|
-
None,
|
45
|
-
"--docker-token",
|
46
|
-
envvar="DOCKER_OAT",
|
47
|
-
help="Docker Hub Org Access Token for private images",
|
48
|
-
),
|
49
42
|
) -> None:
|
50
43
|
"""Initialize a new AgentSystems deployment from the built-in template.
|
51
44
|
|
@@ -111,16 +104,6 @@ def init_command(
|
|
111
104
|
pub_key = f"pk-lf-{uuid.uuid4()}"
|
112
105
|
secret_key = f"sk-lf-{uuid.uuid4()}"
|
113
106
|
|
114
|
-
if docker_token is None and sys.stdin.isatty():
|
115
|
-
docker_token = (
|
116
|
-
typer.prompt(
|
117
|
-
"Docker org access token (leave blank if images are public)",
|
118
|
-
default="",
|
119
|
-
hide_input=True,
|
120
|
-
)
|
121
|
-
or None
|
122
|
-
)
|
123
|
-
|
124
107
|
# Get the path to the scaffold directory
|
125
108
|
import os
|
126
109
|
|
@@ -199,16 +182,6 @@ def init_command(
|
|
199
182
|
ensure_docker_installed()
|
200
183
|
progress.update(docker_task, completed=1)
|
201
184
|
|
202
|
-
# Docker login if token provided
|
203
|
-
if docker_token:
|
204
|
-
login_task = progress.add_task("Logging into Docker Hub", total=1)
|
205
|
-
progress.stop() # Stop progress display temporarily
|
206
|
-
try:
|
207
|
-
docker_login_if_needed(docker_token)
|
208
|
-
finally:
|
209
|
-
progress.start() # Always restart progress
|
210
|
-
progress.update(login_task, completed=1)
|
211
|
-
|
212
185
|
# Pull required images
|
213
186
|
required_images = get_required_images()
|
214
187
|
|
@@ -225,14 +198,9 @@ def init_command(
|
|
225
198
|
try:
|
226
199
|
run_command(["docker", "pull", img])
|
227
200
|
except typer.Exit:
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
)
|
232
|
-
docker_login_if_needed(docker_token)
|
233
|
-
run_command(["docker", "pull", img])
|
234
|
-
else:
|
235
|
-
raise
|
201
|
+
# Image pull failed - control-plane is public on ghcr.io
|
202
|
+
# This shouldn't happen unless there's a network issue
|
203
|
+
raise
|
236
204
|
finally:
|
237
205
|
progress.start() # Always restart progress
|
238
206
|
progress.advance(pull_task)
|
agentsystems_sdk/commands/up.py
CHANGED
@@ -275,7 +275,7 @@ def setup_agents_from_config(
|
|
275
275
|
# ----- Artifact volume mounts & env vars --------------------------
|
276
276
|
# Mount full artifacts volume – agent manages its own subdirectories
|
277
277
|
# Artifact permissions are enforced at the application level via agentsystems-config.yml
|
278
|
-
cmd.extend(["--volume", "
|
278
|
+
cmd.extend(["--volume", "agentsystems_agentsystems-artifacts:/artifacts"])
|
279
279
|
|
280
280
|
# gateway proxy env
|
281
281
|
cmd.extend(
|
agentsystems_sdk/utils.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: agentsystems-sdk
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.3.1
|
4
4
|
Summary: AgentSystems Python SDK and CLI
|
5
5
|
Author-email: AgentSystems <support@agentsystems.ai>
|
6
6
|
License-Expression: Apache-2.0
|
@@ -28,13 +28,26 @@ The AgentSystems **SDK** is a single-install Python package that provides severa
|
|
28
28
|
The CLI is designed to work **both interactively** (laptops) and **non-interactively** (CI, cloud VMs).
|
29
29
|
|
30
30
|
|
31
|
-
## Quick install
|
31
|
+
## Quick install
|
32
|
+
|
33
|
+
### Automatic installation (Recommended)
|
34
|
+
|
35
|
+
```bash
|
36
|
+
# Linux & macOS - installs Docker, pipx, and the SDK
|
37
|
+
curl -fsSL https://raw.githubusercontent.com/agentsystems/agentsystems/main/install.sh | sh
|
38
|
+
```
|
39
|
+
|
40
|
+
### Manual installation
|
32
41
|
|
33
42
|
```bash
|
34
|
-
|
35
|
-
|
43
|
+
# Install pipx if you don't have it
|
44
|
+
python3 -m pip install --upgrade pipx
|
45
|
+
pipx ensurepath
|
36
46
|
|
37
|
-
#
|
47
|
+
# Install the SDK
|
48
|
+
pipx install agentsystems-sdk
|
49
|
+
|
50
|
+
# Verify installation
|
38
51
|
agentsystems --version
|
39
52
|
```
|
40
53
|
|
@@ -68,7 +81,7 @@ All commands are available through `agentsystems` (or the shorter alias `agntsys
|
|
68
81
|
|
69
82
|
| Command | Description |
|
70
83
|
|---------|-------------|
|
71
|
-
| `agentsystems init [TARGET_DIR]` | Interactive bootstrap: prompts for Langfuse organization & admin details, generates secure keys, creates `.env` automatically, then copies the built-in deployment template and pulls the required Docker images into `TARGET_DIR`. |
|
84
|
+
| `agentsystems init [TARGET_DIR]` | Interactive bootstrap: prompts for Langfuse organization & admin details, generates secure keys, creates `.env` automatically, then copies the built-in deployment template and pulls the required Docker images into `TARGET_DIR`. No Docker authentication required - uses public images. |
|
72
85
|
| `agentsystems up [PROJECT_DIR]` | Start the platform **plus Langfuse tracing stack** (`docker compose up`). **Waits for the gateway _and all agent containers_ to become _healthy_ by default (spinner)**. Pass `--no-wait` to skip readiness wait or `--no-langfuse` to disable tracing. Uses the `.env` generated by `init` (or pass `--env-file PATH`). |
|
73
86
|
| `agentsystems down [PROJECT_DIR]` | Stop containers. Volumes are preserved by default; add `--delete-volumes` (or `--delete-all`) to wipe data. |
|
74
87
|
| `agentsystems logs [PROJECT_DIR]` | Stream or view recent logs (`docker compose logs`). |
|
@@ -86,9 +99,8 @@ All commands are available through `agentsystems` (or the shorter alias `agntsys
|
|
86
99
|
--fresh docker compose down -v before starting
|
87
100
|
--env-file PATH Pass a custom .env file to Compose
|
88
101
|
--wait / --no-wait Wait for gateway readiness (default: --wait)
|
89
|
-
--docker-token TEXT Docker Hub Org Access Token (env `DOCKER_OAT`)
|
90
|
-
--no-login Skip Docker login even if token env is set
|
91
102
|
--no-langfuse Skip the Langfuse tracing stack (core services only)
|
103
|
+
--agents MODE Agent startup mode: none, create, or all (default: create)
|
92
104
|
```
|
93
105
|
|
94
106
|
Run `agentsystems up --help` for the authoritative list.
|
@@ -217,28 +229,29 @@ See the [agent-template](https://github.com/agentsystems/agent-template) for a c
|
|
217
229
|
|
218
230
|
---
|
219
231
|
|
220
|
-
### `init`
|
232
|
+
### `init` details
|
221
233
|
|
222
|
-
|
223
|
-
|
224
|
-
|
234
|
+
The init command:
|
235
|
+
1. Prompts for Langfuse organization and admin credentials (interactive mode)
|
236
|
+
2. Generates secure keys automatically
|
237
|
+
3. Creates `.env` file with all configuration
|
238
|
+
4. Pulls required Docker images from public registries (no authentication needed)
|
225
239
|
|
226
|
-
|
240
|
+
The core platform images are publicly available on GitHub Container Registry:
|
241
|
+
- `ghcr.io/agentsystems/agent-control-plane:latest`
|
227
242
|
|
228
243
|
### Example: interactive laptop
|
229
244
|
|
230
245
|
```bash
|
231
246
|
agentsystems init
|
232
|
-
# prompts for directory and
|
247
|
+
# prompts for directory and Langfuse setup
|
233
248
|
```
|
234
249
|
|
235
250
|
### Example: scripted cloud VM / CI
|
236
251
|
|
237
252
|
```bash
|
238
|
-
|
239
|
-
|
240
|
-
agentsystems init /opt/agentsystems/engine \
|
241
|
-
--docker-token "$DOCKER_OAT"
|
253
|
+
agentsystems init /opt/agentsystems/engine
|
254
|
+
# Non-interactive mode - uses defaults for Langfuse
|
242
255
|
```
|
243
256
|
|
244
257
|
---
|
@@ -2,17 +2,17 @@ agentsystems_sdk/__init__.py,sha256=e0cW9_DFgYAM8oTyOXL_FyuqF_PELxPGLKTayhp4PqA,
|
|
2
2
|
agentsystems_sdk/cli.py,sha256=rfHvkBI3Y6QSz8vFmxAyLT0hk1DnXBpXsKhqJ2sFpeg,2310
|
3
3
|
agentsystems_sdk/config.py,sha256=-rlUtexDEg_PuEjM4x_kCMLnb5zvKkTNdKs1PbH-7ck,6659
|
4
4
|
agentsystems_sdk/progress_tracker.py,sha256=34zW26QPlCGORkOYOK0cqbYIGvl5ga4Jp9cTN4Ar0RU,4082
|
5
|
-
agentsystems_sdk/utils.py,sha256=
|
5
|
+
agentsystems_sdk/utils.py,sha256=8971J2BzjeEGfmewU_iX8TUg2_3Umd4MmfrM_QdfHgQ,9156
|
6
6
|
agentsystems_sdk/commands/__init__.py,sha256=b_lONb7CywM_wCBBYYrTCFi8kvxFc8M6j5IWc2Mg0kg,542
|
7
7
|
agentsystems_sdk/commands/artifacts.py,sha256=KTOEu0Cg9aeFEaNfOUW-lSJM7dewOC9KJYtyw8vESM4,1113
|
8
8
|
agentsystems_sdk/commands/clean.py,sha256=-wyy7CleRmEew3SUlff0iYsCMLsj_JcwhlpqgQYhZZk,1942
|
9
9
|
agentsystems_sdk/commands/down.py,sha256=z8VHzLfrxiVeedR9fl4CSjNPKuZ_0_R2vKI46rhEVRw,3318
|
10
|
-
agentsystems_sdk/commands/init.py,sha256=
|
10
|
+
agentsystems_sdk/commands/init.py,sha256=FGjXcI3IZ6arp2y3HBvn5JGNn9e_z15khZcnZmFwFZY,7180
|
11
11
|
agentsystems_sdk/commands/logs.py,sha256=2BpoXuQr_Vq_ou7oj1x-oYC552enWZiuKqoOEJOXDd4,1225
|
12
12
|
agentsystems_sdk/commands/restart.py,sha256=-UBZyHMfyQeG2pl-Mtff3cM6ziUvHrJVgqKl7sVWD0o,1923
|
13
13
|
agentsystems_sdk/commands/run.py,sha256=3ptW48sq4APvY05AvCmBTdqcRfS3puERiFuInE2ddJ4,5440
|
14
14
|
agentsystems_sdk/commands/status.py,sha256=C-9-eLG_gbDB4T69g4B3QjT41ASOZWjbEZydn2kcXM4,876
|
15
|
-
agentsystems_sdk/commands/up.py,sha256=
|
15
|
+
agentsystems_sdk/commands/up.py,sha256=dy0a58DubwznbongbjYRMXUUZdVHvIzkmjW68fXMwPY,16702
|
16
16
|
agentsystems_sdk/deployments_scaffold/.env.example,sha256=RBRZicUDHCnpozFMgT__IceUV69B7WNLUXHElkcXCD8,634
|
17
17
|
agentsystems_sdk/deployments_scaffold/CONTRIBUTING.md,sha256=UgQ-CETCvOiMRszSxPBQURWJkAuAj-KwO42V7csQe1I,1145
|
18
18
|
agentsystems_sdk/deployments_scaffold/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
@@ -22,16 +22,16 @@ agentsystems_sdk/deployments_scaffold/README.md,sha256=RWgvaBnfnTTq3521yBTyWgy-T
|
|
22
22
|
agentsystems_sdk/deployments_scaffold/agentsystems-config.yml,sha256=U3W1y-6Mqc_A2mmcStITd3IRNOqMIhmMyFBo_C_VLVM,2125
|
23
23
|
agentsystems_sdk/deployments_scaffold/requirements-dev.txt,sha256=6jW_q7PKw7DDxV1DhSONOdVIjesz5jaQgmhFa82qDYg,64
|
24
24
|
agentsystems_sdk/deployments_scaffold/compose/langfuse/docker-compose.yml,sha256=Q8n3vBBfrbWRVeVhsnVdHIdrGpHWUUbI-_ZD4f6tMRs,4871
|
25
|
-
agentsystems_sdk/deployments_scaffold/compose/local/docker-compose.yml,sha256=
|
25
|
+
agentsystems_sdk/deployments_scaffold/compose/local/docker-compose.yml,sha256=jYDQNDrgavxucUU2mupUqDpYoK10yUI7-CfDjPUUldw,1688
|
26
26
|
agentsystems_sdk/deployments_scaffold/compose/local/init-artifacts-volume.sh,sha256=zyDyuV-VtbXjA6Dybk2G6DOAgpKF0uKQnCYQ2NzATgc,1535
|
27
27
|
agentsystems_sdk/deployments_scaffold/compose/local/db-backup/Dockerfile,sha256=SE1sS60cXGKGovQxWTLfzRk5HR-mYCO7_Y3IIN-96U4,305
|
28
28
|
agentsystems_sdk/deployments_scaffold/compose/local/db-backup/entrypoint.sh,sha256=7as7UNRCR5ziTOUWJGHtPgCb70oNLImWmGJsgTy0t-A,2462
|
29
29
|
agentsystems_sdk/deployments_scaffold/compose/local/postgres-init/audit.sql,sha256=96812AZ2Tm57rmIi5de2nsAwxnn_AkJmavJgBn_MKKE,1796
|
30
30
|
agentsystems_sdk/deployments_scaffold/schema/agentsystems-config.schema.json,sha256=fhZfE_fVSbv0vYvh9JT5EZC2XYjp9v54cP0UK6hH18A,1374
|
31
|
-
agentsystems_sdk-0.
|
32
|
-
agentsystems_sdk-0.
|
33
|
-
agentsystems_sdk-0.
|
34
|
-
agentsystems_sdk-0.
|
35
|
-
agentsystems_sdk-0.
|
36
|
-
agentsystems_sdk-0.
|
37
|
-
agentsystems_sdk-0.
|
31
|
+
agentsystems_sdk-0.3.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
32
|
+
agentsystems_sdk-0.3.1.dist-info/licenses/NOTICE,sha256=SGMFwyEoZ6NG19ZrdvwYt43lig12rEl5z8XvWMGej6c,918
|
33
|
+
agentsystems_sdk-0.3.1.dist-info/METADATA,sha256=sLwwXXsMO6CgUp8pZBhQY0CM9o37NFNJePLcFdAoOF4,11687
|
34
|
+
agentsystems_sdk-0.3.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
35
|
+
agentsystems_sdk-0.3.1.dist-info/entry_points.txt,sha256=0lejF8v40DAB0D2612UWLLA3e1Ux8TyyLU6yJc0vQkQ,93
|
36
|
+
agentsystems_sdk-0.3.1.dist-info/top_level.txt,sha256=nkHK6IHAO6-yoZJukUr0CruzkP8weBKraPnsj2FmDV8,17
|
37
|
+
agentsystems_sdk-0.3.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|