Settings
Configure your account, appearance, and API access.
Settings
Manage your account, configure API keys, switch appearance modes, and control how Archon behaves.
Account management
The Account section shows your current profile information and session status.
- Email address — the email used to sign in. Visible but not editable from within the app.
- Apple Sign In — if you signed in with Apple, your anonymized email or real email is shown depending on your Apple ID preferences.
- Session info — shows when your session was last refreshed. Sessions are stored securely in the iOS Keychain.
Sign out
Tap Sign Out to end your session. This clears your session token from the Keychain but does not delete your projects or account data. You can sign back in at any time.
Account deletion
Account deletion is available from the bottom of the Account section. This is a permanent, irreversible action:
- All projects and their conversation history are deleted from the server
- Generated files are permanently removed
- Your API keys are cleared from the app
- Your session is invalidated
Deletion is processed immediately. There is no grace period or recovery option.
Appearance
Archon supports four appearance modes to match your preferences and lighting conditions:
Your appearance choice is saved locally and applied immediately across all screens.
API configuration
The API Configuration section is where you connect your own AI provider accounts. Archon uses your keys directly — there is no middle layer, and your keys are stored only on your device.
Supported providers
// Each provider requires an API key from their dashboard:
//
// OpenAI → platform.openai.com/api-keys
// Anthropic → console.anthropic.com/settings/keys
// Google → aistudio.google.com/app/apikey
// OpenRouter → openrouter.ai/keys
//
// Keys are stored in the iOS Keychain.
// They are never transmitted to any server
// other than the provider's own API endpoint.
Setting a key
Tap a provider row, paste your API key, and tap Save. Archon validates the key immediately by sending a lightweight test request. If valid, the corresponding models become available in the AI Builder's model selector.
Removing a key
Swipe left on a provider row and tap Delete to remove a key. The corresponding models are disabled immediately. Previously generated projects are not affected — you can still browse code and preview them.
About and licenses
The About section shows:
- App version — current version and build number
- License — Archon is MIT licensed. Full license text is included in the app.
- Open source credits — third-party libraries and their licenses
- Links — GitHub repository, privacy policy, and support page
Settings data model
// User preferences (simplified)
struct UserPreferences {
var appearanceMode: AppearanceMode // .dark, .light, .system, .glass
var selectedModel: String // e.g. "claude-sonnet-4-20250514"
var defaultProvider: Provider // .openai, .anthropic, .google, .openRouter
var codeFontSize: CGFloat // 12–24pt
var previewAutoRefresh: Bool // auto-reload preview after builds
}
// API keys are stored separately in the Keychain,
// not in UserDefaults or any plist file.