Chat Interface Overview

The NikCLI chat interface is your primary tool for interacting with AI agents. It provides a natural language interface that understands development context and can execute complex tasks through simple conversation.

Natural Language

Communicate with AI using everyday language

Context Awareness

Automatically understands your project structure

Real-time Feedback

Get live progress updates during task execution

Interactive Approval

Review and approve changes before execution

Starting a Chat Session

Basic Startup

# Start NikCLI
nikcli

# You'll see the welcome screen
╭─────────────────────────────────────────────────────╮

                   🚀 NikCLI v0.1.4
          Context-Aware AI Development Assistant

╰─────────────────────────────────────────────────────╯

 Node.js 18.17.0 (compatible)
 Git 2.42.0 (detected)
 Anthropic API (configured)
 Project context (auto-detected)

Ready for autonomous development! Type /help for commands.

>

Chat Modes

Interactive Mode - Standard conversational interface
> Create a React component for user authentication

🔍 Analyzing project structure...
📁 Found React TypeScript project
🎯 Creating authentication component...

Would you like me to:
1. Create a simple login form
2. Include registration functionality
3. Add password reset features

Please specify your requirements.
Features:
  • Step-by-step guidance
  • Clarification requests
  • Manual approval for changes
  • Learning-friendly explanations

Communication Patterns

Effective Communication

Advanced Communication

Break complex tasks into steps:
> I need to implement a dashboard. First, create the layout structure
  with header, sidebar, and main content areas

[After completion]

> Now add the sidebar navigation with menu items for users, products,
  orders, and analytics

[After completion]

> Finally, create placeholder components for each dashboard section
  with proper routing

Real-time Interaction Features

Progress Tracking

NikCLI provides real-time updates during task execution:
> Create a complete e-commerce checkout flow

🔍 Analyzing project structure...
📁 Found Next.js project with Stripe integration
🎯 Planning checkout implementation...

Progress Updates:
├── ✅ Cart summary component (2 minutes ago)
├── 🔄 Payment form with Stripe Elements (in progress)
│   └── 📝 Adding form validation
│   └── 🔗 Integrating Stripe API
├── ⏳ Order confirmation page
└── ⏳ Email notification system

Current: Implementing secure payment processing...

Interactive Approvals

Error Handling and Recovery

❌ Error encountered during component creation:

Error: Cannot find module 'styled-components'

🔄 Auto-recovery options:
1. Install styled-components dependency
2. Switch to CSS modules approach
3. Use inline styles temporarily

How would you like to proceed? (1/2/3/manual)

Keyboard Shortcuts and Navigation

Essential Shortcuts

Mode Switching

Shift + Tab: Cycle through modes
  • Default Chat → Planning → Autonomous
ESC: Return to default chat mode

Command Access

/: Open command menuCtrl + C: Stop current operation↑/↓: Navigate command history

Quick Actions

Tab: Auto-complete commands/pathsCtrl + L: Clear screenCtrl + D: Exit NikCLI

Navigation

Ctrl + R: Search command historyCtrl + A: Move to line beginningCtrl + E: Move to line end

Command Completion

NikCLI provides intelligent auto-completion:
> /ag[Tab]
Completions:
/agent    - Run specific agent
/agents   - List available agents
/auto     - Autonomous mode

> /agent [Tab]
Available agents:
universal-agent    - Full-stack development
react-expert      - React specialization
backend-agent     - API development

Customization and Preferences

Chat Appearance

Session Management

# Enable chat history
/history on

# Save current session
/save-session "authentication-implementation"

# Load previous session
/load-session "authentication-implementation"

# List all sessions
/sessions

Best Practices

Start Simple

Begin with basic requests and gradually increase complexityExample progression:
  1. “Create a button component”
  2. “Add click handlers and props”
  3. “Include loading states and variants”
  4. “Add accessibility features”

Use Planning Mode

For complex features, use planning mode first
/plan create "user authentication system"
# Review the plan
/plan execute

Provide Feedback

Help NikCLI learn your preferences“This looks good, but can you make the styling more consistent with our design system?”“Perfect! Use this same pattern for the other components.”

Review Changes

Always review generated code before final approval
/diff  # Show pending changes
/approve  # Confirm changes
/reject   # Reject changes

Next Steps

The chat interface learns from your interactions. The more you use it, the better it becomes at understanding your coding style and project requirements.