commandagi 0.6.6__tar.gz → 0.6.8__tar.gz
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.
- {commandagi-0.6.6 → commandagi-0.6.8}/CHANGELOG.md +122 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/PKG-INFO +11 -5
- {commandagi-0.6.6 → commandagi-0.6.8}/README.md +10 -4
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/__init__.py +1 -1
- commandagi-0.6.8/commandagi/_generated.py +954 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/__init__.py +1 -1
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/business.py +3 -2
- commandagi-0.6.8/commandagi/design/evals.py +228 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/monitors.py +109 -17
- commandagi-0.6.8/commandagi/design/mounts.py +106 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/pcb.py +39 -11
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/records.py +6 -3
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/schema.py +9 -0
- commandagi-0.6.8/commandagi/design/standards_data.py +14 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/study.py +4 -4
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/systems.py +9 -5
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/threed.py +10 -6
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/threed_elements.py +50 -10
- commandagi-0.6.8/commandagi/design/threed_schema.py +4 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/twod.py +8 -3
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/kernel.py +3 -3
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi-sdk.schema.json +113 -1
- commandagi-0.6.8/tests/test_evals.py +97 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_logistics.py +16 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_monitors.py +55 -6
- commandagi-0.6.8/tests/test_mounts.py +65 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_pcb.py +15 -2
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_records.py +7 -4
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_study.py +5 -2
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_systems.py +10 -2
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_threed.py +54 -2
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_twod.py +15 -1
- commandagi-0.6.6/commandagi/_generated.py +0 -916
- commandagi-0.6.6/commandagi/design/standards_data.py +0 -14
- commandagi-0.6.6/commandagi/design/threed_schema.py +0 -4
- {commandagi-0.6.6 → commandagi-0.6.8}/.gitignore +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/LICENSE +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/client.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/agents.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/cad.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/cadquery.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/circuit_checks.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/documents.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/eda.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/element.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/fab.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/firmware.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/flows.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/graph.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/ir.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/media.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/office.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/ontology.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/part_fields.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/pdf.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/postal.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/schematic.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/solids.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/source.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/standards.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/tasks.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/testplans.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/tolerances.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/tsx.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/twod_schema.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/design/workbook_schema.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/gym_env.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/commandagi/lerobot.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/examples/drive_a_sim.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/pyproject.toml +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_agents.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_business.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_design.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_fab.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_flows.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_kernel.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_media.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_office.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_ontology.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_pdf.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_postal.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_schematic.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_sdk.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_source.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_standards.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_tasks.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_testplans.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_tolerances.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/tests/test_tsx.py +0 -0
- {commandagi-0.6.6 → commandagi-0.6.8}/uv.lock +0 -0
|
@@ -4,6 +4,128 @@ One entry for each release. A release is the tag `v<version>` in this repository
|
|
|
4
4
|
TypeScript and Rust SDKs carry the same version number. A version promises nothing about the next one (README
|
|
5
5
|
§ Versions): read this file before you change the version you pin.
|
|
6
6
|
|
|
7
|
+
## 0.6.8 (2026-10-23)
|
|
8
|
+
|
|
9
|
+
Added
|
|
10
|
+
|
|
11
|
+
- `commandagi.design.monitors`: `discover(of=..., into=..., when=..., slug=..., class_=..., props=..., name=..., max=...)`,
|
|
12
|
+
a monitor's part that gives each thing its records name a folder and a thread of its own; a monitor's `same_as`, a
|
|
13
|
+
source's `vantage` and a follow's `where`. A monitor's document always has `discovers`. The same as the TypeScript
|
|
14
|
+
SDK's `<discover>`, `sameAs`, `vantage` and `where`.
|
|
15
|
+
- `commandagi.design.twod`: `engrave(id=..., src="logo.png", x_mm=..., y_mm=..., width_mm=..., height_mm=..., dpi=...,
|
|
16
|
+
dither="ordered")` in a `nest(...)`, an image burned on the first sheet. The same as the TypeScript SDK's
|
|
17
|
+
`<engrave>`.
|
|
18
|
+
- `commandagi.design.threed`: `curve(tangents=[{"at": 1, "direction": [...]}], tangent_scale=...)`, a spline's
|
|
19
|
+
direction at an inner point (the spline is C1 there) and how hard every given tangent holds (1 is the natural
|
|
20
|
+
spline). `pathPattern(path={"curve": ...})` places its copies along a curve in space, and `align_to_path` turns each
|
|
21
|
+
by the curve's rotation-minimizing frame. A sweep's `twist` now turns the profile on top of the Frenet and up frames
|
|
22
|
+
too.
|
|
23
|
+
- `commandagi.design.threed`: `product(id=, name=, part_number=, compliance=, shipping=)`, the product as it is sold
|
|
24
|
+
(its certifications, tariff heading, packed size and mass; the document's `products`); `make.stock` (the stock a
|
|
25
|
+
made part uses, bought by its own offers); a process chemical's `shutoff`. The same as the TypeScript SDK's
|
|
26
|
+
`<product>`.
|
|
27
|
+
- `commandagi.design.evals` (`commandagi::design::evals`): an eval and a metric in code, `<eval>` with `<case>`
|
|
28
|
+
children and `<metric>`, the same documents as the TypeScript SDK's `evals.ts`. A case names its task file (`task`,
|
|
29
|
+
a ref) or says its `instruction`; `metrics` and `acceptanceMetric` are refs; `frozen` is the digest the eval is
|
|
30
|
+
frozen at. In Python the elements are `eval(...)`, `case(...)` and `metric(...)` (importing `eval` hides the builtin
|
|
31
|
+
in that file), and a metric's `pass` is written `pass_`.
|
|
32
|
+
- `commandagi.design.pcb`: `group(side="any")` lets the placer turn each part over where that costs less, and
|
|
33
|
+
`group(edge=…, mating=…)` holds the group's parts against a board edge (`"left"`, `"right"`, `"top"`, `"bottom"`),
|
|
34
|
+
their `mating` side (in the footprint's own frame) out; `mating` needs `edge`.
|
|
35
|
+
- `commandagi.design.pcb`: `component(ref_at=[x, y])`, where the part's reference text sits (mm, in the footprint's
|
|
36
|
+
own frame); the layout moves each reference off copper and off the others and writes it here.
|
|
37
|
+
- `commandagi.design.pcb`: `bus(name, nets, pitch)`, nets that run together: where their tracks run side by side they
|
|
38
|
+
are parallel, `pitch` (mm) apart centre to centre. The same element as the TypeScript SDK's `<bus>` and the Rust
|
|
39
|
+
SDK's `bus()`.
|
|
40
|
+
- `commandagi.design.threed`: `fastener(corner=...)`, the direction from the axis to a corner of each hexagon of the
|
|
41
|
+
stack (a hexagon head, a nut). Absent, it is the model's X (its Y when the axis is within 26° of X). An assembly that
|
|
42
|
+
places the file turns it with the placement, so one assembly placed at two turns is one STEP product.
|
|
43
|
+
- The materials data has the fastener grades `A2-70`, `A4-70`, `8.8` and `12.9` (each row's source says where its
|
|
44
|
+
numbers were read): a screw whose stack names one of them has a mass.
|
|
45
|
+
|
|
46
|
+
Changed (a document written for 0.6.7 may need an edit)
|
|
47
|
+
|
|
48
|
+
- `commandagi.design.evals`: an eval's `objective` and its `scoring` weights name metric files by ref, as `metrics`
|
|
49
|
+
does: `objective={"kind": "metric", "metric": "Lap time.metric.tsx"}`, a linear term's `metric`, and weights keyed
|
|
50
|
+
by ref. An objective that names a metric by node id (`metricId`) is refused with why. The same as the TypeScript
|
|
51
|
+
SDK's.
|
|
52
|
+
|
|
53
|
+
Fixed
|
|
54
|
+
|
|
55
|
+
- The T-slot sections have the maker's 45° web again: `cavity_floor_width` is 5.88 (5 Series) and 9.17 (HFS6-3030).
|
|
56
|
+
0.6.6 had it, but 0.6.7's standards data was generated from tables that never took the fix (5.6 and 8.5), so
|
|
57
|
+
HFS5-2080's ix was 5.04 % over MISUMI's again. The repository's tables now hold it: each section's area, ix, iy and
|
|
58
|
+
mass are within 3.1 % of MISUMI's, and the repository's test holds 5 %.
|
|
59
|
+
|
|
60
|
+
## 0.6.7 (2026-10-23)
|
|
61
|
+
|
|
62
|
+
Added
|
|
63
|
+
|
|
64
|
+
- `commandagi.design.threed`: `curve(...)`, a curve in space (`kind` `"spline"` through `points` with optional
|
|
65
|
+
`start_tangent` and `end_tangent`, `"polyline"` with `bend_radius`, `"helix"`), and `sweep(...)` along it
|
|
66
|
+
(`path={"curve": "lead"}`) with `frame` (`"minimal"`, `"frenet"`, `"up"` with `up`, `"guide"` with `guide`) and
|
|
67
|
+
`twist`. A curve is also the plane normal to it at its start, under its id (`plane={"type": "datum", "plane": "lead"}`).
|
|
68
|
+
A sweep that would cross itself fails by name (`self_intersection`). Needs a 3D service of this version.
|
|
69
|
+
|
|
70
|
+
- `commandagi.design.mounts`: a thread's mounted tasks as `mounts.py` in its run folder, `mounts(mount(label=…, …))`,
|
|
71
|
+
the same document as the TypeScript SDK's `mounts.tsx`. A mount names one task (`task`), or a list (`folder`,
|
|
72
|
+
`project`, or a query: `assignee`, `labels`, `status`); a mount that names both, or nothing, is refused.
|
|
73
|
+
|
|
74
|
+
- `cagi.tasks.mount`, `unmount` and `mounts`: mount a task (`task=…`), a task list (`folder=…`), a project
|
|
75
|
+
(`project=…`) or a query (`assignee="me", status=["todo"]`) to a thread. With no thread named, they act on the
|
|
76
|
+
thread the code runs in, and the agent is prompted with the open tasks until they are done.
|
|
77
|
+
- `commandagi.design.systems`: a device definition is a side of an interface (`side(kind="definition", channel=…,
|
|
78
|
+
params=…)`). `load(...)` takes `peak_current` and `peak_power`; `budget(quantity="power", peak=True)` counts each
|
|
79
|
+
load at its peak. `peak` on any other budget is refused.
|
|
80
|
+
|
|
81
|
+
Fixed
|
|
82
|
+
|
|
83
|
+
- 3D: each face of the view cube carries the name of its view (Front showed "Back"); a thread cuts its whole groove
|
|
84
|
+
(it removed half a turn); a hole of a sketch (a circle inside a rectangle) is a region of its own, so a profile can
|
|
85
|
+
extrude the disc alone. Needs a 3D service of this version.
|
|
86
|
+
- PCB: after Lay out, the board view shows the copper that the layout added, with no reload.
|
|
87
|
+
|
|
88
|
+
In the host (`@commandagi/host` 0.6.7)
|
|
89
|
+
|
|
90
|
+
- Agent CLIs as instances: a host runs each CLI (Claude Code, Codex, Gemini CLI) and every fork of one found along the
|
|
91
|
+
search path of the thread's folder (`agents/<folder>/agent.tsx`), each with its own model and a named sign-in.
|
|
92
|
+
`commandagi agents signin <name> --cli claude-code|codex|gemini-cli` runs the CLI's own login into a config folder of
|
|
93
|
+
its own; `--save-to-account` keeps the sign-in in your account, sealed, and `--from-account` brings it to another
|
|
94
|
+
computer. A sign-in at its limit gives its turn only to another provider, never to another sign-in of the same
|
|
95
|
+
provider. `agents.sandbox` (`os` or `off`) replaces `agents.approvals`; `agents.models` is gone (each instance has
|
|
96
|
+
its model).
|
|
97
|
+
- A thread with several agent members works a mounted task list in parallel: `commandagi agents start --mount <M>
|
|
98
|
+
--member <A> …`, `agents join|leave` and `agents tasks`. A claim is a compare-and-set write of the task file,
|
|
99
|
+
recorded first in the thread's `tasks` stream. Each task gets its own git worktree and branch, which the host never
|
|
100
|
+
merges. `agents.concurrency` bounds the turns of each sign-in; a dead claim is released. An agent may be a member of
|
|
101
|
+
several threads.
|
|
102
|
+
- The task loop on the host: the `mounts.tsx` (or `.py`, `.rs`) in a thread's run folder starts each agent turn with
|
|
103
|
+
the open mounted work, and a write of a mounted task wakes the loop.
|
|
104
|
+
- Site hosting: `commandagi sites deploy|list|logs|rollback|domains|env|build`. A push deploys each branch (the
|
|
105
|
+
production branch to `<slug>.commandagi.app`, any other branch to a preview). A framework site (Vite, Astro,
|
|
106
|
+
SvelteKit, Next static export, CRA) is built by `commandagi sites build` on a computer of the account.
|
|
107
|
+
- Interfaces: a device definition's channel is a side of an interface; the check holds the channel's fields (baud) to
|
|
108
|
+
the interface's parameters.
|
|
109
|
+
- Test plans: each step's `verifies` is read back, and a requirement that it names must name the step.
|
|
110
|
+
`commandagi testplan check|run|history|results`.
|
|
111
|
+
- Firmware rollouts refuse a rollback: a release below a unit's `minSecurityVersion` goes to no unit, and the wave
|
|
112
|
+
halts. `commandagi rollout check|start|advance|retry|rollback|status|close`.
|
|
113
|
+
- Budgets: a power budget with `peak` counts each load at its `peakCurrent` or `peakPower`; data and data-rate units
|
|
114
|
+
(`bit` … `TB`, `bit/s` … `GB/d`); the contributors of a cost budget are the roll-up's lines. A release refuses a
|
|
115
|
+
pinout or footprint check that names a part from memory.
|
|
116
|
+
|
|
117
|
+
On the platform
|
|
118
|
+
|
|
119
|
+
- A thread's mounted tasks: `GET|POST|DELETE /threads/:id/mounts` and the tools `mount_tasks`, `unmount_tasks` and
|
|
120
|
+
`list_mounts`. Each turn carries the open mounted work, and the thread continues with the next task until the work is
|
|
121
|
+
done, bounded by no-progress turns, its budget and its run state. A task is named by its drive and its id: an id
|
|
122
|
+
found in two other drives is refused (`409 ambiguous_task`) with each address.
|
|
123
|
+
- Agent sign-ins kept in the account (`agents signin --save-to-account`), sealed outside the Drive; a person's key only.
|
|
124
|
+
- Sites deploy from a push, with a preview for each branch, env for each target, rollback and deploy logs
|
|
125
|
+
(`deploy_site { fromFolder, target }`, `site_deploy_log`).
|
|
126
|
+
- An API key never mints a key or seats an agent wider than itself, and every Drive write (a git write too) needs the
|
|
127
|
+
key's edit scope.
|
|
128
|
+
|
|
7
129
|
## 0.6.6 (2026-10-22)
|
|
8
130
|
|
|
9
131
|
Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: commandagi
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.8
|
|
4
4
|
Summary: The CommandAGI SDK for Python — agent threads, memory and integrations, and live computers, robots and simulated worlds you watch and control.
|
|
5
5
|
Project-URL: Homepage, https://commandagi.com
|
|
6
6
|
Project-URL: Documentation, https://github.com/CommandAGI/commandagi-sdk-python/blob/main/README.md
|
|
@@ -69,13 +69,17 @@ TypeScript SDK's code file, which declares the same document.
|
|
|
69
69
|
This SDK, the TypeScript SDK (`npm i commandagi`) and the `commandagi` CLI all come from **one
|
|
70
70
|
schema**, `commandagi-sdk.schema.json`, so they can't drift apart:
|
|
71
71
|
|
|
72
|
-
- **Tools**: `cagi.threads`, `cagi.embodiments`, `cagi.memory`, `cagi.integrations`,
|
|
72
|
+
- **Tools**: `cagi.threads`, `cagi.embodiments`, `cagi.memory`, `cagi.tasks`, `cagi.integrations`,
|
|
73
73
|
`cagi.social(platform, account)`, `whoami`, `search`, `run` and `post`. Each one is a typed wrapper
|
|
74
74
|
over `call(tool, args)`. Options are passed as keyword arguments, e.g. `snapshot_id=…`, and sent
|
|
75
75
|
over the wire as camelCase (`snapshotId`). Where the schema names the options, they are typed
|
|
76
76
|
keyword-only arguments: `cagi.postal.send("Letters/Ada.letter.tsx", provider="click2mail")` (the
|
|
77
77
|
provider is `"lob"`, the default, or `"click2mail"`, US only; omitted, the account's
|
|
78
78
|
`postal.providers` order picks it).
|
|
79
|
+
- **Task mounts**: `cagi.tasks.mount(folder="projects/bracket")` mounts a task list to the thread the
|
|
80
|
+
code runs in, and the agent is prompted with its open tasks until they are done. Mount one task
|
|
81
|
+
(`task=…`), a project (`project=…`) or a query (`assignee="me", status=["todo"]`);
|
|
82
|
+
`cagi.tasks.mounts()` lists them and `cagi.tasks.unmount(label)` removes one.
|
|
79
83
|
- **Control vocabularies** on a live `Session`:
|
|
80
84
|
- `session.desktop` for computers: `click`, `double_click`, `move`, `scroll`, `type`, `key`, `wait`
|
|
81
85
|
- `session.robot` for physical robots: `joint`, `gripper`, `move`, `turn`, `home`, `stop`, …
|
|
@@ -131,6 +135,8 @@ vocabulary, one function per tag, named by the tag:
|
|
|
131
135
|
| `commandagi.design.ontology` | a world, a device definition, a dashboard, a geo project, a node graph |
|
|
132
136
|
| `commandagi.design.business` | a company, an RFC, a case |
|
|
133
137
|
| `commandagi.design.tasks` | a task, a project |
|
|
138
|
+
| `commandagi.design.mounts` | a thread's mounted tasks (`mounts.py`, in the thread's run folder) |
|
|
139
|
+
| `commandagi.design.evals` | an eval (`eval`: its `case`s), a metric (`metric`) |
|
|
134
140
|
| `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
|
|
135
141
|
| `commandagi.design.agents` | an agent harness (`harness.py`; `realtime`: what its model takes and gives live), an agent (`agent.py`: a base or a fork) |
|
|
136
142
|
| `commandagi.design.records` | a contract, a product instance |
|
|
@@ -280,11 +286,11 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
|
|
|
280
286
|
## Versions
|
|
281
287
|
|
|
282
288
|
- A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
|
|
283
|
-
`pip install commandagi==0.6.
|
|
284
|
-
`uv pip install --python .venv/bin/python commandagi==0.6.
|
|
289
|
+
`pip install commandagi==0.6.8`, or in a virtual environment uv made (it has no pip)
|
|
290
|
+
`uv pip install --python .venv/bin/python commandagi==0.6.8`. A range (`^`, `~=`, `>=`) takes the next release
|
|
285
291
|
without asking you.
|
|
286
292
|
- After an upgrade, check what runs: `python -c "import commandagi; print(commandagi.__version__)"`, and
|
|
287
|
-
`commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.
|
|
293
|
+
`commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.8`). The two
|
|
288
294
|
are upgraded apart, and a kernel of another version may read a document differently.
|
|
289
295
|
- The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
|
|
290
296
|
the vocabulary at version X in the others.
|
|
@@ -41,13 +41,17 @@ TypeScript SDK's code file, which declares the same document.
|
|
|
41
41
|
This SDK, the TypeScript SDK (`npm i commandagi`) and the `commandagi` CLI all come from **one
|
|
42
42
|
schema**, `commandagi-sdk.schema.json`, so they can't drift apart:
|
|
43
43
|
|
|
44
|
-
- **Tools**: `cagi.threads`, `cagi.embodiments`, `cagi.memory`, `cagi.integrations`,
|
|
44
|
+
- **Tools**: `cagi.threads`, `cagi.embodiments`, `cagi.memory`, `cagi.tasks`, `cagi.integrations`,
|
|
45
45
|
`cagi.social(platform, account)`, `whoami`, `search`, `run` and `post`. Each one is a typed wrapper
|
|
46
46
|
over `call(tool, args)`. Options are passed as keyword arguments, e.g. `snapshot_id=…`, and sent
|
|
47
47
|
over the wire as camelCase (`snapshotId`). Where the schema names the options, they are typed
|
|
48
48
|
keyword-only arguments: `cagi.postal.send("Letters/Ada.letter.tsx", provider="click2mail")` (the
|
|
49
49
|
provider is `"lob"`, the default, or `"click2mail"`, US only; omitted, the account's
|
|
50
50
|
`postal.providers` order picks it).
|
|
51
|
+
- **Task mounts**: `cagi.tasks.mount(folder="projects/bracket")` mounts a task list to the thread the
|
|
52
|
+
code runs in, and the agent is prompted with its open tasks until they are done. Mount one task
|
|
53
|
+
(`task=…`), a project (`project=…`) or a query (`assignee="me", status=["todo"]`);
|
|
54
|
+
`cagi.tasks.mounts()` lists them and `cagi.tasks.unmount(label)` removes one.
|
|
51
55
|
- **Control vocabularies** on a live `Session`:
|
|
52
56
|
- `session.desktop` for computers: `click`, `double_click`, `move`, `scroll`, `type`, `key`, `wait`
|
|
53
57
|
- `session.robot` for physical robots: `joint`, `gripper`, `move`, `turn`, `home`, `stop`, …
|
|
@@ -103,6 +107,8 @@ vocabulary, one function per tag, named by the tag:
|
|
|
103
107
|
| `commandagi.design.ontology` | a world, a device definition, a dashboard, a geo project, a node graph |
|
|
104
108
|
| `commandagi.design.business` | a company, an RFC, a case |
|
|
105
109
|
| `commandagi.design.tasks` | a task, a project |
|
|
110
|
+
| `commandagi.design.mounts` | a thread's mounted tasks (`mounts.py`, in the thread's run folder) |
|
|
111
|
+
| `commandagi.design.evals` | an eval (`eval`: its `case`s), a metric (`metric`) |
|
|
106
112
|
| `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
|
|
107
113
|
| `commandagi.design.agents` | an agent harness (`harness.py`; `realtime`: what its model takes and gives live), an agent (`agent.py`: a base or a fork) |
|
|
108
114
|
| `commandagi.design.records` | a contract, a product instance |
|
|
@@ -252,11 +258,11 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
|
|
|
252
258
|
## Versions
|
|
253
259
|
|
|
254
260
|
- A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
|
|
255
|
-
`pip install commandagi==0.6.
|
|
256
|
-
`uv pip install --python .venv/bin/python commandagi==0.6.
|
|
261
|
+
`pip install commandagi==0.6.8`, or in a virtual environment uv made (it has no pip)
|
|
262
|
+
`uv pip install --python .venv/bin/python commandagi==0.6.8`. A range (`^`, `~=`, `>=`) takes the next release
|
|
257
263
|
without asking you.
|
|
258
264
|
- After an upgrade, check what runs: `python -c "import commandagi; print(commandagi.__version__)"`, and
|
|
259
|
-
`commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.
|
|
265
|
+
`commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.8`). The two
|
|
260
266
|
are upgraded apart, and a kernel of another version may read a document differently.
|
|
261
267
|
- The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
|
|
262
268
|
the vocabulary at version X in the others.
|