Quickstart

Get started with CortexPrism in under 5 minutes.

Prerequisites

  • Deno v2.0 or later
  • An API key from one of the supported LLM providers
  • Docker (optional, for sandbox isolation — subprocess fallback available)

Installation

git clone https://github.com/CortexPrism/cortex.git
cd cortex
deno task setup

This installs dependencies and initializes all databases.

Configure a Provider

Run the setup wizard:

cortex setup

This will guide you through configuring your first LLM provider. You'll be prompted to:

  1. Select a provider (Anthropic, OpenAI, Google, Groq, etc.)
  2. Enter your API key
  3. Choose a default model
  4. Set a data directory

You can also manually edit ~/.cortex/config.json.

Start Chatting

cortex chat

This starts an interactive streaming chat session with the default provider. The agent automatically starts background daemons for tool validation and execution.

Try these commands:

  • "What can you do?" — See available capabilities
  • "Search the web for latest AI news" — Web search via DuckDuckGo
  • "Run a Python script that calculates fibonacci" — Sandboxed code execution
  • "Remember that my project is called Project X" — Stores to semantic memory

Next Steps