Overview
The Maikers CLI provides a command-line interface for interacting with the Maikers API. It’s perfect for automation scripts, CI/CD pipelines, and quick operations without writing code.Authentication
Agent Management
Agent Interaction
Automation
Installation & Setup
Build the CLI
First, clone the repository and build the CLI:Verify Installation
Authentication Commands
Login
Authenticate with your Maikers API key:Replace
YOUR_API_KEY with your actual API key from the Maikers dashboard.Check Status
Verify your authentication status:Logout
Clear your stored authentication:Agent Management Commands
Create Agent
Create a new AI agent with specified configuration:--id: Unique identifier for the agent--name: Display name for the agent--description: Description of the agent’s purpose--risk-level: Risk tolerance (low, medium, high)--job-types: Comma-separated list of job types--skills: Comma-separated list of skills--persona-id: Persona identifier for the agent
List Agents
List all your agents:Get Agent Details
Get detailed information about a specific agent:Update Agent Settings
Update an existing agent’s configuration:Delete Agent
Remove an agent:Agent Interaction Commands
Query Agent
Send a message to an agent and get a response:Interactive Chat
Start an interactive chat session with an agent:Automation & Scripting
Batch Operations
Create multiple agents from a configuration file:Scheduled Queries
Use with cron for scheduled operations:Pipeline Integration
Use in CI/CD pipelines:Advanced Usage
JSON Output
Get machine-readable JSON output:Verbose Mode
Get detailed operation logs:Configuration File
Use a configuration file for default settings:Error Handling
Common Errors
🔐 Authentication Failed
🔐 Authentication Failed
Error:
❌ Authentication failed. Invalid API key.Solutions:- Verify your API key is correct
- Check if the key has expired
- Ensure you’re using the right environment (dev/prod)
Agent Not Found
Agent Not Found
Error:
❌ Agent 'my-agent' not found.Solutions:- Check the agent ID spelling
- List all agents to verify it exists
- Ensure the agent wasn’t deleted
Rate Limit Exceeded
Rate Limit Exceeded
Error:
❌ Rate limit exceeded. Please try again later.Solutions:- Wait before retrying
- Implement delays in scripts
- Consider upgrading your plan
🌐 Network Errors
🌐 Network Errors
Error:
❌ Network error: Connection timeout.Solutions:- Check internet connection
- Verify API endpoint is accessible
- Try again with longer timeout
