Skip to content

Commit 4f5b64d

Browse files
committed
fix: improved agent setup instructions with more extensive extra/optional/recommended packages
1 parent b09f74d commit 4f5b64d

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

docs/agents.rst

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,23 +148,35 @@ Usage
148148

149149
**Installing dependencies:**
150150

151-
First install the required dependencies using `pipx <https://pipx.pypa.io/>`_ (recommended) to ensure isolation and easy management:
151+
First install the required dependencies and then gptme itself using `pipx <https://pipx.pypa.io/>`_ (recommended) to ensure isolation and easy management:
152152

153153
.. code-block:: bash
154154
155155
# Install pipx and other system dependencies
156-
sudo apt install pipx tree # or `brew install pipx tree` on macOS
156+
sudo apt install pipx tree
157+
# or `brew install pipx tree`
157158
158-
# Install optional dependencies
159-
sudo apt install shellcheck # or `brew install shellcheck` on macOS
159+
# Install common dev dependencies (recommended)
160+
sudo apt install git curl make build-essential \
161+
python3 python3-dev python-is-python3
160162
161-
# Install required Python dependencies
163+
# Install gptme itself
162164
pipx install gptme
163165
# or `pipx install -e ./gptme` to install from local source
164-
# or `pipx install "git+https://github.com/gptme/gptme.git@master#egg=gptme[browser,server,telemetry]"`_ for latest from GitHub with extras
166+
# or `pipx install "git+https://github.com/gptme/gptme.git@master#egg=gptme[browser,server,telemetry]"`_ for latest master with extras
167+
168+
# Requirements for agent
165169
pipx install uv
166170
pipx install pre-commit
167171
172+
# Install optional dependencies
173+
sudo apt install lynx shellcheck jq pandoc ripgrep
174+
# or `brew install lynx shellcheck jq pandoc ripgrep`
175+
176+
# Recommended:
177+
# Install latest `gh` GitHub CLI from GitHub source (not old package manager version)
178+
# See https://cli.github.com/
179+
168180
**Creating an Agent:**
169181

170182
Use the `gptme-agent-template <https://github.com/gptme/gptme-agent-template/>`_ to create new agents:

0 commit comments

Comments
 (0)