{"_id":"@agtnxai/cli","name":"@agtnxai/cli","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@agtnxai/cli","version":"0.1.0","description":"AgentNexus CLI — Manage AI agents from the command line","type":"module","license":"MIT","author":{"name":"AgentNexus","email":"hello@agtnx.ai","url":"https://agtnx.ai"},"homepage":"https://agtnx.ai","repository":{"type":"git","url":"git+https://github.com/zdqsg/agentNexus.git","directory":"packages/cli"},"keywords":["ai","agent","cli","agentnexus","llm","chatbot","automation","deploy"],"bin":{"ancli":"dist/index.js"},"engines":{"node":">=18.0.0"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","dev":"tsc --watch","test":"vitest run","test:watch":"vitest","start":"node dist/index.js","prepublishOnly":"npm run build"},"dependencies":{"chalk":"^5.3.0","cli-table3":"^0.6.5","commander":"^12.1.0","conf":"^13.0.1","ora":"^8.1.1"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.6.0","vitest":"^2.1.0"},"_id":"@agtnxai/cli@0.1.0","gitHead":"511b19b00425b6611823cf39ba79f9557352b18d","bugs":{"url":"https://github.com/zdqsg/agentNexus/issues"},"_nodeVersion":"22.21.1","_npmVersion":"11.1.0","dist":{"integrity":"sha512-fYFsSwd43TmO9rRdYLtTyYsP5Vw0NNplSFrUQgJ10deWlEz033o4V/JL26p3sXhMG0VZfzea/+3d/5CsTsNa3g==","shasum":"130bfeb32c46a2988bbc847ec152507b0622f06e","tarball":"https://registry.npmjs.org/@agtnxai/cli/-/cli-0.1.0.tgz","fileCount":82,"unpackedSize":194727,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHJzxG7oi0aRkpfv5IbycxXN2+GvdcCvWhJOwXSIkKS5AiEA5rlchG6w9iJmkLLFYFZRZkj4dmlZVx8bFmizZ8KNDeE="}]},"_npmUser":{"name":"agentnexusnpm","email":"support@agtnx.ai"},"directories":{},"maintainers":[{"name":"agentnexusnpm","email":"support@agtnx.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.0_1775624275365_0.7383754052319917"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-08T04:57:55.269Z","0.1.0":"2026-04-08T04:57:55.524Z","modified":"2026-04-08T04:57:55.771Z"},"maintainers":[{"name":"agentnexusnpm","email":"support@agtnx.ai"}],"description":"AgentNexus CLI — Manage AI agents from the command line","homepage":"https://agtnx.ai","keywords":["ai","agent","cli","agentnexus","llm","chatbot","automation","deploy"],"repository":{"type":"git","url":"git+https://github.com/zdqsg/agentNexus.git","directory":"packages/cli"},"author":{"name":"AgentNexus","email":"hello@agtnx.ai","url":"https://agtnx.ai"},"bugs":{"url":"https://github.com/zdqsg/agentNexus/issues"},"license":"MIT","readme":"# @agtnxai/cli (ancli)\n\nAgentNexus 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.\n\n## Installation\n\nYou can install the CLI globally using npm:\n\n```bash\nnpm install -g @agtnxai/cli\n```\n\n## Authentication\n\nBefore using the CLI, you must log in using a Personal Access Token (PAT):\n\n1. Generate a token via the **AgentNexus Dashboard: Settings → Developer / CLI**.\n2. Run the authentication command:\n\n```bash\nancli auth login --token <your_token>\n```\n\n## Core Commands\n\n- `ancli agents`: Manage AI agents (list, create, update, delete).\n- `ancli knowledge`: Manage RAG knowledge bases (add files, URLs, plain text).\n- `ancli conversations`: View and debug agent conversations and chat history.\n- `ancli tools`: Manage custom API toolkits and view circuit-breaker health stats.\n- `ancli deploy`: Generate infrastructure deployment configurations (e.g., Fly.io).\n- `ancli config`: Manage local CLI connection settings.\n\n## Output Formatting\n\nAll commands support the `-o json` format, making the CLI fully compatible with CI/CD automation, scripting, or chaining into other AI pipelines.\n\n```bash\nancli agents list -o json > agents.json\n```\n\n## Exit Codes\n\nScripting with `ancli` is predictable:\n\n- `0`: Success\n- `1`: General Error\n- `2`: Bad Arguments / Invalid Command\n- `3`: Authentication Failed (Invalid or expired token)\n- `4`: Resource Not Found (404)\n\n## Documentation\n\nFor full documentation and advanced usage, visit [https://docs.agtnx.ai/cli](https://docs.agtnx.ai/cli).\n","readmeFilename":"README.md","_rev":"1-e17ef6524a43072ca65ba4f177992d0e"}