Expand description
Direct verb execution from CLI — no YAML needed.
Handles nika infer, nika fetch, nika invoke, nika agent commands.
Each verb creates a one-shot TaskExecutor and dispatches a single TaskAction.
Functions§
- detect_
provider - Auto-detect provider from environment variables (priority order).
- handle_
agent - Handle
nika agent "prompt"— multi-turn AI agent. - handle_
fetch - Handle
nika fetch URL— HTTP request with extraction. - handle_
infer - Handle
nika infer "prompt"— one-shot LLM call. - handle_
invoke - Handle
nika invoke tool— call builtin nika:* or MCP tool. - parse_
composite_ model - Parse composite model identifier: “anthropic/claude-sonnet” → (Some(“anthropic”), “claude-sonnet”)