← Back to docs

Requirements

  • Python 3.13+
  • uv package manager

Install from source

git clone https://github.com/smith-nathanh/rho-agent.git
cd rho-agent
uv sync

To include development tools (pytest, linters):

uv sync --group dev

Global CLI install

Install rho-agent as a global command available outside the project directory:

uv tool install .

After this, rho-agent is available directly without uv run.

Verify the installation

uv run rho-agent --help

Environment variables

Required

VariableDescription
OPENAI_API_KEYAPI key for the model provider

Optional

VariableDefaultDescription
OPENAI_BASE_URLOpenAI defaultAPI endpoint override (for compatible providers)
OPENAI_MODELgpt-5-miniDefault model
RHO_AGENT_PROFILEreadonlyDefault capability profile
RHO_AGENT_TEAM_IDTeam ID for observability
RHO_AGENT_PROJECT_IDProject ID for observability
RHO_AGENT_OBSERVABILITY_CONFIGPath to observability.yaml
RHO_AGENT_REASONING_EFFORTReasoning effort level (for o1/o3 models)
RHO_AGENT_SIGNAL_DIR~/.config/rho-agent/signals/Signal directory for agent coordination

Database connections

Database tools are enabled automatically when their environment variables are set.

DatabaseVariables
SQLiteSQLITE_DB
PostgreSQLPOSTGRES_HOST, POSTGRES_DATABASE, POSTGRES_USER, POSTGRES_PASSWORD
MySQLMYSQL_HOST, MYSQL_DATABASE, MYSQL_USER, MYSQL_PASSWORD
OracleORACLE_DSN, ORACLE_USER, ORACLE_PASSWORD
VerticaVERTICA_HOST, VERTICA_DATABASE, VERTICA_USER, VERTICA_PASSWORD

Azure DevOps integration

VariableDescription
AZURE_DEVOPS_ORGOrganization name
AZURE_DEVOPS_PATPersonal access token
AZURE_DEVOPS_PROJECTDefault project (optional)
AZURE_DEVOPS_READONLYSet to true to disable mutations

Troubleshooting

If your .venv gets into a bad state (packages installed but imports fail), reset it:

deactivate 2>/dev/null || true
rm -rf .venv
uv venv .venv --python 3.13 --seed
uv sync --group dev --python .venv/bin/python

Use uv sync --python .venv/bin/python rather than uv sync --active to avoid targeting the wrong virtual environment when another venv is active in your shell.