Overview

NikCLI’s agent management system provides sophisticated control over AI agents, enabling you to orchestrate multiple specialized agents, create custom agents, and manage complex multi-agent workflows. The system supports both individual agent operations and coordinated multi-agent collaboration.

Agent Orchestration

Coordinate multiple agents for complex tasks

Custom Agents

Create and deploy specialized agents

Performance Monitoring

Track agent performance and effectiveness

Workflow Management

Design and execute multi-agent workflows

Core Agent Commands

/agents - Agent Discovery and Status

Display comprehensive information about available agents and their current status.
# List all available agents
/agents

# Show detailed agent information
/agents --detailed
/agents --verbose

# Filter agents by capability
/agents --frontend
/agents --backend
/agents --devops
Output Example:
Available Agents:
┌─────────────────┬──────────────┬─────────┬─────────────┐
│ Agent           │ Specialization│ Status  │ Performance │
├─────────────────┼──────────────┼─────────┼─────────────┤
│ universal-agent │ Full-stack   │ Active  │ 95.2%       │
│ react-expert    │ React/UI     │ Idle    │ 92.8%       │
│ backend-agent   │ APIs/Services│ Active  │ 89.5%       │
│ devops-agent    │ CI/CD/Deploy │ Idle    │ 87.3%       │
└─────────────────┴──────────────┴─────────┴─────────────┘

/agent - Individual Agent Execution

Execute tasks with specific agents, providing fine-grained control over agent selection and behavior.

/auto - Autonomous Multi-Agent Execution

Enable autonomous mode where agents work together with minimal human intervention.
# Simple autonomous task
/auto "create a todo application with React and Node.js"

# Complex autonomous project
/auto "build a e-commerce platform with authentication, 
       payment processing, and admin dashboard"

# Autonomous bug fixing
/auto "identify and fix all TypeScript errors in the project"

/parallel - Parallel Agent Execution

Execute multiple agents simultaneously on related or independent tasks.

Advanced Agent Management

/factory - Agent Factory Dashboard

Access the agent factory for creating, configuring, and managing custom agents.
# Open agent factory dashboard
/factory

# Create new agent interactively
/factory create
/factory --wizard --guided-creation

# Agent creation from template
/factory template
/factory --template react-specialist
/factory --template api-developer

/create-agent - Custom Agent Creation

Create specialized agents tailored to specific domains or use cases.

/launch-agent - Blueprint-Based Agent Deployment

Deploy agents from pre-configured blueprints or saved configurations.
# Launch from saved blueprint
/launch-agent blueprint-id "implement user authentication"

# Launch with configuration override
/launch-agent react-testing-blueprint 
              --override temperature=0.2
              "create comprehensive test suite"

# Launch multiple agents from blueprint
/launch-agent full-stack-blueprint
              --agents "frontend,backend,devops"
              "build complete application"

Agent Collaboration and Orchestration

/orchestrate - Multi-Agent Orchestration

Design and execute complex multi-agent workflows with sophisticated coordination.

/context - Agent Context Management

Manage workspace context and information sharing between agents.
# Set workspace context
/context workspace src/
/context --paths "src/components/,src/hooks/,src/utils/"

# Set context with filters
/context --include "*.ts,*.tsx"
          --exclude "*.test.*,*.spec.*"
          --max-files 100

# Dynamic context based on task
/context auto --task "react component optimization"
         --smart-selection --relevant-files-only

/stream - Agent Activity Streaming

Monitor and control live agent activity streams for real-time visibility.

Agent Performance and Optimization

/agent-performance - Performance Monitoring

Monitor and analyze agent performance metrics for optimization opportunities.
# Overall performance dashboard
/agent-performance dashboard
/agent-performance --metrics --charts --trends

# Agent-specific performance
/agent-performance react-expert
/agent-performance --agent backend-agent --detailed

# Comparative performance analysis
/agent-performance compare
/agent-performance --agents "react-expert,universal-agent"
                   --metric efficiency --time-range 7d

/optimize-agents - Agent Optimization

Optimize agent configuration and performance based on usage patterns and feedback.

Agent Security and Governance

/agent-security - Security Management

Implement comprehensive security controls and governance for agent operations.
# Agent permission management
/agent-security permissions
/agent-security --permissions --agent react-expert --tools --resources

# Role-based access control
/agent-security rbac
/agent-security --roles --assign "developer:react-expert,backend-agent"

# Security policy enforcement
/agent-security policy
/agent-security --policy-check --violations --enforcement

/agent-governance - Governance Framework

Establish governance frameworks for agent development, deployment, and operations.

Advanced Agent Features

/agent-learning - Adaptive Learning System

Enable agents to learn and improve from interactions and feedback.
# Enable agent learning
/agent-learning enable react-expert
/agent-learning --learning-mode adaptive --feedback-integration

# Learning data management
/agent-learning data
/agent-learning --training-data --examples --quality-control

# Learning model updates
/agent-learning update
/agent-learning --model-updates --incremental --validation

/agent-collaboration - Inter-Agent Collaboration

Enable sophisticated collaboration patterns between multiple agents.

Troubleshooting Agent Issues

Common Agent Problems

Agent Debugging

# Enable agent debugging
/debug agent react-expert --enable --verbose

# Debug specific agent action
/debug agent-action react-expert "create component" --trace

# Debug agent decision making
/debug agent-reasoning react-expert --decision-tree --context-analysis

Next Steps

Use /agents as your first command to understand available agents and their current status. The agent system is designed to be self-managing, but understanding agent capabilities helps you choose the right agent for each task.