Skip to content

Quick Start

This guide helps you install ByteMind, configure it, and run your first AI coding task in about 5 minutes.

Prerequisites

ByteMind ships as a precompiled binary, so you do not need to install Go first.

RequirementDetails
OSWindows, Linux, or MacOS
API KeyAny OpenAI-compatible service or Anthropic; if you do not have one, start with Get API Key
NetworkAccess to your LLM provider endpoint

Step 1: Install

Select your current system, then copy the corresponding command.

powershell
iwr -useb https://raw.githubusercontent.com/1024XEngineer/bytemind/main/scripts/install.ps1 | iex

Defaults to %USERPROFILE%\bin\bytemind.exe.

Windows users: copy the PowerShell command

Do not run curl ... install.sh | bash in Windows PowerShell or CMD. That command starts WSL; if WSL itself is broken, you may see ext4.vhdx or HCS errors.

Verify after installation:

bash
bytemind --version

If the command is not found, or an update still shows an older version, make sure the install directory is on your PATH and appears before older copies. On Windows, use Get-Command bytemind -All to see which binary PowerShell resolves.

Step 2: Create a Global API Config

Start with a global config at ~/.bytemind/config.json. You only need to configure it once, and ByteMind can read it from any project directory. ~/bin or %USERPROFILE%\bin is only the install directory; it is not your project directory, and the config does not belong there.

powershell
New-Item -ItemType Directory -Force "$env:USERPROFILE\.bytemind" | Out-Null
$config = @'
{
  "provider": {
    "type": "openai-compatible",
    "base_url": "https://api.openai.com/v1",
    "model": "gpt-4o",
    "api_key": "YOUR_API_KEY"
  }
}
'@

$utf8NoBom = New-Object System.Text.UTF8Encoding($false)
[System.IO.File]::WriteAllText("$env:USERPROFILE\.bytemind\config.json", $config, $utf8NoBom)

This writes config.json as UTF-8 without BOM, so it works consistently in both Windows PowerShell 5.1 and PowerShell 7+.

Replace YOUR_API_KEY with your real API key.

Field overview:

FieldDescriptionExample
provider.typeProvider type: openai-compatible anthropic geminiopenai-compatible
provider.base_urlAPI endpointhttps://api.openai.com/v1
provider.modelModel IDgpt-5.4-mini
provider.api_keyAPI key in plain textsk-xxxxxxxxxxxxxxxxxx

If a project needs a different model or sandbox setting, create an additional .bytemind/config.json inside that project; project config overrides matching fields from the global config. See Config Reference for the full field list.

Step 3: Enter a Project Directory and Start ByteMind

Enter the specific code project directory you want ByteMind to work on, then run:

powershell
Set-Location D:\code\your-project
bytemind

bytemind starts the default interactive interface. bytemind chat still works as a compatibility alias, but daily use can simply run bytemind.

Choose a specific project directory

ByteMind treats the current directory as the workspace. Do not start it directly from your home directory, a drive root, Downloads, Desktop, or a large folder with many unrelated files; enter a specific code repository or project subdirectory first. The install directory %USERPROFILE%\bin / ~/bin only stores the binary and is not a workspace.

After startup, ByteMind loads your global config plus any optional project override config, initializes a session, and enters interactive mode.

Sessions are auto-saved

Every conversation is persisted. Next time you run bytemind, use /sessions to list previous sessions and /resume <id> to continue one.

Step 4: Run Your First Task

Try these starter prompts:

Fix failing tests

text
Find all failing unit tests, analyze the root cause, and fix them with minimal changes.

Understand the codebase structure

text
Walk me through this project's directory structure and main entry points. Produce a summary.

Fix a bug

text
/bug-investigation symptom="login endpoint returns 500"

Slash commands and skills

/ opens slash commands in the session; some commands are exposed by available skills. For example, /bug-investigation guides the agent through a structured bug investigation flow. Type /help to see all available commands.

Common Session Commands

CommandDescription
/helpShow all available commands
/sessionShow current session details
/sessionsList recent sessions
/resume <id>Resume a specific session
/newStart a new session
/quitExit

Next Steps

Released under the MIT License.