Zyora Labs
Z-AI / VS Code

VS Code extension

Sidebar chat, code actions and inline completions in any model the gateway exposes. Works in VS Code, Cursor, VSCodium and Windsurf.

Sign in

Open the Command Palette (⌘⇧P) and run Z-AI: Sign in. Paste your zk_live_… key when prompted — it's stored in VS Code SecretStorage (OS keychain), never in plain settings.

Don't have a key yet? Create one here.

Features
  • Sidebar chat — streaming responses, multi-turn history, model switcher and an "attach selection" chip that sends the editor selection along with your message.
  • Code actions — right-click any selection →Z-AI:
    • Explain selection
    • Refactor selection
    • Generate tests
    • Add comments / docstrings
  • Status bar model picker — bottom-right shows the current model. Click to switch between any model your key has access to. Loaded live from /v1/models.
  • Inline ghost-text completions (opt-in) — autocompletion as you type, like Copilot. Toggle with Z-AI: Toggle inline completions.
  • Secure storage — API key kept in VS Code SecretStorage so it never lands in settings.json or git.
Settings

Open Settings → search Z-AI.

SettingDefaultNotes
zai.baseUrlhttp://127.0.0.1:8011/v1Set to https://api.zyoralabs.com/v1 for production
zai.defaultModelopenai/gpt-5.4-miniUsed for chat and code actions
zai.completionModelopenai/gpt-5.4-miniUsed for inline completions (pick something fast)
zai.completions.enabledfalseMaster switch for ghost-text suggestions
zai.completions.debounceMs350Wait this long after a keystroke
zai.completions.maxTokens96Max tokens per completion
zai.completions.contextLines60Lines of context (before+after cursor) sent
Commands
CommandWhat it does
Z-AI: Sign inPaste an API key (stored in SecretStorage)
Z-AI: Sign outForget the API key on this machine
Z-AI: Open chatFocus the chat sidebar
Z-AI: Pick modelLive-loaded model picker
Z-AI: Explain selectionExplain the highlighted code
Z-AI: Refactor selectionRewrite for clarity, same behavior
Z-AI: Generate tests for selectionIdiomatic unit tests
Z-AI: Add comments to selectionAdd docstrings without changing logic
Z-AI: Toggle inline completionsTurn ghost-text on/off
Z-AI: Show account infoOrg + key + spend in a notification
Pair with the CLI

Use the CLI alongside the extension for ad-hoc workflows — model arena comparisons, live log tailing, scripting completions. Both share the same gateway and the same key.

bash
npm install -g @zyoralabs/zai-cli
zai login
zai chat -m anthropic/claude-4.5-sonnet "draft a release note for v0.2.0"