CLI
AI Commands
Configure and use AI-powered features
saedra ai setup
Configure the AI provider and API key used by AI-powered commands (e.g. saedra memory state update --ai). The configuration is saved to ~/.saedra/ai.json with restricted permissions (0600).
$ saedra ai setup
AI Setup
? AI provider: > Claude (Anthropic)
OpenAI
? Anthropic API key (sk-ant-...): **********************
AI configured: claude
Config saved to: /home/user/.saedra/ai.jsonIf AI is already configured, prompts for confirmation before overwriting.
saedra ai status
Show the currently configured AI provider and a masked version of the API key.
$ saedra ai status
AI Configuration
Provider: claude
API Key: sk-ant-a...3f2d
Config: /home/user/.saedra/ai.jsonsaedra ai remove
Remove the AI configuration.
$ saedra ai remove
? Remove AI configuration (claude)? (y/N)
AI configuration removed.saedra --version
Show the CLI version.
saedra --help
List all available commands.