@agtnxai/cli
v0.1.0
Published
AgentNexus CLI — Manage AI agents from the command line
Maintainers
Readme
@agtnxai/cli (ancli)
AgentNexus CLI is the official command-line interface for the AgentNexus AI platform. It allows developers to seamlessly create, configure, deploy, and manage AI-powered agents directly from their terminal.
Installation
You can install the CLI globally using npm:
npm install -g @agtnxai/cliAuthentication
Before using the CLI, you must log in using a Personal Access Token (PAT):
- Generate a token via the AgentNexus Dashboard: Settings → Developer / CLI.
- Run the authentication command:
ancli auth login --token <your_token>Core Commands
ancli agents: Manage AI agents (list, create, update, delete).ancli knowledge: Manage RAG knowledge bases (add files, URLs, plain text).ancli conversations: View and debug agent conversations and chat history.ancli tools: Manage custom API toolkits and view circuit-breaker health stats.ancli deploy: Generate infrastructure deployment configurations (e.g., Fly.io).ancli config: Manage local CLI connection settings.
Output Formatting
All commands support the -o json format, making the CLI fully compatible with CI/CD automation, scripting, or chaining into other AI pipelines.
ancli agents list -o json > agents.jsonExit Codes
Scripting with ancli is predictable:
0: Success1: General Error2: Bad Arguments / Invalid Command3: Authentication Failed (Invalid or expired token)4: Resource Not Found (404)
Documentation
For full documentation and advanced usage, visit https://docs.agtnx.ai/cli.
