# Agents and models

Use native agent CLIs when they exist, or connect any OpenAI-compatible endpoint for direct model access.

Canonical: https://panevibe.com/docs/agents-and-models/
Source: https://github.com/brandonmlicea/panevibe

## CLI providers

CLI panes are the primary path. Authentication remains inside the CLI. PaneVibe does not proxy or reinterpret the agent's own session, tools, resume behavior, or credentials.

- Claude Code powers the default chat pane when it is on PATH.
- Codex gets a dedicated pane so its live TUI redraws and caret remain native.
- Any shell remains a first-class pane rather than a degraded fallback.

## API and local providers

Settings → Providers accepts OpenAI, Gemini, Grok, Mistral, and custom OpenAI-compatible chat-completions endpoints. Custom endpoints cover Ollama, vLLM, LM Studio, llama.cpp, Together, DeepInfra, Groq, and private gateways.

Tool calling is negotiated per provider. Set it to off for endpoints that reject a tools field; the pane falls back to plain completion instead of failing.

## Bounded delegation

The built-in assist server lets a primary agent delegate self-contained work to a cheaper secondary model. The helper receives no tools of its own, keeping the subtask bounded while preserving the main agent's context for harder decisions.
