Getting Started
Get Codumentor up and running in minutes. This guide covers the fastest paths to your first conversation.
Download
Download the build for your platform from the releases page: the Linux x86_64 installer (codumentor-<version>-<edition>-linux-x86_64.run) or Windows (codumentor.exe).
Linux
sh codumentor-*-linux-x86_64.run # installs, then starts Codumentor
codumentor # every later start
The installer puts Codumentor under ~/.local/share/codumentor and links
~/.local/bin/codumentor. If codumentor is not found afterwards, that
directory is not on your PATH yet: open a new terminal, or run
~/.local/bin/codumentor. See Installation.
Windows
codumentor.exe
On first run the community build uses your user home (~/.codumentor).
Model settings go in $CODUMENTOR_HOME/config.yaml. The first start asks
which model provider to use and for its API key.
Then open http://127.0.0.1:2638/app in your
browser and log in as admin. The password is printed once in the Codumentor
window on the first start and saved in ~/.codumentor/admin_password. See
Community: install once, run anywhere.
The enterprise edition still looks at the current directory and offers a short
menu of setup options before creating codumentor.yaml when you want a
workspace instance:
- Single-repo — when you're inside a lone git repo or a plain directory, the config is written alongside your code and the agent treats that directory as the project.
- Multi-repo workspace — when sibling git repos or git sub-repos are detected, the config is written to the parent/current directory and lists all of them.
- Use my user profile — persist under
~/.codumentorinstead of putting a file here.
A sensible default is pre-selected for the situation, but you can always pick the other option. Once the config is created, Codumentor begins ingesting the repositories listed in it. When ingestion completes, the terminal UI launches and drops you into an interactive session.
Configure and Ingest
To index your own repositories, list them in codumentor.yaml and pass the API key through the environment:
export OPENAI_API_KEY="sk-..."
repos:
- "https://github.com/your-org/your-repo.git"
- "/path/to/local/repo"
# Index your repositories
codumentor ingest
# Launch the terminal UI (the default with no subcommand, except in the
# community edition, where a bare invocation starts the API server)
codumentor
Quick Query
Ask a single question without entering the interactive TUI (print mode, -p):
codumentor -p "What does the AuthMiddleware class do?"
Web UI
Codumentor includes a web interface with streaming responses, tool visualization, and plugin support. It is bundled in the executable:
codumentor api
Open http://127.0.0.1:2638/app in your browser.
Next Steps
- CLI Reference -- All commands and options
- Web UI -- Web interface details, URL routing, and tool approvals
- Remote HTTPS Access -- Use your personal instance from another computer or phone
- Configuration -- Customize models, repos, chunking, and more
- Plugins -- Enable web search, memory, metrics, and other extensions
- Architecture Overview -- How the system fits together