Expand description
Agent module for interactive AI-powered CLI assistance
This module provides an agent layer using the Rig library that allows users to interact with the CLI through natural language conversations.
§Usage
# Interactive mode
sync-ctl chat
# With specific provider
sync-ctl chat --provider openai --model gpt-4o
# Single query
sync-ctl chat -q "What security issues does this project have?"Modules§
- config
- Agent configuration and credentials management
- tools
- Agent tools using Rig’s Tool trait
- ui
- Beautiful terminal UI for the agent
Enums§
- Agent
Error - Error types for the agent
- Provider
Type - Provider type for the agent
Functions§
- run_
interactive - Run the agent in interactive mode with beautiful UI
- run_
query - Run a single query and return the response