This guide covers local development installs, global installs, and the TypeScript TUI build that must be bundled before packaging.
- Python 3.11 or newer
uv- Node.js 20 or newer for building/running the TypeScript/Ink TUI from source
- Git
- Optional browser bridge extras for
web_scanandweb_execute_js
Check the local toolchain:
python3 --version
uv --version
node --version
npm --version
git --versioncd ga_engineered
uv sync --extra dev
SKIP_INSTALL=1 ./scripts/build_tui.sh
uv run gae doctor
uv run GenericAgentuv sync --extra dev creates .venv/ and installs Python test/dev tools.
scripts/build_tui.sh installs Node packages when needed, runs type-checks and
Vitest, builds ui-tui/dist/bundle.js, and copies the bundle to
src/generic_agent_engineered/_tui_dist/bundle.js so Python package installs
can launch the TUI.
Install from the local checkout:
cd ga_engineered
SKIP_INSTALL=1 ./scripts/build_tui.sh
uv tool install .
GenericAgentThe package exposes three equivalent console scripts:
GenericAgentgagae
If your shell cannot find those commands, ensure the uv tool bin directory is
on PATH:
uv tool dir
uv tool update-shellOpen a new shell after uv tool update-shell.
Upgrade a global install after pulling new code:
cd ga_engineered
SKIP_INSTALL=1 ./scripts/build_tui.sh
uv tool install --force .Uninstall:
uv tool uninstall generic-agent-engineeredUse uv run from the checkout during active development:
uv run gae status
uv run gae chat /status
uv run GenericAgentIf you want the TUI frontend to run directly from ui-tui/dist/bundle.js
without copying into _tui_dist, set:
export GA_TUI_BUNDLE="$PWD/ui-tui/dist/bundle.js"When the TS frontend spawns the Python gateway, it defaults to python3.
For pyenv/uv-specific environments, set:
export GA_GATEWAY_PYTHON="$(pwd)/.venv/bin/python"Install bridge dependencies only on machines that need browser page scanning:
uv sync --extra bridge
uv run gae bridgeThen load the Chrome extension from:
ga_engineered/assets/tmwd_cdp_bridge/
Open chrome://extensions, enable Developer Mode, choose "Load unpacked", and
select that directory.
GenericAgent: command not found
- Use
uv run GenericAgentfrom the checkout, or runuv tool update-shellafteruv tool install ..
Cannot find bundled TUI
- Run
SKIP_INSTALL=1 ./scripts/build_tui.sh. - Confirm
src/generic_agent_engineered/_tui_dist/bundle.jsexists.
ModuleNotFoundError from the TUI gateway
- Set
GA_GATEWAY_PYTHONto the Python interpreter that has this package installed.
browser bridge unavailable
- Run
uv sync --extra bridge. - Start
uv run gae bridge. - Load the Chrome extension and keep Chrome running.
- Check whether ports
18765and18766are already in use.