Arcana ARCANA

Trust & Security

Arcana is a terminal-native tool that runs on your machine. Understanding what it can read, write, remember, and expose is critical for using it safely — especially in enterprise environments.

Core Principle: BYOK, Local-First

Arcana follows a bring your own key (BYOK) model. Your API keys, sessions, memory, and code never leave your machine unless you explicitly enable cloud sync or the proxy API.

What Arcana May Read

DataWhenWhere it goes
Files in your projectWhen you ask it to analyze codeSent to your configured LLM provider
Shell outputWhen tools execute commandsStays local (sent to LLM only if agent reads it)
Git historyWhen reviewing commits/PRsSent to LLM provider
Environment variablesAt startup for provider detectionAPI keys sent to respective providers
Skill files (SKILL.md)When skills are loadedIncluded in system prompt to LLM
Memory databaseAt session start for contextRelevant facts included in prompt

What Arcana May Write

DataLocationCan be disabled?
Session transcripts~/.arcana/data/sessions/No (required for history)
Memory facts~/.arcana/data/memory.dbYes (memory.enabled: false)
Cron job definitions~/.arcana/data/cron-jobs.jsonYes (don't create jobs)
Workspace trust fingerprints~/.arcana/data/workspace-trust.jsonNo (security requirement)
Skill cache~/.cache/arcana/skills-cache.jsonNo (auto-rebuilt)
Project filesYour working directoryOnly when you approve tool calls

What Arcana Remembers

Memory persists across sessions and includes:

  • Extracted facts — key decisions, architecture notes, conventions
  • Skill usage stats — which skills you use most often
  • Session metadata — timestamps, token usage, model used

Memory is stored locally in SQLite. It never leaves your machine unless you enable cloud sync.

What Arcana May Expose

DataWhenMitigation
API keysSent to LLM providers for inferenceUse env vars, never commit to git
Code snippetsSent to LLM provider when analyzingChoose providers with strong data policies
Memory factsIf cloud sync is enabledDisable cloud sync if sensitive
Gateway messagesChat platforms (Telegram, Discord, etc.)Use allowlists to restrict access

Tool Permissions

Arcana's tools (shell, filesystem, git, MCP) require explicit permission. You control access through:

  • Interactive approval — default mode, asks before each tool call
  • Workspace trustarcana trust allows project-level extensions
  • Autonomy modes — from read-only to full execution
  • Gateway allowlists — restrict who can interact with your agent

Data Residency

  • Local by default — all data stays on your machine
  • Provider egress — prompts are sent to your chosen LLM provider
  • AWS Bedrock — data stays within AWS (no external egress)
  • Ollama — fully local, no data leaves your machine at all

Enterprise Considerations

  • Use ARCANA_DISABLE_WORKSPACE_TRUST=1 to skip trust checks in CI
  • Use ARCANA_TRUST_WORKSPACE=1 for automated environments
  • AWS Bedrock + IAM provides the strongest data residency guarantees
  • Disable cloud sync and gateway for air-gapped environments
Last updated: Jul 24, 2026