Security & Privacy Architecture
AgentX is designed around strict security, sandboxing, and credential protection principles.
Native Credential Encryption
- No Plaintext Secrets: API keys are never stored in plaintext dotfiles or JSON caches.
- OS Keychain Integration: Credentials are protected via OS-level hardware encryption:
- macOS: Apple Keychain Services
- Windows: Windows Credential Manager (DPAPI)
- Linux: Freedesktop Secret Service (GNOME Keyring / KWallet)
- Masked Display: Keys shown in terminal or logs are truncated:
sk-ant••••••••ABCD.
Sandboxed Tool Execution
- Workspace Boundary: AgentX commands run exclusively within your current project root.
- Ignored Files: Automatically writes sensitive credentials to
.env.localand validates.gitignorebefore repository commits. - Local Inference Privacy: When using Ollama or LM Studio, no code, logs, or prompt tokens leave your local network.
Vulnerability Reporting
Report security issues directly via our GitHub Security Advisories or repository issues.