Skip to content

codemie-ai/codemie-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

55 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

AI/Run CodeMie CLI

npm version Release npm downloads Build Status GitHub Stars Last Commit Node.js Version TypeScript License

Unified AI Coding Assistant CLI - Manage Claude Code, OpenAI Codex, Google Gemini, and custom AI agents from one powerful command-line interface. Multi-provider support (OpenAI, Azure OpenAI, AWS Bedrock, LiteLLM, Enterprise SSO). Built-in LangGraph agent with file operations, git integration, and advanced code generation.


CodeMie CLI Demo


Why CodeMie CLI?

CodeMie CLI is the all-in-one AI coding assistant for developers.

  • ✨ One CLI, Multiple AI Agents - Switch between Claude Code, Codex, Gemini, Deep Agents, and built-in agent.
  • πŸ”„ Multi-Provider Support - OpenAI, Azure, Bedrock, LiteLLM, Google Gemini, and Enterprise SSO.
  • πŸš€ Built-in Agent - A powerful LangGraph-based assistant with file operations and git integration.
  • πŸ” Enterprise Ready - SSO authentication, audit logging, and role-based access.
  • ⚑ Productivity Boost - Code review, refactoring, test generation, and bug fixing.
  • 🎯 Profile Management - Manage work, personal, and team configurations separately.
  • πŸ“Š Usage Analytics - Track and analyze AI usage across all agents with detailed insights.
  • πŸ”§ CI/CD Workflows - Automated code review, fixes, and feature implementation.

Perfect for developers seeking a powerful alternative to GitHub Copilot or Cursor.

Quick Start

# 1. Install globally
npm install @codemieai/code

# 2. Setup (interactive wizard)
npx codemie setup

# 3. Start coding with the built-in agent
npx codemie-code "Review my code for bugs"

# 4. Install and use other agents
npx codemie install claude
npx codemie-claude "Refactor this function"

Installation

From npm (Recommended)

# Install the package
npm install @codemieai/code

# Use with npx
npx codemie --help

Alternatively, for frequent use, you can install globally:

npm install --global @codemieai/code
codemie --help

From Source

git clone https://github.com/codemie-ai/codemie-code.git
cd codemie-code
npm install
npm run build && npm link

Verify Installation

codemie --help
codemie doctor

Usage

The CodeMie CLI provides two ways to interact with AI agents:

Built-in Agent (CodeMie Native)

The built-in agent is ready to use immediately and is great for a wide range of coding tasks.

# Start an interactive conversation
codemie-code

# Start with an initial message
codemie-code "Help me refactor this component"

External Agents

You can also install and use external agents like Claude Code, Codex, and Gemini.

# Install an agent
codemie install claude

# Use the agent
codemie-claude "Review my API code"

For more detailed information on the available agents, see the Agents Documentation.

Commands

The CodeMie CLI has a rich set of commands for managing agents, configuration, and more.

codemie setup            # Interactive configuration wizard
codemie list             # List all available agents
codemie install <agent>  # Install an agent
codemie profile <cmd>    # Manage provider profiles
codemie auth <cmd>       # Manage SSO authentication
codemie analytics <cmd>  # View usage analytics
codemie workflow <cmd>   # Manage CI/CD workflows
codemie doctor           # Health check and diagnostics

For a full command reference, see the Commands Documentation.

Configuration

Quick Setup

The easiest way to get started:

# Interactive setup wizard
codemie setup

# Or use environment variables
export CODEMIE_PROVIDER=openai
export CODEMIE_API_KEY=sk-...
export CODEMIE_MODEL=gpt-4

Configuration Options

  • Setup Wizard - codemie setup (recommended)
  • Environment Variables - Override config for specific sessions
  • Config File - ~/.codemie/config.json for persistent settings
  • Multi-Provider Profiles - Manage work, personal, and team configs

See Configuration Documentation for detailed setup, environment variables reference, and advanced configuration.

Documentation

Comprehensive guides are available in the docs/ directory:

  • Configuration - Setup wizard, environment variables, multi-provider profiles, manual configuration
  • Commands - Complete command reference including analytics and workflow commands
  • Agents - Detailed information about each agent (Claude Code, Codex, Gemini, Deep Agents, built-in)
  • Authentication - SSO setup, token management, enterprise authentication
  • Examples - Common workflows, multi-provider examples, CI/CD integration

Contributing

Contributions are welcome! Please read our Contributing Guidelines to get started.

License

This project is licensed under the Apache-2.0 License.

Links

About

AI Run CodeMie CLI with analytics capabilities

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages