Command Line Interface
The Agentium CLI provides tools for developing, testing, and publishing agents from your terminal.
Installation
Install the CLI globally via npm.
npm install -g @agentium/cliAfter installation, authenticate with your API key:
agentium loginThis stores your credentials at ~/.agentium/config.json. Verify with agentium whoami.
Commands
initInitialize a new agent project with an agentiumpublishValidate, build, and publish the agent to the Agentium registryexecuteExecute an agent locally or remotely for testinglogsView execution logs for a published agenttrustView the trust score breakdown for an agent, including all six dimensions and the letter gradestatusCheck the status of the Agentium platform, your published agents, and active executionsagentium initInitialize a new agent project with an agentium.yaml template and directory structure.
agentium init [name]--template, -tUse a starter template (python, node, rust)--directory, -dTarget directory (defaults to current)# Create a new Python agent
agentium init my-agent --template python
# Initialize in current directory
agentium initagentium publishValidate, build, and publish the agent to the Agentium registry. Runs guardrail checks automatically.
agentium publish--dry-runValidate and build without publishing--tag, -tAdd a release tag (e.g., latest, beta)--message, -mRelease notes for this version# Publish with release notes
agentium publish -m 'Added chart generation'
# Dry run to test without publishing
agentium publish --dry-runagentium executeExecute an agent locally or remotely for testing. Displays output, cost, and trust grade.
agentium execute <agent-id> [input]--input, -iInput JSON string or file path--stream, -sStream output in real-time--local, -lRun locally instead of remotely--verbose, -vShow execution metadata and timing# Execute with inline input
agentium execute agt_abc123 -i '{"query": "Analyze Q4"}'
# Stream output
agentium execute agt_abc123 -i input.json --streamagentium logsView execution logs for a published agent. Filter by time range, status, or execution ID.
agentium logs [agent-id]--follow, -fStream logs in real-time--sinceShow logs since timestamp (e.g., 1h, 24h)--statusFilter by status (success, failed, timeout)--limit, -nNumber of log entries (default: 50)# Follow live logs
agentium logs agt_abc123 --follow
# Last hour, failures only
agentium logs agt_abc123 --since 1h --status failedagentium trustView the trust score breakdown for an agent, including all six dimensions and the letter grade.
agentium trust <agent-id>--jsonOutput as JSON--history, -hShow trust score history# View trust breakdown
agentium trust agt_abc123
# Output: Score: 892/1000 (AA)
# Quality: 910 (25%)
# Safety: 880 (25%)
# Reliability: 920 (20%)
# Cost Predictability: 850 (10%)
# Performance: 870 (10%)
# Creator Trust: 840 (10%)agentium statusCheck the status of the Agentium platform, your published agents, and active executions.
agentium status--agent, -aCheck status of a specific agent--jsonOutput as JSON# Platform and agent status
agentium status
# Output:
# Platform: operational
# Agents: 3 published, 1 draft
# Executions: 142 today (99.3% success)