DevOps & CloudDocumentedScanned
meshguard
Manage MeshGuard AI agent governance - agents, policies, audit logs.
Share:
Installation
npx clawhub@latest install meshguardView the full skill documentation and source below.
Documentation
MeshGuard
AI agent governance platform. Manage agents, policies, audit logs, and monitor your MeshGuard instance.
Setup
First-time setup — run the wizard:
bash skills/meshguard/scripts/meshguard-setup.shThis saves config to
~/.meshguard/config (URL, API key, admin token).
Environment Variables
| Variable | Description |
MESHGUARD_URL | Gateway URL (default: ) |
| MESHGUARD_API_KEY | API key for authenticated requests |
| MESHGUARD_ADMIN_TOKEN | Admin token for org management & signup |
Config file ~/.meshguard/config is sourced automatically by the CLI.
## CLI Usage
All commands go through the wrapper script:
__CODE_BLOCK_1__
### Status Check
__CODE_BLOCK_2__
Returns gateway health, version, and connectivity.
### Agent Management
__CODE_BLOCK_3__
### Policy Management
__CODE_BLOCK_4__
Policy YAML format:
__CODE_BLOCK_5__
### Audit Logs
__CODE_BLOCK_6__
Actions: agent.create, agent.delete, policy.create, policy.update, policy.delete, auth.login, auth.revoke
### Self-Service Signup
__CODE_BLOCK_7__
Creates a new org and returns API credentials. Requires MESHGUARD_ADMIN_TOKEN.
## Workflow Examples
**Onboard a new agent with policy:**
1. Create agent: meshguard-cli.sh agents create my-agent --tier pro
2. Create policy: meshguard-cli.sh policies create policy.yaml
3. Verify: meshguard-cli.sh agents list
**Investigate agent activity:**
1. Query logs: meshguard-cli.sh audit query --agent my-agent --limit 20
2. Check agent status: meshguard-cli.sh agents get
## API Reference
See skills/meshguard/references/api-reference.md` for full endpoint documentation.