agentconnect.cli module¶
AgentConnect CLI - Command Line Interface for AgentConnect
This module provides command-line functionality for the AgentConnect framework, allowing users to run examples, demos, and access utility functions through a simple command-line interface.
- Usage:
agentconnect –version agentconnect –example chat agentconnect –example multi agentconnect –example research agentconnect –example data agentconnect –demo # UI compatibility under development (Windows only) agentconnect –check-env agentconnect –help
- Available examples:
chat - Simple chat with an AI assistant multi - Multi-agent e-commerce analysis research - Research assistant with multiple agents data - Data analysis and visualization assistant telegram - Telegram AI Agent with multi-agent capabilities
- Note: The demo UI is currently under development and only supported on Windows.
For the best experience, please use the examples instead.
- setup_logging(verbose=False)¶
Configure logging for the CLI.
- parse_args(args=None)¶
Parse command line arguments.
- async run_example(example_name, verbose=False)¶
Run a specific example.
- check_environment()¶
Check that the environment is properly configured.
Verifies API keys, dependencies, and other configuration requirements. At least one LLM provider API key must be set to use the framework.
- Return type: