Getting Started

Set up the Cdoing Agent development environment and start coding in minutes.

Prerequisites

Installation

1
Clone the repository
git clone https://github.com/your-org/cdoing-agent.git cd cdoing-agent
2
Install dependencies
yarn install
3
Build all packages
yarn build

This runs Turbo to build packages in dependency order: core → ai → cli / vscode-extension.

4
Configure your API key
yarn start

On first run, the CLI setup wizard will ask you to select a provider and enter your API key. Configuration is saved to ~/.cdoing/config.json.

Configuration

The main configuration file lives at ~/.cdoing/config.json:

{ "provider": "anthropic", "model": "claude-sonnet-4-6", "apiKeys": { "anthropic": "sk-ant-...", "openai": "sk-...", "google": "AIza..." }, "mode": "default", "indexer": { "autoIndex": true, "embeddingProvider": "openai", "embeddingModel": "text-embedding-3-small" } }

Configuration Options

OptionDescriptionDefault
providerLLM provider to useanthropic
modelModel identifierclaude-sonnet-4-6
apiKeysMap of provider name to API key-
modePermission mode (default, acceptEdits, plan, dontAsk, bypassPermissions)default
baseUrlCustom base URL for API requests-
indexer.autoIndexAutomatically index codebase on starttrue

Development Mode

For active development with hot-reload across all packages:

yarn dev

This runs all packages in watch mode using Turbo, so changes to core automatically rebuild dependent packages.

Running the CLI

# Interactive mode (default) yarn start # With a specific prompt yarn start -- -p "explain this code" # Non-interactive / print mode yarn start -- --print "list all files" # Resume a previous conversation yarn start -- --continue # Use a different model yarn start -- -m gpt-4o -p openai

VS Code Extension

1
Build the extension
cd packages/vscode-extension npm run build
2
Launch in VS Code

Open the packages/vscode-extension folder in VS Code and press F5 to launch the Extension Development Host.

3
Configure settings

Open VS Code Settings and search for cdoing to set your provider, API key, and permission mode.

Tip
Use Cmd+Shift+L to open the Cdoing Agent editor panel alongside your code.