docs/05-provider-adapters.md
Provider adapters
v0 supports these providers:
claudecodexgeminicustom
Adapters live in packages/providers and are configured via environment variables (see docs/10-config.md).
CLI defaults
Claude
- Forced to
--output-format stream-jsonand--input-format stream-json. - Stdin kept open between turns.
Codex
- Uses the local fork in
packages/providers/codex. - Runs
codex vuhlp(jsonl stdin/stdout).
Gemini
- Uses stream-json input/output.
- Local fork in
packages/providers/gemini-clirecommended for stream-json stdin.
Native tool handling
For Claude/Codex/Gemini, native tools are executed by the provider CLIs. Vuhlp only uses tool_call JSON for vuhlp-only tools in that mode (spawn_node, create_edge, send_handoff).
For other providers, vuhlp can execute tool_call JSON for file/command tools.
