AgentControl SDK global CLI
Project description
AgentControl Universal Agent SDK
AgentControl is an enterprise-grade toolkit that standardises how autonomous engineers and human teams operate on any codebase. The SDK provisions a consistent command surface, deterministic governance assets, and ready-to-use agent runtimes, so delivery begins immediately without bespoke project bootstrapping.
1. Value Proposition
- Single operational entrypoint. The
agentcallCLI aligns humans and agents on the same verified pipelines (init,verify,ship,status, and more). - Integrated governance. Roadmaps, task boards, and architecture manifests remain in sync through automated status and progress commands.
- Agent-first runtime. Codex/Claude CLIs, Memory Heart, and supporting scripts install without manual steps, keeping cognitive load low for automated contributors.
- Compliance by default. Lockfiles, SBOM generation, audit artefacts, and release gates are embedded into the workflow.
2. Solution Architecture
| Layer | Responsibility | Key artefacts |
|---|---|---|
| CLI & Pipelines | Lifecycle orchestration (init, verify, ship, status). |
src/agentcontrol/cli, src/agentcontrol/app |
| Domain & Governance | Capsule, template, and command models with explicit invariants. | src/agentcontrol/domain, src/agentcontrol/ports |
| Templates | Project capsules (default, python, node, monorepo) fully contained inside ./agentcontrol/. |
src/agentcontrol/templates/<version>/<template> |
| Plugin framework | Extensible CLI via the agentcontrol.plugins entry point group. |
src/agentcontrol/plugins, examples/plugins/ |
| Observability | Telemetry, Memory Heart, status artefacts. | src/agentcontrol/utils/telemetry, reports/ |
3. Quick Start (fresh machine)
- Prerequisites. Bash ≥ 5.0, Python ≥ 3.10, Node.js ≥ 18, Cargo ≥ 1.75. Pin versions in CI for reproducibility.
- Install the SDK globally.
./scripts/install_agentcontrol.sh pipx install agentcontrol # alternatively: python3 -m pip install agentcontrol
Templates are placed under~/.agentcontrol/templates/<channel>/<version>andagentcallis published toPATH. - Bootstrap a project capsule.
agentcall init --template python ~/workspace/project
All SDK artefacts live insideproject/agentcontrol/; the host repository remains untouched. (SetAGENTCONTROL_AUTO_INIT=1if you preferagentcall statusto bootstrap automatically.) - Authenticate agents.
cd ~/workspace/project agentcall agents auth agentcall agents status
Credentials are stored beneath~/.agentcontrol/state/. - Qualify the environment.
agentcall verifyThe pipeline runs formatting, tests, security checks, SBOM, architecture sync, Memory Heart, and emitsreports/verify.json.
3.1 Automatic Updates
agentcallchecks PyPI for newer public releases on first invocation (default interval: 6h) and upgrades itself automatically before executing the command.- Disable on air-gapped hosts via
AGENTCONTROL_DISABLE_AUTO_UPDATE=1orAGENTCONTROL_AUTO_UPDATE=0. - Choose the updater (
pipdefault,pipxalternative) withAGENTCONTROL_AUTO_UPDATE_MODE. - Provide an offline fallback by pointing
AGENTCONTROL_AUTO_UPDATE_CACHEto a directory with cached wheels (e.g.agentcontrol-<version>-py3-none-any.whl); when PyPI is unreachable the newest cached version greater than the current install is applied and logged as afallback_*telemetry event. - For local development or testing you can bypass the dev-environment guard via
AGENTCONTROL_ALLOW_AUTO_UPDATE_IN_DEV=1and simulate network failures withAGENTCONTROL_FORCE_AUTO_UPDATE_FAILURE=1. - All update attempts are logged as telemetry events (
auto-update) with mode, versions, and exit status; after a successful upgrade CLI exits so you can re-run the original command.
4. Command Portfolio
| Command | Purpose | Notes |
|---|---|---|
agentcall status [PATH] |
Dashboard (auto-bootstrap optional). | Enable auto-bootstrap with AGENTCONTROL_AUTO_INIT=1; also honour AGENTCONTROL_DEFAULT_TEMPLATE, AGENTCONTROL_DEFAULT_CHANNEL. |
agentcall init / upgrade |
Template provisioning or migration. | Templates: default, python, node, monorepo. |
agentcall setup |
Install project dependencies and agent CLIs. | Respect SKIP_AGENT_INSTALL, SKIP_HEART_SYNC. |
agentcall verify |
Gold standard quality gate (fmt/lint/tests/coverage/security/docs/SBOM). | Options: VERIFY_MODE, CHANGED_ONLY, JSON=1. |
agentcall fix |
Execute safe autofixes from config/commands.sh. |
Re-run verify afterwards. |
agentcall review |
Diff-focused review workflow with diff-cover support. | Options: REVIEW_BASE_REF, REVIEW_SAVE. |
agentcall ship |
Release gate (verify → release choreography). | Blocks on failing checks or open micro tasks. |
agentcall agents … |
Manage agent CLIs (install, auth, status, logs, workflow). |
Configuration in config/agents.json. |
agentcall heart … |
Memory Heart lifecycle (sync, query, serve). |
Settings in config/heart.json. |
agentcall templates |
List installed templates. | Supports channels such as stable, nightly. |
agentcall telemetry … |
Inspect or clear local telemetry. | Subcommands: report, tail --limit, clear. |
agentcall plugins … |
Manage plugins (list, install, remove, info). |
Entry point: agentcontrol.plugins. |
agentcall cache … |
Manage offline auto-update cache. | list, add <wheel>, download <version>, verify. |
5. Capsule Templates
| Template | Use case | Highlights |
|---|---|---|
default |
Full governance skeleton with architecture and documentation. | Turnkey verify/fix/ship scripts, Memory Heart integration. |
python |
Python backend with pytest. | Isolated virtualenv inside agentcontrol/.venv, sample tests included. |
node |
Node.js service with ESLint and node --test. |
npm workflows encapsulated within the capsule. |
monorepo |
Python backend + Node front-end. | Coordinated pipelines across both packages. |
Custom templates live under src/agentcontrol/templates/<version>/<name>; update template.json accordingly.
6. Release Procedure
- Update version metadata (
src/agentcontrol/__init__.py,pyproject.toml) and changelog. - Build artefacts with
./scripts/release.sh(wheel, sdist, SHA256, manifest). - Optional publication via
python -m twine upload dist/*. - Offline install: distribute the
.whlandagentcontrol.sha256, then runpipx install --force <wheel>.
7. Observability
- Telemetry is local, stored in
~/.agentcontrol/logs/telemetry.jsonl. Disable withAGENTCONTROL_TELEMETRY=0. - Memory Heart resides in
agentcontrol/state/heart/; query usingagentcall heart queryor serve viaagentcall heart serve. - Key artefacts:
reports/verify.json,reports/status.json,reports/review.json,reports/doctor.json.
8. Service Model
- Product owner: AgentControl Core team (see
AGENTS.md). - Operational coverage: 24/7, with programme-level SLA for agent responses.
- Escalation: raise tasks via
agentcall agents workflow --task=<ID>or contact the listed owner directly.
9. FAQ
Q: How do I disable automatic bootstrap?
A: Export AGENTCONTROL_NO_AUTO_INIT=1 before running agentcall.
Q: How do I add a custom pipeline?
A: Extend agentcontrol/agentcall.yaml and config/commands.sh. The command will appear in agentcall commands.
Q: Where is state stored?
A: Project-level artefacts live in agentcontrol/state/; global state (registry, credentials) lives under ~/.agentcontrol/state/.
© AgentControl — Universal Agent SDK.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentcontrol-0.3.2.tar.gz.
File metadata
- Download URL: agentcontrol-0.3.2.tar.gz
- Upload date:
- Size: 816.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4882c458184819d6a2af66ce328975fd0c6b6d0058fc67b4c77d27fe4df7c20
|
|
| MD5 |
3156a2da2bcbad9bdab72ec32fa2eeb9
|
|
| BLAKE2b-256 |
cfbcef37a855a0dd6e7af50ea93e0b765f5066fc783c00a3f79b129926f63999
|
File details
Details for the file agentcontrol-0.3.2-py3-none-any.whl.
File metadata
- Download URL: agentcontrol-0.3.2-py3-none-any.whl
- Upload date:
- Size: 996.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c96a09b107dfd9431af7806b154b81a2a94290a817b78b1068da522c27401287
|
|
| MD5 |
206ddc4c6637c49a13a8357818f59188
|
|
| BLAKE2b-256 |
a0a2e2ba327cebd7a0bcd77c7fcf3a737462c689c4dcf29ae363dfda4541eda6
|