aclade-agent
v1.3.0
Published
Aclade Local AI Agent Connector
Readme
Aclade Agent
Aclade Agent is the official secure local connector for Aclade Cloud. It bridges the gap between your secure local corporate infrastructure and your autonomous AI experts hosted on Aclade.
Security & Architecture
The Aclade Agent is a lightweight, zero-trust polling daemon. It does not contain any AI logic, LLM weights, RAG pipelines, or proprietary autonomous reasoning loops. All AI processing, security checks, and orchestration occur on the secure aclade.com backend infrastructure.
This agent simply polls the Aclade Cloud for approved task instructions (such as executing a local build script or reading a file) and returns the standard output securely back to the AI context.
Docs & examples: github.com/aclade-ai-expert/aclade-docs — CLI reference, Python SDK guide, architecture notes, and worked examples.
Installation
The recommended installation utilizes PM2 to ensure the agent runs persistently as a background system daemon across system restarts.
# 1. Install Node.js (https://nodejs.org) if you haven't already.
# 2. Connect. --foreground is REQUIRED under a supervisor like pm2: it makes
# pm2 own the process, so a self-update exits and pm2 restarts the new
# version (without it, the agent double-forks and pm2 cannot manage it).
# Pass the token via environment variable to keep it out of the process
# list: ACLADE_TOKEN=<YOUR_SESSION_TOKEN>
npm install -g pm2 aclade-agent && pm2 start aclade-agent --name "aclade-agent" -- connect --foreground --token <YOUR_SESSION_TOKEN> && pm2 save && pm2 startupA connection token is valid for 12 hours. The agent rotates it
automatically in the final 90 minutes (proof-of-possession: it exchanges
the still-valid token for a fresh one and persists it to
~/.aclade-agent.json), so a running daemon stays connected indefinitely.
If the window is ever missed (machine asleep, endpoint unreachable) the
agent logs a warning and you re-issue a token from the portal (Workspace →
Connect your machine) and re-run the connect command — the new process
stops the previous one cleanly.
Features
- Zero-Trust Polling: No inbound ports are opened. The agent strictly polls outward over secure HTTPS.
- Auto-Upgrading: The agent periodically checks the NPM registry and installs updates itself. Under a supervisor it exits and the supervisor restarts it (a few seconds of downtime); unsupervised it respawns the new version before exiting.
- Daemonized by Default: Without
--foregroundit double-forks into the background, so a plain terminal session is enough to start it.
License
Copyright © Aclade. All rights reserved.
This package is marked as UNLICENSED and is proprietary software. It is distributed exclusively for users of the Aclade Cloud platform.
