Set up your first agent
Install protoAgent, connect a model, and send your first message.
What you need: a Claude Pro/Max or ChatGPT Plus/Pro plan, an API key (OpenAI, OpenRouter, …), or a local model (Ollama / LM Studio). Or nothing, to just explore.
1. Install and start
Recommended: desktop app. Download protoAgent for your operating system. The server and console are bundled; you do not need Python or Node to chat.
- macOS (Apple Silicon only): open the
.dmg, drag protoAgent to Applications, then launch it. - Windows: run the installer, then launch protoAgent from the Start Menu. See Windows installation help for the unsigned-build prompt.
- Linux: make the downloaded AppImage executable and run it, or install the
.debwith your package manager. The download page lists supported systems.
Windows and Linux builds are unsigned; expect an OS warning on first launch.
The setup wizard should open. If the app will not open, start with App won't open.
Alternative: run the Python package in a browser
Use this route if you prefer starting the server from a terminal.
Python package: with uv installed, run:
uvx --from protolabs-agent protoagent serveKeep the terminal open, then visit http://localhost:7870. Run the same command when you want to start it again. If port 7870 is taken, add --port 7871 and open that port instead.
Run from a source checkout
Use a checkout to develop or change protoAgent. You need Git, uv, Python 3.11+, Node 20, and npm 11+. On Windows, choose a short checkout path such as C:\src\protoAgent to avoid long dependency paths. Build the console before starting the server:
git clone https://github.com/protoLabsAI/protoAgent.git
cd protoAgent
uv sync --frozenIf you use nvm, run nvm use now. Check npm --version; if it is below 11, run npm install -g npm@11 before continuing.
npm ci
npm run build --workspace @protoagent/web
uv run python -m serverIf port 7870 is busy, add --port 7871 to the server command and open http://localhost:7871.
2. Connect a model
The setup wizard opens on a fresh instance. Click Next on the welcome screen to choose a model connection before setting up your agent:
- For an API connection, choose the OpenAI-compatible gateway card, enter your endpoint URL and any required API key, then select or enter a Model. For example, use
https://api.openai.com/v1for OpenAI orhttp://localhost:4000/v1for a local LiteLLM gateway. The button beside the model field fetches the endpoint's available models. - Claude subscription or ChatGPT / Codex subscription: follow the sign-in controls, then choose an available Model. Load models refreshes the list. These routes use a subscription login instead of an API key.
- Local model: use Ollama or LM Studio running on this machine, with no account needed. The wizard detects local servers and selects the first one with models available. Start your server and load a model if needed, then click Re-check; you can also edit the endpoint and model manually.
- Explore without a model: skip the connection and its test and go straight to agent setup. You can explore the console and connect a model later in Settings → Model; chat needs a model before it can answer.
For a model connection, click Test connection. Click Next once the wizard reports that the model responded. If it fails, check the endpoint URL, credentials, and selected model; for a local endpoint, confirm its server is running.
For sign-in or connection errors, see Chat fails.

3. Choose and name your agent
Choose Basic for this walkthrough and give the agent a name. Leave the starting persona as-is; you can edit it later in Settings → Identity. Click Next to review your choices.
4. Finish and chat
Review your choices and click Finish. If you chose to explore without a model, connect one through Settings → Model when you are ready to chat. With a model connected, send:
Say hello in one sentence.
A reply confirms that setup is complete and the selected model can answer. Continue to Use protoAgent for everyday tasks.
Optional: try a tool. Ask “What time is it in Tokyo?” With the starter tools available, you should see a current_time tool call followed by a reply. A failed tool does not necessarily mean the model connection failed. Read the error in chat, check Settings → Tools, and use Troubleshooting for the matching symptom.

Find your configuration
Setup saves the model connection, name, and persona for this instance. You do not need to edit configuration files to finish setup.
For desktop data locations, see Find your data. For the Python-package route above, open a second terminal and run:
uvx --from protolabs-agent protoagent config explainIn a source checkout, use uv run python -m server config explain. These commands report the paths and settings for the same environment used to start the server. See Configuration for field details.
Changing your mind
Use Settings → Identity for the name and persona, Model → Connections for connections, and Tools or Plugins for capabilities. Adding a connection does not switch the primary model; follow Connect and change models to select it and save.
Next steps
Continue with Use protoAgent to learn chat, files, and tools.
- Work with files and documents — attach a file or create a document.
- Back up your data — preserve chats and settings.