Skip to content

Installation & Setup

This guide will help you set up Cordenex for the first time and start your first autonomous engineering session.

Prerequisites

  • Go 1.22+ (if building from source)
  • Node.js & NPM (if installing via NPM)
  • An API Key from one of the following providers:

Installation Methods

npm install -g @cortiqa/cordenex

2. Install from Source

git clone https://github.com/cortiqa-ai/cordenex.git
cd cordenex
go build -o cordenex ./cmd/cordenex
# Move to your path
mv cordenex /usr/local/bin/

Initial Configuration

Before running, you need to tell Cordenex which AI to use.

# Example: Using Anthropic
cordenex config set providers.anthropic.api_key your_key_here
cordenex switch claude-3-5-sonnet

# Or using Groq (Free/Fast)
cordenex config set providers.groq.api_key your_key_here
cordenex switch llama-3.3-70b-versatile

Your First Turn

  1. Navigate to a project directory:

    cd my-react-app
    
  2. Initialize Project Memory:

    cordenex init
    
  3. Open the Chat:

    cordenex chat
    
  4. Ask for a task:

    "Refactor the Navbar component to use TailwindCSS and add a mobile responsive menu."