<< All versions

Skill v1.0.0

currentAutomated scan100/100
opencharly/marketplace/agentteams
──Details
PublishedNovember 19, 2026 at 04:28 AM
Content Hashsha256:e18ed9e929c2e4e8...
Git SHA69e0842bb9dd
──Files
Files (1 file, 7.0 KB)
SKILL.md7.0 KBactive
SKILL.md · 164 lines · 7.0 KB

name: agentteams description: |- The AgentTeams multi-agent stack box (CachyOS base): the decomposed minio / matrix / element / higress / controller candies on both pod and vm substrates. MUST be invoked before building, deploying, configuring, or troubleshooting the agentteams box. metadata: version: "1.0.0"


<!-- GENERATED by charly marketplace generate — DO NOT EDIT. Edit the candy's skill:/hook:/marketplace: entities and regenerate. -->

agentteams

AgentTeams is a multi-agent runtime built on a Manager–Workers model: a Manager plans and delegates, Workers execute, and they converse in shared Rooms (chat spaces on the Matrix homeserver). You would use it to run a team of AI agents that collaborate on a task. A controller — a mini Kubernetes API server (kube-apiserver v1.31.3 backed by a kine SQLite store; kine is a lightweight storage shim that backs the API server with SQLite) plus a reconciler (a loop that watches declared resources and drives the running system toward them) — manages four resource kinds (Manager, Worker, Team, Human) and serves a REST API on :8090. A Team is a group of Workers that share a Room; a Human is a real person — a human-in-the-loop participant with an identity and permission tier — who can observe and intervene in the Rooms their permissions allow. The controller spawns Manager containers through the container-runtime socket; a Manager creates Workers; Workers join Teams and converse in Rooms.

This box ships that whole stack as a charly box: a CachyOS base composing five decomposed candies — agentteams-minio (MinIO S3 + mc-mirror), agentteams-matrix (Tuwunel, a Rust Matrix homeserver — the chat substrate), agentteams-element (Element Web via a rootless nginx), agentteams-higress (the Higress AI gateway: apiserver, controller, pilot, envoy gateway, console), and agentteams-controller (the kine-backed kube-apiserver + the Manager/Worker/Team/Human reconciler serving the REST API on :8090).

Every service runs as the image user (uid 1000) — the rootless charly architecture, no root anywhere. Each candy owns its own home-relative volume, so any candy installs alone or together with any other at freely configurable locations. All service start scripts are charly-owned (written by the candies), never upstream AgentTeams scripts.

How it works

The controller is the entry point. On start it mints an admin service account (SA) token, then reconciles the declared Manager/Worker/Team/ Human resources — for each Manager or Worker resource it spawns a container through the container-runtime socket. A Manager container runs the openclaw gateway (openclaw is an AI agent gateway runtime) plus the agt (AgentTeams CLI) and mc (MinIO client) tools; a Worker container runs the openclaw gateway plus the agt and mc tools and the shared AgentTeams protocol libs. Workers join Teams and converse in Rooms; the Matrix homeserver (Tuwunel) and the Higress AI gateway carry the traffic, and MinIO stores objects. The whole sequence is verifiable over the REST API: controller-spawns-manager → create-worker → room-exists.

Composition

EntityWhat it is
agentteams boxthe deployable full-stack image (base: cachyos.cachyos) composing the agentteams top composition candy
agentteams-manager imagethe controller's Manager runtime — openclaw gateway + agt + mc; spawned by the controller, not deployed directly
agentteams-worker imagethe controller's Worker runtime — openclaw gateway + agt + mc + the shared AgentTeams protocol libs; spawned by the controller, not deployed directly

Volumes

Home-relative, one per candy (freely configurable, installable in any combination):

CandyVolume pathBacks
agentteams-minio~/.agentteams/minioMinIO objects
agentteams-matrix~/.agentteams/matrixTuwunel homeserver data
agentteams-higress~/.agentteams/higressHigress data
agentteams-controller~/.agentteams/controllerkine SQLite, worker creds, admin token

agentteams-element has no volume (static nginx).

Ports

PortService
9000 / 9001MinIO S3 / console
6167Tuwunel Matrix homeserver
8088Element Web
8080 / 8001Higress gateway / console
8090controller REST API

Host mappings auto-allocate at deploy and resolve as ${HOST_PORT:<port>}.

Deploy

Pod substrate

charly box build agentteams then charly deploy add / charly start — or run the disposable bed end to end:

charly check run check-agentteams-pod

The bed binds the host rootless podman socket into the box, so the controller spawns the manager and worker containers through the SAME store the images were built into — no registry hop. Pre-build the spawn images first:

charly box build agentteams-manager
charly box build agentteams-worker

VM substrate

The check-agentteams-vm bed installs the top composition into an Arch cloud-image guest via add_candy; services run as systemd units under uid 1000 (init polymorphism — no supervisord in a VM):

charly check run check-agentteams-vm

The pre-built manager/worker images are delivered into the guest's rootless store with charly vm cp-box:

charly vm cp-box agentteams-vm ghcr.io/opencharly/agentteams-manager:manager --rootless --domain check-agentteams-vm
charly vm cp-box agentteams-vm ghcr.io/opencharly/agentteams-worker:worker --rootless --domain check-agentteams-vm

Environment

Deploy-overridable env: AGENTTEAMS_MANAGER_IMAGE, AGENTTEAMS_WORKER_IMAGE, AGENTTEAMS_LLM_PROVIDER, AGENTTEAMS_OPENAI_BASE_URL, AGENTTEAMS_LLM_API_KEY, AGENTTEAMS_DEFAULT_MODEL, AGENTTEAMS_EMBEDDING_MODEL, AGENTTEAMS_ADMIN_USER / AGENTTEAMS_ADMIN_PASSWORD, AGENTTEAMS_MANAGER_RUNTIME, AGENTTEAMS_DEFAULT_WORKER_RUNTIME, AGENTTEAMS_MATRIX_APPSERVICE_ENABLED. Secrets (the minio root password, the matrix registration token, the controller admin token) resolve from env or self-provisioned files — files the candies write at first start when the env var is unset: the controller's admin token at /var/run/agentteams/cli-token, the admin password at ~/.agentteams/controller/.admin-password, the minio root password at ~/.agentteams/minio/.root-password, the matrix registration token at ~/.agentteams/matrix/.registration-token.

Verification

Each candy's ADE plan: ships deterministic checks (binary present, HTTP 200 liveness, service running) — ADE (Agent Driven Evaluation) is charly's check framework: the spec is the test, baked into the image. The box-level checks prove the controller-spawns-manager → create-worker → room-exists sequence over the REST API (charly check run check-agentteams-pod / check-agentteams-vm).

Cross-References

  • /charly-agentteams:agentteams-cli — the compiled-in charly agentteams management CLI.
  • /charly-check:check — the check-bed / ADE authoring surface.
  • /charly-vm:vm — the VM substrate, charly vm cp-box.
  • /charly-internals:disposable — the disposable-bed authorization model.
All versions