@llm-dev-ops/agentics-cli 1.5.9 → 1.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/README.md +478 -148
  2. package/dist/bundled-agents/manifest.json +1 -0
  3. package/dist/commands/phase4.d.ts.map +1 -1
  4. package/dist/commands/phase4.js +4 -2
  5. package/dist/commands/phase4.js.map +1 -1
  6. package/dist/commands/phase6.d.ts.map +1 -1
  7. package/dist/commands/phase6.js +4 -2
  8. package/dist/commands/phase6.js.map +1 -1
  9. package/dist/mcp/mcp-server.js +11 -10
  10. package/dist/mcp/mcp-server.js.map +1 -1
  11. package/dist/pipeline/auto-chain.d.ts +5 -0
  12. package/dist/pipeline/auto-chain.d.ts.map +1 -1
  13. package/dist/pipeline/auto-chain.js +131 -47
  14. package/dist/pipeline/auto-chain.js.map +1 -1
  15. package/dist/pipeline/enterprise/artifact-assembler.d.ts +64 -0
  16. package/dist/pipeline/enterprise/artifact-assembler.d.ts.map +1 -0
  17. package/dist/pipeline/enterprise/artifact-assembler.js +542 -0
  18. package/dist/pipeline/enterprise/artifact-assembler.js.map +1 -0
  19. package/dist/pipeline/enterprise/artifact-renderers.d.ts +42 -0
  20. package/dist/pipeline/enterprise/artifact-renderers.d.ts.map +1 -0
  21. package/dist/pipeline/enterprise/artifact-renderers.js +513 -0
  22. package/dist/pipeline/enterprise/artifact-renderers.js.map +1 -0
  23. package/dist/pipeline/enterprise/code-resolver.d.ts +43 -0
  24. package/dist/pipeline/enterprise/code-resolver.d.ts.map +1 -0
  25. package/dist/pipeline/enterprise/code-resolver.js +219 -0
  26. package/dist/pipeline/enterprise/code-resolver.js.map +1 -0
  27. package/dist/pipeline/enterprise/decision-graph-client.d.ts +171 -0
  28. package/dist/pipeline/enterprise/decision-graph-client.d.ts.map +1 -0
  29. package/dist/pipeline/enterprise/decision-graph-client.js +222 -0
  30. package/dist/pipeline/enterprise/decision-graph-client.js.map +1 -0
  31. package/dist/pipeline/enterprise/decision-graph-memory.d.ts +104 -0
  32. package/dist/pipeline/enterprise/decision-graph-memory.d.ts.map +1 -0
  33. package/dist/pipeline/enterprise/decision-graph-memory.js +292 -0
  34. package/dist/pipeline/enterprise/decision-graph-memory.js.map +1 -0
  35. package/dist/pipeline/enterprise/decision-graph.d.ts +237 -0
  36. package/dist/pipeline/enterprise/decision-graph.d.ts.map +1 -0
  37. package/dist/pipeline/enterprise/decision-graph.js +654 -0
  38. package/dist/pipeline/enterprise/decision-graph.js.map +1 -0
  39. package/dist/pipeline/enterprise/index.d.ts +40 -0
  40. package/dist/pipeline/enterprise/index.d.ts.map +1 -0
  41. package/dist/pipeline/enterprise/index.js +43 -0
  42. package/dist/pipeline/enterprise/index.js.map +1 -0
  43. package/dist/pipeline/enterprise/pass-executor.d.ts +33 -0
  44. package/dist/pipeline/enterprise/pass-executor.d.ts.map +1 -0
  45. package/dist/pipeline/enterprise/pass-executor.js +459 -0
  46. package/dist/pipeline/enterprise/pass-executor.js.map +1 -0
  47. package/dist/pipeline/enterprise/pass-registry.d.ts +19 -0
  48. package/dist/pipeline/enterprise/pass-registry.d.ts.map +1 -0
  49. package/dist/pipeline/enterprise/pass-registry.js +243 -0
  50. package/dist/pipeline/enterprise/pass-registry.js.map +1 -0
  51. package/dist/pipeline/enterprise/pass2-simulation.d.ts +130 -0
  52. package/dist/pipeline/enterprise/pass2-simulation.d.ts.map +1 -0
  53. package/dist/pipeline/enterprise/pass2-simulation.js +691 -0
  54. package/dist/pipeline/enterprise/pass2-simulation.js.map +1 -0
  55. package/dist/pipeline/enterprise/pass4-governance.d.ts +195 -0
  56. package/dist/pipeline/enterprise/pass4-governance.d.ts.map +1 -0
  57. package/dist/pipeline/enterprise/pass4-governance.js +748 -0
  58. package/dist/pipeline/enterprise/pass4-governance.js.map +1 -0
  59. package/dist/pipeline/enterprise/pass5-decision.d.ts +90 -0
  60. package/dist/pipeline/enterprise/pass5-decision.d.ts.map +1 -0
  61. package/dist/pipeline/enterprise/pass5-decision.js +487 -0
  62. package/dist/pipeline/enterprise/pass5-decision.js.map +1 -0
  63. package/dist/pipeline/enterprise/pass7-observability.d.ts +198 -0
  64. package/dist/pipeline/enterprise/pass7-observability.d.ts.map +1 -0
  65. package/dist/pipeline/enterprise/pass7-observability.js +636 -0
  66. package/dist/pipeline/enterprise/pass7-observability.js.map +1 -0
  67. package/dist/pipeline/enterprise/pipeline-orchestrator.d.ts +29 -0
  68. package/dist/pipeline/enterprise/pipeline-orchestrator.d.ts.map +1 -0
  69. package/dist/pipeline/enterprise/pipeline-orchestrator.js +283 -0
  70. package/dist/pipeline/enterprise/pipeline-orchestrator.js.map +1 -0
  71. package/dist/pipeline/enterprise/provenance-tracker.d.ts +135 -0
  72. package/dist/pipeline/enterprise/provenance-tracker.d.ts.map +1 -0
  73. package/dist/pipeline/enterprise/provenance-tracker.js +437 -0
  74. package/dist/pipeline/enterprise/provenance-tracker.js.map +1 -0
  75. package/dist/pipeline/enterprise/trace-middleware.d.ts +37 -0
  76. package/dist/pipeline/enterprise/trace-middleware.d.ts.map +1 -0
  77. package/dist/pipeline/enterprise/trace-middleware.js +188 -0
  78. package/dist/pipeline/enterprise/trace-middleware.js.map +1 -0
  79. package/dist/pipeline/enterprise/types.d.ts +199 -0
  80. package/dist/pipeline/enterprise/types.d.ts.map +1 -0
  81. package/dist/pipeline/enterprise/types.js +30 -0
  82. package/dist/pipeline/enterprise/types.js.map +1 -0
  83. package/dist/pipeline/phase2/phases/adr-generator.d.ts.map +1 -1
  84. package/dist/pipeline/phase2/phases/adr-generator.js +56 -8
  85. package/dist/pipeline/phase2/phases/adr-generator.js.map +1 -1
  86. package/dist/pipeline/phase3/phases/test-generator.d.ts.map +1 -1
  87. package/dist/pipeline/phase3/phases/test-generator.js +53 -0
  88. package/dist/pipeline/phase3/phases/test-generator.js.map +1 -1
  89. package/dist/pipeline/phase4/phases/deployment-generator.d.ts.map +1 -1
  90. package/dist/pipeline/phase4/phases/deployment-generator.js +147 -0
  91. package/dist/pipeline/phase4/phases/deployment-generator.js.map +1 -1
  92. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.d.ts.map +1 -1
  93. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js +52 -1
  94. package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js.map +1 -1
  95. package/dist/pipeline/phase6/phases/deployment-finalizer.d.ts.map +1 -1
  96. package/dist/pipeline/phase6/phases/deployment-finalizer.js +226 -0
  97. package/dist/pipeline/phase6/phases/deployment-finalizer.js.map +1 -1
  98. package/dist/pipeline/phase6/phases/service-registrar.d.ts +1 -1
  99. package/dist/pipeline/phase6/phases/service-registrar.d.ts.map +1 -1
  100. package/dist/pipeline/phase6/phases/service-registrar.js +47 -7
  101. package/dist/pipeline/phase6/phases/service-registrar.js.map +1 -1
  102. package/dist/pipeline/swarm-orchestrator.d.ts.map +1 -1
  103. package/dist/pipeline/swarm-orchestrator.js +47 -19
  104. package/dist/pipeline/swarm-orchestrator.js.map +1 -1
  105. package/package.json +1 -1
package/README.md CHANGED
@@ -1,68 +1,163 @@
1
- # Agentics-CLI
1
+ # Agentics CLI
2
+
3
+ ```
4
+ ┌─────────────────────────────────────────────────────────────────┐
5
+ │ │
6
+ │ █████╗ ██████╗ ███████╗███╗ ██╗████████╗██╗ ██████╗ │
7
+ │ ██╔══██╗██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝██║██╔════╝ │
8
+ │ ███████║██║ ███╗█████╗ ██╔██╗ ██║ ██║ ██║██║ │
9
+ │ ██╔══██║██║ ██║██╔══╝ ██║╚██╗██║ ██║ ██║██║ │
10
+ │ ██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║ ██║╚██████╗ │
11
+ │ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ │
12
+ │ │
13
+ │ Enterprise AI Agent Orchestration Platform │
14
+ │ │
15
+ └─────────────────────────────────────────────────────────────────┘
16
+ ```
2
17
 
3
18
  [![npm version](https://img.shields.io/npm/v/@llm-dev-ops/agentics-cli.svg)](https://www.npmjs.com/package/@llm-dev-ops/agentics-cli)
19
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg)](https://nodejs.org/)
20
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue.svg)](https://www.typescriptlang.org/)
21
+ [![License](https://img.shields.io/badge/license-Paid%20Usage-red.svg)](https://globalbusinessadvisors.com)
22
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/llm-dev-ops/agentics-cli/ci.yml?branch=main)](https://github.com/llm-dev-ops/agentics-cli/actions)
23
+ [![Platform](https://img.shields.io/badge/platform-agentics.dev-blueviolet.svg)](https://platform.agentics.dev)
4
24
 
5
- CLI for the Agentics Platform - orchestrate simulations, analyze ROI, and deploy AI agent infrastructure.
25
+ ---
6
26
 
7
- **Supports natural language input:** Use plain English in quotes after any workflow command.
27
+ ## Overview
8
28
 
9
- ```bash
10
- agentics simulate "run an enterprise ERP cost optimization simulation"
11
- agentics quantify "calculate ROI for the Q4 infrastructure upgrade"
29
+ **Agentics CLI** is an enterprise-grade AI agent orchestration platform that enables organizations to plan, simulate, deploy, and govern AI agent infrastructure at scale. It provides a unified command-line interface for managing the full lifecycle of AI agent deployments -- from initial simulation planning through compliance packaging and infrastructure export.
30
+
31
+ The platform orchestrates **27 deployed agent domains** comprising **109 specialized agents** that cover security, cost optimization, observability, governance, ERP integration, and more. Agents are dispatched in parallel through **33 auto-dispatched multi-agent combinations**, enabling complex enterprise workflows to be resolved through a single natural language command.
32
+
33
+ Agentics CLI integrates directly with enterprise ERP systems including SAP S/4HANA, Oracle ERP Cloud, and Microsoft Dynamics 365, and exports production-ready infrastructure-as-code for Terraform, Kubernetes, CloudFormation, Pulumi, and Ansible. All operations produce auditable artifacts suitable for SOC2, HIPAA, GDPR, and PCI-DSS compliance reviews.
34
+
35
+ ---
36
+
37
+ ## Key Features
38
+
39
+ - **6-Phase Enterprise Pipeline** -- Structured workflow from simulation through deployment with full traceability
40
+ - **27 Agent Domains, 109 Agents** -- Specialized agents for security, cost analysis, observability, governance, and more
41
+ - **Multi-Agent Orchestration** -- 33 pre-configured agent combinations dispatched in parallel via `agentics ask`
42
+ - **Natural Language Interface** -- Describe tasks in plain English; the CLI classifies intent and routes automatically
43
+ - **10 ERP System Integrations** -- Native connectors for SAP, Oracle, NetSuite, Dynamics 365, and more
44
+ - **Infrastructure-as-Code Export** -- Generate Terraform, Kubernetes, CloudFormation, Pulumi, and Ansible artifacts
45
+ - **Compliance Packaging** -- Automated SOC2, HIPAA, GDPR, and PCI-DSS artifact generation
46
+ - **CFO-Grade Financial Analysis** -- ROI quantification with executive-summary and detailed reporting
47
+ - **MCP Server Integration** -- Operates as a Model Context Protocol server for AI-native toolchains
48
+ - **Deterministic Simulation** -- Reproducible simulation runs with configurable iteration counts and parallelism
49
+
50
+ ---
51
+
52
+ ## Architecture
53
+
54
+ ### 6-Phase Enterprise Pipeline
55
+
56
+ ```
57
+ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐
58
+ │ │ │ │ │ │ │ │ │ │ │ │
59
+ │ PLAN │───>│ SIMULATE │───>│ INSPECT │───>│ QUANTIFY │───>│ DEPLOY │───>│ EXPORT │
60
+ │ │ │ │ │ │ │ │ │ │ │ │
61
+ └───────────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘
62
+ │ │ │ │ │ │
63
+ v v v v v v
64
+ Simulation Iteration Metrics & Financial Deployment IaC Artifacts
65
+ Planner Runner Outputs ROI Engine Intent & Compliance
66
+ ```
67
+
68
+ ### Agent Routing
69
+
70
+ ```
71
+ agentics ask "<query>"
72
+
73
+ ├── Combo Dispatch (33 multi-agent sets, parallel)
74
+ ├── Single Agent Match (95 keyword rules)
75
+ └── Direct Invoke (agentics agents invoke <domain> <agent>)
76
+
77
+ v
78
+ 27 Agent Domains ── 109 Specialized Agents
12
79
  ```
13
80
 
14
- ## Installation
81
+ ---
82
+
83
+ ## Quick Start
84
+
85
+ ### Installation
15
86
 
16
87
  ```bash
17
88
  npm install -g @llm-dev-ops/agentics-cli
18
89
  ```
19
90
 
20
- Or run directly with npx:
91
+ Or run directly without installation:
21
92
 
22
93
  ```bash
23
94
  npx @llm-dev-ops/agentics-cli help
24
95
  ```
25
96
 
26
- ## Quick Start
27
-
28
- Commands accept either natural language in quotes or structured JSON references:
97
+ ### Authentication
29
98
 
30
99
  ```bash
31
- # Using natural language (just describe what you want in quotes)
32
- agentics plan "production-deployment"
33
- agentics simulate "run an enterprise ERP cost optimization simulation"
34
- agentics inspect "show me the results from the last production test"
35
- agentics quantify "calculate ROI for the Q4 infrastructure upgrade"
36
- agentics deploy "deploy the microservices update to staging"
37
- agentics export "generate terraform for the new kubernetes cluster"
100
+ agentics login
101
+ ```
102
+
103
+ ### First Command
38
104
 
39
- # Using JSON references (for programmatic workflows)
40
- agentics simulate '{"id":"plan-123"}' --iterations 10
41
- agentics inspect '{"id":"sim-456"}' --output-type metrics
42
- agentics quantify '{"id":"sim-456"}' --report-type cfo-grade
105
+ ```bash
106
+ agentics ask "What is the cost breakdown for our AI agent infrastructure?"
43
107
  ```
44
108
 
45
- ## Workflow
109
+ > **Note:** All workflow commands accept natural language input in quotes. Structured JSON references are also supported for programmatic use.
46
110
 
47
- The CLI follows a structured pipeline for AI agent deployment:
111
+ ---
48
112
 
49
- ```
50
- plan → simulate → inspect → quantify → deploy → export
113
+ ## Core Workflow
114
+
115
+ The CLI follows a structured 6-phase pipeline for AI agent deployment. Each phase produces artifacts that feed into the next.
116
+
117
+ | Phase | Command | Description | Upstream Service |
118
+ |-------|---------|-------------|------------------|
119
+ | 1 | `agentics plan` | Create a simulation plan from an organization manifest | agentics-simulation-planner |
120
+ | 2 | `agentics simulate` | Execute simulation iterations against the plan | agentics-simulation-runner |
121
+ | 3 | `agentics inspect` | Retrieve deterministic outputs and metrics | agentics-simulation-engine |
122
+ | 4 | `agentics quantify` | Generate CFO-grade ROI and financial analysis | enterprise-roi-engine |
123
+ | 5 | `agentics deploy` | Resolve deployment intent from simulation results | agentics-deployment-intent |
124
+ | 6 | `agentics export` | Generate infrastructure-as-code artifacts | agentics-deployment-exporters |
125
+
126
+ An additional `diligence` command packages compliance artifacts across all phases.
127
+
128
+ ### Example: End-to-End Workflow
129
+
130
+ ```bash
131
+ # 1. Create a deployment plan
132
+ agentics plan "prod-cluster-v2" --params '{"region":"us-east-1"}'
133
+
134
+ # 2. Run 10 simulation iterations
135
+ agentics simulate '{"id":"plan-abc123"}' --iterations 10 --config '{"parallelism":4}'
136
+
137
+ # 3. Retrieve simulation metrics
138
+ agentics inspect '{"id":"sim-xyz789"}' --output-type metrics --format table
139
+
140
+ # 4. Generate financial analysis
141
+ agentics quantify '{"id":"sim-xyz789"}' --report-type cfo-grade \
142
+ --params '{"currency":"USD","timeframe":"annual"}'
143
+
144
+ # 5. Deploy to staging
145
+ agentics deploy '{"id":"sim-xyz789"}' --environment staging
146
+
147
+ # 6. Export Terraform configurations
148
+ agentics export '{"id":"intent-456"}' --export-format terraform --output ./infrastructure/
149
+
150
+ # 7. Package compliance documentation
151
+ agentics diligence '[{"id":"sim-xyz789"},{"id":"intent-456"}]' --frameworks SOC2,HIPAA
51
152
  ```
52
153
 
53
- | Stage | Description | Service |
54
- |-------|-------------|---------|
55
- | `plan` | Create simulation plan from org manifest | agentics-simulation-planner |
56
- | `simulate` | Execute simulation iterations | agentics-simulation-runner |
57
- | `inspect` | Retrieve simulation outputs | agentics-simulation-engine |
58
- | `quantify` | Generate CFO-grade ROI analysis | enterprise-roi-engine |
59
- | `deploy` | Resolve deployment intent | agentics-deployment-intent |
60
- | `export` | Generate IaC artifacts | agentics-deployment-exporters |
61
- | `diligence` | Package compliance artifacts | diligence-artifacts |
154
+ ---
62
155
 
63
- ## Commands
156
+ ## Commands Reference
64
157
 
65
- ### plan
158
+ ### Workflow Commands
159
+
160
+ #### `agentics plan`
66
161
 
67
162
  Create a simulation plan from an organization manifest.
68
163
 
@@ -70,108 +165,135 @@ Create a simulation plan from an organization manifest.
70
165
  agentics plan <manifest-query> [--params <json>]
71
166
  ```
72
167
 
73
- ### simulate
168
+ #### `agentics simulate`
74
169
 
75
170
  Execute a simulation from a plan reference or natural language description.
76
171
 
77
172
  ```bash
78
- # With JSON reference
79
- agentics simulate <plan-ref> [--config <json>] [--iterations <n>]
80
-
81
- # With natural language
82
- agentics simulate "run an enterprise ERP cost optimization simulation"
173
+ agentics simulate <plan-ref|description> [--config <json>] [--iterations <n>]
83
174
  ```
84
175
 
85
- ### inspect
176
+ #### `agentics inspect`
86
177
 
87
178
  Retrieve deterministic outputs from a simulation.
88
179
 
89
180
  ```bash
90
- # With JSON reference
91
- agentics inspect <sim-ref> [--output-type <type>]
92
-
93
- # With natural language
94
- agentics inspect "show me the results from the last production test"
181
+ agentics inspect <sim-ref|description> [--output-type <type>]
95
182
  ```
96
183
 
97
184
  Output types: `metrics`, `logs`, `state`, `events`, `summary`, `full`
98
185
 
99
- ### quantify
186
+ #### `agentics quantify`
100
187
 
101
188
  Generate financial impact and ROI analysis.
102
189
 
103
190
  ```bash
104
- # With JSON reference
105
- agentics quantify <sim-ref> [--report-type <type>] [--params <json>]
106
-
107
- # With natural language
108
- agentics quantify "calculate ROI for the Q4 infrastructure upgrade"
191
+ agentics quantify <sim-ref|description> [--report-type <type>] [--params <json>]
109
192
  ```
110
193
 
111
194
  Report types: `executive-summary`, `detailed-analysis`, `cfo-grade`, `custom`
112
195
 
113
- ### deploy
196
+ #### `agentics deploy`
114
197
 
115
198
  Resolve deployment intent from simulation results.
116
199
 
117
200
  ```bash
118
- # With JSON reference
119
- agentics deploy <sim-ref> [--spec <json>] [--environment <env>]
120
-
121
- # With natural language
122
- agentics deploy "deploy the microservices update to staging"
201
+ agentics deploy <sim-ref|description> [--spec <json>] [--environment <env>]
123
202
  ```
124
203
 
125
- ### export
204
+ #### `agentics export`
126
205
 
127
206
  Generate infrastructure-as-code deployment artifacts.
128
207
 
129
208
  ```bash
130
- # With JSON reference
131
- agentics export <intent-ref> [--export-format <format>] [--output <path>]
132
-
133
- # With natural language
134
- agentics export "generate terraform for the new kubernetes cluster"
209
+ agentics export <intent-ref|description> [--export-format <format>] [--output <path>]
135
210
  ```
136
211
 
137
212
  Export formats: `terraform`, `kubernetes`, `cloudformation`, `pulumi`, `ansible`, `custom`
138
213
 
139
- ### diligence
214
+ #### `agentics diligence`
140
215
 
141
216
  Package compliance and audit artifacts.
142
217
 
143
218
  ```bash
144
- # With JSON reference
145
- agentics diligence <refs> [--frameworks <list>] [--requirements <json>]
146
-
147
- # With natural language
148
- agentics diligence "package compliance docs for the SOC2 audit"
219
+ agentics diligence <refs|description> [--frameworks <list>] [--requirements <json>]
149
220
  ```
150
221
 
151
222
  Frameworks: `SOC2`, `HIPAA`, `GDPR`, `PCI-DSS`, `custom`
152
223
 
153
- ## Natural Language Input
224
+ ---
225
+
226
+ ### Agent Commands
227
+
228
+ #### `agentics ask`
154
229
 
155
- The CLI supports Claude-style natural language invocation for workflow commands. Instead of passing structured JSON references, you can describe what you want in plain English:
230
+ Route a natural language query to the appropriate agent(s). Automatically dispatches multi-agent combinations when applicable.
156
231
 
157
232
  ```bash
158
- # Natural language examples
159
- agentics simulate "run an enterprise ERP cost optimization simulation"
160
- agentics inspect "show me the results from the last production test"
161
- agentics quantify "calculate ROI for the Q4 infrastructure upgrade"
162
- agentics deploy "deploy the microservices update to staging"
163
- agentics export "generate terraform for the new kubernetes cluster"
164
- agentics diligence "package compliance docs for the SOC2 audit"
233
+ agentics ask "<natural language query>"
165
234
  ```
166
235
 
167
- Natural language input is automatically detected and forwarded to downstream services unchanged. Structured JSON input continues to work as before for backward compatibility.
236
+ #### `agentics agents list`
168
237
 
169
- **Input Detection Rules:**
170
- - Input starting with `{` or `[` is parsed as JSON
171
- - All other input is treated as natural language description
172
- - Invalid JSON syntax is treated as natural language
238
+ List all available agents across all domains.
239
+
240
+ ```bash
241
+ agentics agents list
242
+ ```
243
+
244
+ #### `agentics agents invoke`
173
245
 
174
- ## Global Options
246
+ Invoke a specific agent directly by domain and agent name.
247
+
248
+ ```bash
249
+ agentics agents invoke <domain> <agent> '{"text":"<prompt>"}'
250
+ ```
251
+
252
+ ---
253
+
254
+ ### ERP Integration Commands
255
+
256
+ | Command | Description |
257
+ |---------|-------------|
258
+ | `agentics erp list` | List all supported ERP systems and connection status |
259
+ | `agentics erp surface <system>` | Surface available modules and data structures |
260
+ | `agentics erp map <system> [--modules <list>]` | Map ERP fields to the Agentics data model |
261
+ | `agentics erp inspect <system>` | Inspect connection details and data availability |
262
+ | `agentics erp export <system> [--format <fmt>]` | Export data mappings for infrastructure generation |
263
+
264
+ ### Governance Commands
265
+
266
+ | Command | Description |
267
+ |---------|-------------|
268
+ | `agentics policy create <name> [--rules <json>]` | Create a governance policy |
269
+ | `agentics policy list` | List all policies |
270
+ | `agentics policy inspect <id>` | View policy details |
271
+ | `agentics policy enable <id>` | Enable a policy |
272
+ | `agentics policy disable <id>` | Disable a policy |
273
+ | `agentics policy delete <id>` | Delete a policy |
274
+ | `agentics audit [--from <date>] [--to <date>]` | Generate audit trails |
275
+
276
+ ### Observability Commands
277
+
278
+ | Command | Description |
279
+ |---------|-------------|
280
+ | `agentics inspect run <run-id>` | Inspect a specific simulation or deployment run |
281
+ | `agentics inspect artifacts <run-id>` | List artifacts produced by a run |
282
+ | `agentics inspect query [--status <s>]` | Query across runs with filters |
283
+ | `agentics usage [--period <period>]` | View usage statistics and quota information |
284
+
285
+ ### Account Commands
286
+
287
+ | Command | Description |
288
+ |---------|-------------|
289
+ | `agentics login` | Authenticate with the Agentics platform |
290
+ | `agentics logout` | Clear stored credentials |
291
+ | `agentics whoami` | Display current authenticated identity |
292
+ | `agentics version` | Display CLI and platform version |
293
+
294
+ ---
295
+
296
+ ### Global Options
175
297
 
176
298
  | Option | Description |
177
299
  |--------|-------------|
@@ -180,92 +302,300 @@ Natural language input is automatically detected and forwarded to downstream ser
180
302
  | `--format <fmt>` | Output format: `json`, `yaml`, `table`, `text`, `csv` |
181
303
  | `--verbose, -v` | Enable verbose output |
182
304
  | `--pretty` | Pretty-print output |
183
- | `--version` | Show version |
305
+ | `--version` | Show CLI version |
306
+ | `--help` | Display command help |
307
+
308
+ ---
309
+
310
+ ## Multi-Agent Orchestration
311
+
312
+ The Agentics platform organizes 109 specialized agents across 27 domains. The `agentics ask` command automatically classifies user intent and dispatches the optimal set of agents in parallel.
313
+
314
+ ### Agent Domains
315
+
316
+ | Domain | Agent Count | Capability |
317
+ |--------|-------------|------------|
318
+ | **shield** | 9 | Security scanning, PII detection, content safety, credential exposure |
319
+ | **test-bench** | 14 | Benchmarking, regression testing, red-teaming, bias and hallucination detection |
320
+ | **costops** | 5 | Cost attribution, forecasting, budgeting, ROI analysis |
321
+ | **observatory** | 7 | Telemetry, usage patterns, health checks, SLO monitoring |
322
+ | **orchestrator** | 7 | Workflow scheduling, dependency management, parallel execution |
323
+ | **sentinel** | 5 | Anomaly detection, drift monitoring, root cause analysis |
324
+ | **copilot** | 7 | Task planning, intent classification, decomposition |
325
+ | **memory-graph** | 6 | Conversation history, decision lineage, knowledge graphs |
326
+ | **connector-hub** | 5 | ERP integration, database queries, webhooks, SSO/OAuth |
327
+ | **auto-optimizer** | 3 | Token optimization, model selection, self-optimization |
328
+ | **edge** | 5 | Circuit breakers, failover, execution guards, caching |
329
+ | **forge** | 4 | SDK generation, CLI tooling, API translation |
330
+ | **platform** | 4 | Executive summaries, decision memos, risk scoring |
331
+ | **governance-dashboard** | 3 | Audit trails, impact analysis, oversight |
332
+ | **policy-engine** | 3 | Policy enforcement, constraints, approval workflows |
333
+ | **incident-manager** | 3 | Escalation, post-mortems, human-in-the-loop |
334
+ | **data-vault** | 2 | Access control, data anonymization |
335
+ | **simulator** | 2 | What-if analysis, scenario simulation |
336
+ | **latency-lens** | 2 | Latency profiling, cold-start analysis |
337
+ | **research-lab** | 2 | Hypothesis testing, metrics analysis |
338
+ | **analytics-hub** | 2 | Consensus building, recommendation reports |
339
+ | **registry** | 3 | Agent indexing, reputation scoring, bootstrapping |
340
+ | **marketplace** | 2 | Agent packaging, deprecation management |
341
+ | **config-manager** | 1 | Configuration validation |
342
+ | **schema-registry** | 1 | Schema validation |
343
+ | **benchmark-exchange** | 1 | Benchmark publishing |
344
+ | **inference-gateway** | 1 | Inference routing and load balancing |
345
+
346
+ ### Multi-Agent Combinations
347
+
348
+ When a query matches a known pattern, `agentics ask` dispatches multiple agents in parallel. Selected examples:
349
+
350
+ | Combination | Trigger Patterns | Agents Dispatched |
351
+ |-------------|-----------------|-------------------|
352
+ | cost-analysis | "cost analysis", "spending report" | costops/attribution + forecast + roi |
353
+ | security-scan | "security scan", "safety scan" | shield/prompt-injection + pii + secrets + toxicity + credential-exposure |
354
+ | model-evaluation | "evaluate model", "model quality" | test-bench/benchmark + quality + hallucination + faithfulness |
355
+ | incident-response | "service down", "outage" | incident-manager/escalation + post-mortem + sentinel/rca + observatory/failures |
356
+ | executive-brief | "executive summary", "board report" | platform/executive-summary + costops/attribution + observatory/slo + research-lab/metrics |
357
+ | compliance-review | "compliance check", "GDPR", "HIPAA" | governance-dashboard/audit + oversight + policy-engine/enforce + data-vault/access-control |
358
+ | decision-package | "go/no-go", "decision package" | platform/decision + decision-memo + risk-score + costops/roi |
359
+ | latency-debug | "why is it slow", "latency issue" | latency-lens/latency + cold-start + sentinel/anomaly + rca |
360
+ | resilience-check | "handle failures", "make resilient" | edge/circuit-breaker + failover + execution-guard + orchestrator/retry |
361
+ | enterprise-data | "query SAP", "ERP data" | connector-hub/database-query + erp-surface + auth-identity |
362
+
363
+ > **Note:** 33 multi-agent combinations are available in total. Run `agentics agents list` for the complete catalog.
364
+
365
+ ---
366
+
367
+ ## ERP Integration
368
+
369
+ The platform provides native connectors for 10 enterprise ERP systems through the `connector-hub` agent domain.
370
+
371
+ | ERP System | API Type | Key Modules |
372
+ |------------|----------|-------------|
373
+ | **SAP S/4HANA** | OData / RFC | Finance, Materials Management, Sales, HR, Plant Maintenance |
374
+ | **Oracle ERP Cloud** | REST | General Ledger, Procurement, Project Management, Fixed Assets |
375
+ | **NetSuite** | SuiteTalk / REST | Financial Management, CRM, Inventory, E-commerce |
376
+ | **Microsoft Dynamics 365** | Dataverse / OData | Finance, Supply Chain, Commerce, Human Resources |
377
+ | **Infor CloudSuite** | ION API | Manufacturing, Distribution, Finance, HCM |
378
+ | **Epicor Kinetic** | REST | Manufacturing, Distribution, Financial Management |
379
+ | **Sage X3** | REST / SOAP | Finance, Distribution, Manufacturing |
380
+ | **IFS Cloud** | REST | Asset Management, Field Service, Manufacturing, Projects |
381
+ | **Workday** | REST / SOAP | HCM, Financial Management, Planning, Payroll |
382
+ | **PeopleSoft** | Component Interface | HCM, Finance, Supply Chain, Campus Solutions |
184
383
 
185
- Use `agentics help` to display full usage information.
384
+ ```bash
385
+ # List available ERP systems
386
+ agentics erp list
186
387
 
187
- ## Environment Variables
388
+ # Surface modules from SAP
389
+ agentics erp surface sap-s4hana
188
390
 
189
- Override default service endpoints:
391
+ # Map ERP fields to Agentics data model
392
+ agentics erp map dynamics-365 --modules finance,supply-chain
190
393
 
191
- | Variable | Service |
192
- |----------|---------|
193
- | `AGENTICS_MANIFESTS_URL` | Organization manifests |
194
- | `AGENTICS_PLANNER_URL` | Simulation planner |
195
- | `AGENTICS_RUNNER_URL` | Simulation runner |
196
- | `AGENTICS_SIMULATION_ENGINE_URL` | Simulation engine |
197
- | `ENTERPRISE_ROI_ENGINE_URL` | ROI engine |
198
- | `AGENTICS_INTENT_URL` | Deployment intent |
199
- | `AGENTICS_EXPORTERS_URL` | Deployment exporters |
200
- | `DILIGENCE_URL` | Diligence artifacts |
394
+ # Export mappings as Terraform
395
+ agentics erp export oracle-erp-cloud --format terraform
396
+ ```
201
397
 
202
- ## Exit Codes
398
+ ---
203
399
 
204
- | Code | Description |
205
- |------|-------------|
206
- | 0 | Success |
207
- | 1 | General error |
208
- | 64 | Usage error |
209
- | 65 | Data format error |
210
- | 69 | Service unavailable |
211
- | 70 | Internal error |
212
- | 100 | Argument validation error |
213
- | 120 | Network error |
214
- | 130 | Authentication error |
215
- | 140 | Service error |
400
+ ## Compliance and Governance
216
401
 
217
- ## Examples
402
+ Agentics CLI supports automated compliance artifact generation for major regulatory frameworks.
218
403
 
219
- ### Full Workflow
404
+ | Framework | Coverage |
405
+ |-----------|----------|
406
+ | **SOC2** | Trust Services Criteria (Security, Availability, Processing Integrity, Confidentiality, Privacy) |
407
+ | **HIPAA** | Administrative, Physical, and Technical Safeguards; Breach Notification |
408
+ | **GDPR** | Data Processing Records, DPIA, Data Subject Rights, Cross-Border Transfer |
409
+ | **PCI-DSS** | Cardholder Data Protection, Access Control, Network Security, Monitoring |
220
410
 
221
411
  ```bash
222
- # 1. Create plan for production deployment
223
- agentics plan "prod-cluster-v2" --params '{"region":"us-east-1"}'
412
+ # Generate compliance package
413
+ agentics diligence "package compliance artifacts for SOC2 and HIPAA audit"
224
414
 
225
- # 2. Run 10 simulation iterations
226
- agentics simulate '{"id":"plan-abc123","type":"PlanReference"}' \
227
- --iterations 10 \
228
- --config '{"parallelism":4}'
415
+ # Run governance audit
416
+ agentics audit --from 2025-01-01 --to 2025-12-31 --format json
229
417
 
230
- # 3. Get simulation metrics
231
- agentics inspect '{"id":"sim-xyz789"}' --output-type metrics --format table
418
+ # Create and enforce policies
419
+ agentics policy create data-retention --rules '{"max_days":90,"pii_handling":"encrypt"}'
420
+ agentics policy enable data-retention
421
+ ```
232
422
 
233
- # 4. Generate CFO report
234
- agentics quantify '{"id":"sim-xyz789"}' \
235
- --report-type cfo-grade \
236
- --params '{"currency":"USD","timeframe":"annual"}'
423
+ > **Important:** Compliance artifacts are generated based on platform telemetry and simulation data. They should be reviewed by qualified compliance personnel before submission to auditors.
237
424
 
238
- # 5. Deploy to staging
239
- agentics deploy '{"id":"sim-xyz789"}' --environment staging
425
+ ---
426
+
427
+ ## Infrastructure Export
428
+
429
+ The `export` command generates production-ready infrastructure-as-code from deployment intents.
430
+
431
+ | Format | Output | Use Case |
432
+ |--------|--------|----------|
433
+ | **Terraform** | `.tf` files with provider configurations | Multi-cloud infrastructure provisioning |
434
+ | **Kubernetes** | YAML manifests (Deployments, Services, ConfigMaps) | Container orchestration |
435
+ | **CloudFormation** | JSON/YAML templates | AWS-native infrastructure |
436
+ | **Pulumi** | TypeScript/Python programs | Programmatic infrastructure |
437
+ | **Ansible** | Playbooks and role definitions | Configuration management |
438
+
439
+ ```bash
440
+ # Export Terraform for a deployment intent
441
+ agentics export '{"id":"intent-456"}' --export-format terraform --output ./infra/terraform/
442
+
443
+ # Export Kubernetes manifests
444
+ agentics export "generate kubernetes manifests for the production cluster" --output ./infra/k8s/
445
+
446
+ # Export CloudFormation template
447
+ agentics export '{"id":"intent-456"}' --export-format cloudformation --output ./infra/cfn/
448
+ ```
449
+
450
+ ---
451
+
452
+ ## Natural Language Interface
453
+
454
+ All workflow commands accept natural language descriptions in place of structured JSON references. The CLI automatically detects input type and routes accordingly.
455
+
456
+ ```bash
457
+ # Simulation planning
458
+ agentics plan "production deployment for the payments microservice"
459
+
460
+ # Simulation execution
461
+ agentics simulate "run an enterprise ERP cost optimization simulation"
462
+
463
+ # Results inspection
464
+ agentics inspect "show me the results from the last production test"
465
+
466
+ # Financial analysis
467
+ agentics quantify "calculate ROI for the Q4 infrastructure upgrade"
240
468
 
241
- # 6. Export Terraform configs
242
- agentics export '{"id":"intent-456"}' \
243
- --export-format terraform \
244
- --output ./infrastructure/
469
+ # Deployment
470
+ agentics deploy "deploy the microservices update to staging"
471
+
472
+ # IaC generation
473
+ agentics export "generate terraform for the new kubernetes cluster"
474
+
475
+ # Compliance packaging
476
+ agentics diligence "package compliance docs for the SOC2 audit"
245
477
 
246
- # 7. Package compliance docs
247
- agentics diligence '[{"id":"sim-xyz789"},{"id":"intent-456"}]' \
248
- --frameworks SOC2,HIPAA
478
+ # Multi-agent queries
479
+ agentics ask "what is the cost vs quality tradeoff for switching to a smaller model?"
249
480
  ```
250
481
 
251
- ### JSON Output for Scripting
482
+ **Input Detection Rules:**
483
+
484
+ - Input beginning with `{` or `[` is parsed as structured JSON
485
+ - All other input is treated as a natural language description
486
+ - Malformed JSON is treated as natural language
487
+
488
+ ---
489
+
490
+ ## Environment Variables
491
+
492
+ | Variable | Description | Default |
493
+ |----------|-------------|---------|
494
+ | `AGENTICS_API_KEY` | Platform API key for authentication | -- |
495
+ | `AGENTICS_PLATFORM_URL` | Base URL for the Agentics platform | `https://platform.agentics.dev` |
496
+ | `AGENTICS_MANIFESTS_URL` | Organization manifests service endpoint | Platform default |
497
+ | `AGENTICS_PLANNER_URL` | Simulation planner service endpoint | Platform default |
498
+ | `AGENTICS_RUNNER_URL` | Simulation runner service endpoint | Platform default |
499
+ | `AGENTICS_SIMULATION_ENGINE_URL` | Simulation engine service endpoint | Platform default |
500
+ | `ENTERPRISE_ROI_ENGINE_URL` | ROI engine service endpoint | Platform default |
501
+ | `AGENTICS_INTENT_URL` | Deployment intent service endpoint | Platform default |
502
+ | `AGENTICS_EXPORTERS_URL` | Deployment exporters service endpoint | Platform default |
503
+ | `DILIGENCE_URL` | Diligence artifacts service endpoint | Platform default |
504
+ | `ANTHROPIC_API_KEY` | Anthropic API key (for NL classification) | -- |
505
+ | `OPENAI_API_KEY` | OpenAI API key (alternative NL provider) | -- |
506
+
507
+ ---
508
+
509
+ ## Exit Codes
510
+
511
+ | Code | Name | Description |
512
+ |------|------|-------------|
513
+ | `0` | Success | Command completed successfully |
514
+ | `1` | General Error | Unspecified error |
515
+ | `64` | Usage Error | Invalid command syntax or arguments |
516
+ | `65` | Data Format Error | Invalid input data format |
517
+ | `69` | Service Unavailable | Upstream service is unreachable |
518
+ | `70` | Internal Error | Unexpected internal error |
519
+ | `100` | Validation Error | Argument or schema validation failed |
520
+ | `120` | Network Error | Network connectivity failure |
521
+ | `130` | Authentication Error | Invalid or expired credentials |
522
+ | `140` | Service Error | Upstream service returned an error |
523
+
524
+ ---
525
+
526
+ ## API Reference
527
+
528
+ Complete API documentation is available on the Agentics platform:
529
+
530
+ - **Platform Console:** [https://platform.agentics.dev](https://platform.agentics.dev)
531
+ - **API Documentation:** [https://platform.agentics.dev/docs](https://platform.agentics.dev/docs)
532
+ - **CLI Help:** Run `agentics help` or `agentics <command> --help`
533
+
534
+ The CLI also operates as a **Model Context Protocol (MCP) server**, enabling integration with AI-native development environments and agent toolchains.
535
+
536
+ ---
537
+
538
+ ## Security
539
+
540
+ The Agentics CLI implements the following security measures:
541
+
542
+ - **Authentication** -- API key and token-based authentication with the platform
543
+ - **Transport Security** -- All communications use TLS 1.2+
544
+ - **Credential Storage** -- Credentials are stored in the user's OS keychain or local configuration with restricted file permissions
545
+ - **Input Validation** -- All inputs are validated using Zod schemas before processing
546
+ - **Audit Logging** -- All agent invocations and data access operations are logged for audit
547
+ - **Policy Enforcement** -- Configurable policies govern agent execution boundaries and data access
548
+
549
+ To report security vulnerabilities, contact [security@globalbusinessadvisors.com](mailto:security@globalbusinessadvisors.com).
550
+
551
+ ---
552
+
553
+ ## Contributing
554
+
555
+ Contributions are welcome. To contribute:
556
+
557
+ 1. Fork the repository at [https://github.com/llm-dev-ops/agentics-cli](https://github.com/llm-dev-ops/agentics-cli)
558
+ 2. Create a feature branch from `main`
559
+ 3. Ensure all tests pass: `npm test`
560
+ 4. Ensure type checking passes: `npm run typecheck`
561
+ 5. Ensure linting passes: `npm run lint`
562
+ 6. Submit a pull request with a clear description of the changes
563
+
564
+ ### Development Setup
252
565
 
253
566
  ```bash
254
- # Get simulation ID from plan
255
- PLAN_REF=$(agentics plan "my-deployment" --format json)
256
- SIM_REF=$(agentics simulate "$PLAN_REF" --format json)
257
- agentics quantify "$SIM_REF" --report-type executive-summary
567
+ git clone https://github.com/llm-dev-ops/agentics-cli.git
568
+ cd agentics-cli
569
+ npm install
570
+ npm run build
571
+ npm test
258
572
  ```
259
573
 
260
- ## Platform
574
+ ---
575
+
576
+ ## Support
261
577
 
262
- For API key management and interactive workflows, visit:
263
- **https://platform.agentics.dev**
578
+ | Channel | Link |
579
+ |---------|------|
580
+ | Platform | [https://platform.agentics.dev](https://platform.agentics.dev) |
581
+ | GitHub Issues | [https://github.com/llm-dev-ops/agentics-cli/issues](https://github.com/llm-dev-ops/agentics-cli/issues) |
582
+ | Repository | [https://github.com/llm-dev-ops/agentics-cli](https://github.com/llm-dev-ops/agentics-cli) |
583
+ | npm | [https://www.npmjs.com/package/@llm-dev-ops/agentics-cli](https://www.npmjs.com/package/@llm-dev-ops/agentics-cli) |
584
+
585
+ ---
264
586
 
265
587
  ## Requirements
266
588
 
267
- - Node.js >= 18.0.0
589
+ - **Node.js** >= 18.0.0
590
+ - **npm** >= 9.0.0 (included with Node.js 18+)
591
+ - **Operating Systems:** macOS, Linux, Windows (WSL2 recommended)
592
+
593
+ ---
268
594
 
269
595
  ## License
270
596
 
271
- This software requires a paid usage license from **Global Business Advisors**. All rights reserved. Unauthorized use, reproduction, or distribution is prohibited. Contact [Global Business Advisors](https://globalbusinessadvisors.com) for licensing information.
597
+ This software requires a paid usage license from **Global Business Advisors**. All rights reserved. Unauthorized use, reproduction, or distribution is prohibited.
598
+
599
+ For licensing inquiries, contact [Global Business Advisors](https://globalbusinessadvisors.com).
600
+
601
+ Copyright (c) 2025 Global Business Advisors. All rights reserved.