Start here
Getting started
You install Poppet from its source code. You need Git, Bun 1.4.4, and an account with one of the supported providers.
Every message you send uses your provider account’s quota. If you already pay for ChatGPT, start with ChatGPT. It needs no API key. Gemini, OpenRouter, OpenCode, and OpenCode Go use an API key instead. See providers to compare them.
1. Install Poppet#
Install Git and Bun 1.4.4, then download Poppet:
git clone https://github.com/poppet-run/poppet.git
cd poppetIf you use mise, run mise install in this folder to get the right Bun version. Otherwise, follow Bun’s installation guide.
Install Poppet’s dependencies and add the poppet command:
bun install --frozen-lockfile
bun linkIf your terminal then says it cannot find poppet, add Bun’s command folder to your PATH:
# Add this line to ~/.zshrc or ~/.bashrc, then open a new terminal
export PATH="$(bun pm bin -g):$PATH"fish_add_path (bun pm bin -g)The poppet command runs from the folder you downloaded, so leave that folder where it is. Check that the command works:
poppet --help2. Run setup#
poppet setupSetup asks you to choose a provider, sign in, and pick a model. It can also connect a messaging gateway, such as Discord, Slack, or Telegram. On macOS, and on Linux with systemd, it offers to start the worker each time you log in. On other systems it shows the command to run the worker yourself.
Setup shows your current settings, then guides you through numbered steps. After you choose a model, it offers a short test request that uses some of your provider quota. You can skip the test. If it fails, you can keep the model or choose another. If sign-in or the model list fails, you can retry, choose another provider, or quit.
Choose the gateways you want from one list. Setup checks their tokens and offers the accounts, servers, or channels it can find. You can also type IDs yourself. If a token check fails, you can retry, continue with an unchecked token, or skip that gateway.
Before saving, review the provider, model, and gateway changes. You can change your answers or cancel. Sign-ins are saved immediately, even if you cancel. Other choices are saved after you approve the review. If setup stops later, completed saves remain.
Setup then offers to install, start, or restart the worker. Restarting can interrupt active answers. It finishes with doctor checks and instructions for starting a conversation. A worker that has just started can show as not responding; check again with poppet doctor.
Change part of your setup#
When you run setup again after saving a provider, you can choose what to change or keep everything. You can also go straight to one part:
poppet setup provider
poppet setup gateways
poppet setup workerProvider and gateway setup both finish with the worker step. Unselected configured gateways stay connected unless you confirm removal of their settings and tokens. If setup cannot read a gateway’s saved settings, it marks them unreadable and lets you replace or remove them.
When two or more gateways remain configured, setup asks which home gateway should receive approval prompts for tasks without a destination. It also lets you keep a saved home gateway from an external package.
Setup needs an interactive terminal. If you would rather edit the settings yourself, follow step 3 instead.
3. Connect a provider without setup#
For ChatGPT, sign in through your browser, then list the models your account can use:
poppet provider login openai-chatgpt
poppet provider models openai-chatgpt
poppet provider status openai-chatgptIn the browser, pick your account and approve access to your plan, then return to the terminal. The ChatGPT guide covers what you approve and how to sign out.
For an API key, follow the Gemini, OpenRouter, OpenCode, or OpenCode Go guide.
Then save the provider and a model ID from the list in ~/.config/poppet/config.json:
{
"provider": "openai-chatgpt",
"model": "replace-with-model-id"
}Never put passwords or API keys in this file. Check that Poppet reads it correctly:
poppet config4. Send a message#
poppet chat new "Help me plan a small TypeScript project"Poppet prints a Session: line with the conversation’s ID, then writes the answer as it arrives. Poppet saves the conversation under that ID. To continue it, copy the ID:
session_id='paste-session-id-here'
poppet chat send $session_id "What should I build first?"set session_id 'paste-session-id-here'
poppet chat send $session_id "What should I build first?"For a back-and-forth conversation, run poppet chat. Press Enter to send and type /exit to leave. See chat for more.
If a message fails, see troubleshooting.
Add what you need#
You can keep chatting without setting up anything else. When you want more:
- Memory keeps facts about you between conversations.
- Skills let you reuse a procedure in a chat or task.
- Scheduled tasks run a prompt later. They need the worker running.
- Messaging lets you chat through a gateway, such as Discord, Slack, or Telegram.
- Read web pages you link, or connect MCP tools from other services.