Skip to content

AI Connection

The second wizard step connects an AI provider. xyva is BYOK — every provider runs against keys you supply. Keys are encrypted by the local agent before leaving your machine.

Supported providers

ProviderNotes
Google GeminiAPI key or gcloud ADC
OpenAIAPI key
Anthropic ClaudeAPI key
Azure OpenAIendpoint + key + deployment name
OpenRouterAPI key
GroqAPI key
DeepSeekAPI key
Ollamalocal URL (default http://localhost:11434)
LM Studiolocal URL (default http://localhost:1234/v1)
Codex CLI / Codex Proxyfor direct-chat workflows
MS Copilotenterprise rollouts via AI Proxy
AI Proxyxyva.ai's hosted proxy for centrally managed keys

How keys are stored

  1. You paste the key in the portal.
  2. The portal forwards it over the WebSocket bridge to the local agent.
  3. The agent encrypts it with the OS keychain (safeStorage on macOS/Windows, libsecret on Linux) and writes the ciphertext to ~/.xyva/credentials.json.
  4. Only the encrypted form is mirrored back to the portal database, and only if you opt in to portable settings (off by default).

The raw key never sits in plaintext on the portal side.

Observer Mode

If you don't want to attach AI yet, pick Observer Mode. You keep:

  • Runner, Test Hub, Test Builder
  • Accessibility Auditor
  • Run history, reports, PDF export

You skip:

  • Brain (AI chat), Auto-Fix
  • Swarm QA's AI enrichment (you can still run agents without enrichment)
  • Project Scout

You can connect a provider later from Settings → AI Providers.

  1. Pick the provider where your team's billing already lives.
  2. Paste the key, click Verify connection — the agent makes a low-cost test call to confirm.
  3. Pick a default model from the catalogue (e.g. gemini-2.5-flash, gpt-4o-mini, claude-sonnet-4-6).
  4. Adjust the Agent Sandbox if you plan to run Builder/Operator-mode AI workflows.

Troubleshooting

SymptomFix
401 / 403 on verifyWrong region/endpoint, or key lacks model access
connection refused for OllamaMake sure ollama serve is running and reachable from the agent
Azure rejects requestCheck AZURE_OPENAI_API_VERSION and the deployment name
Corporate proxy blocks callSet HTTPS_PROXY for the agent process; see Proxy & Network

Cloud portal · Local Playwright agent.