-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathdoc.go
More file actions
55 lines (55 loc) · 2.51 KB
/
doc.go
File metadata and controls
55 lines (55 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// ChatCLI is a multi-provider AI platform for terminal, server, and Kubernetes.
//
// It connects 11 LLM providers (OpenAI, Anthropic Claude, Google Gemini, xAI Grok,
// ZAI, MiniMax, GitHub Copilot, GitHub Models, StackSpot AI, Ollama, and OpenAI
// Assistants) to a unified interface with autonomous agents, native tool calling,
// automatic provider failover, and a full AIOps pipeline.
//
// # Three Modes of Operation
//
// - Interactive CLI: Terminal-based TUI (Bubble Tea) with context injection,
// 12 specialized agents running in parallel, and tool calling.
// - gRPC Server: Centralized server with JWT + RBAC authentication, TLS 1.3,
// rate limiting, Prometheus metrics, MCP integration, and plugin/agent discovery.
// - Kubernetes Operator: 17 CRDs powering an autonomous AIOps pipeline with
// anomaly detection, AI-driven root cause analysis, 54+ automated remediation
// actions, approval workflows, SLO monitoring, and auto-generated post-mortems.
//
// # Key Features
//
// - Multi-provider with automatic failover and exponential backoff
// - ReAct engine with 12 specialized agents (File, Coder, Shell, Git, Search,
// Planner, Reviewer, Tester, Refactor, Diagnostics, Formatter, Deps)
// - Native tool calling via OpenAI, Anthropic, Google, ZAI, and MiniMax APIs
// - MCP (Model Context Protocol) for extending LLM capabilities
// - OAuth PKCE + Device Flow authentication with AES-256-GCM encrypted storage
// - Plugin system with Ed25519 signature verification
// - Persistent contexts, bootstrap files (SOUL.md, USER.md), and long-term memory
// - Session management with AES-256-GCM encryption at rest
// - Cost tracking per session and provider
// - Internationalization (Portuguese and English)
//
// # Enterprise Security
//
// - JWT authentication with RBAC roles (admin, user, readonly)
// - AES-256-GCM encryption for credentials and sessions
// - TLS 1.3 enforcement with mTLS support
// - SSRF prevention blocking private IPs and cloud metadata endpoints
// - Per-client token-bucket rate limiting
// - Ed25519 plugin signature verification
// - Agent command allowlist (150+ pre-approved commands)
// - Structured audit logging (JSON lines)
// - Automated security scanning (govulncheck, gosec, Dependabot)
//
// # Installation
//
// brew tap diillson/chatcli && brew install chatcli
//
// Or:
//
// go install github.com/diillson/chatcli@latest
//
// Full documentation: https://chatcli.edilsonfreitas.com
//
// Source code: https://github.com/diillson/chatcli
package main