pub enum AgentKind {
Antigravity,
Gemini,
Claude,
Codex,
}Expand description
Supported agent provider families.
Variants§
Antigravity
Google Antigravity CLI/backend.
Gemini
Google Gemini CLI/backend.
Claude
Anthropic Claude Code CLI/backend.
Codex
OpenAI Codex CLI/backend.
Implementations§
Source§impl AgentKind
impl AgentKind
Sourcepub fn models(self) -> &'static [AgentModel]
pub fn models(self) -> &'static [AgentModel]
Returns this provider’s models in their catalog display order.
Source§impl AgentKind
impl AgentKind
Sourcepub fn executable_name(self) -> &'static str
pub fn executable_name(self) -> &'static str
Returns the provider CLI executable name.
Sourcepub fn default_model(self) -> AgentModel
pub fn default_model(self) -> AgentModel
Returns the default model for this agent kind.
Sourcepub fn model_str(self, model: AgentModel) -> Option<&'static str>
pub fn model_str(self, model: AgentModel) -> Option<&'static str>
Returns the model string when it belongs to this agent kind.
Sourcepub fn parse_model(self, value: &str) -> Option<AgentModel>
pub fn parse_model(self, value: &str) -> Option<AgentModel>
Parses a provider-specific model string for this agent kind.
Sourcepub fn supports_model(self, model: AgentModel) -> bool
pub fn supports_model(self, model: AgentModel) -> bool
Returns whether this provider can run the given model.
Sourcepub fn supports_speed_mode(self) -> bool
pub fn supports_speed_mode(self) -> bool
Returns whether this provider exposes a response-speed control.
Claude and Codex accept a per-turn speed selection, so /speed offers
the picker and session surfaces display the active SpeedMode.
Gemini and Antigravity have no equivalent control, so neither the
command nor the speed display is offered for them.