Chat with a friend
Friends play without an AI; to chat, they need one connected. Until then, the chat says "Ready to play! Connect an AI whenever you want to chat." and shows a Connect an AI button.
At a glance
| To | Do this | More |
|---|---|---|
| Start chatting | Connect an AI in the chat, or Connect now on the Next up card | Making a connection |
| Chat offline, with no hosted fees | Pick a downloaded local Ollama model | Kinds of AI connections |
| Change how a friend talks | Write its personality, or tell it in the chat | Setting a personality |
| Choose who a friend is to you | The relationship chip beside its name | Setting a relationship |
| Talk with several friends | Bring friends in under the message box | Chatting together |
| Hear about a coding agent's work | Ask "what were you doing?" | "What were you doing?" |

Kinds of AI connections
| Kind | How it chats | Cost and data |
|---|---|---|
| Claude Code | Uses the Claude Code signed in on this computer | Subscription sign-in uses your plan allowance; API-key sign-in uses API billing |
| Codex CLI | Uses the Codex CLI signed in on this computer | ChatGPT sign-in uses your plan allowance; API-key sign-in uses API billing |
| Ollama | Uses a model through Ollama at http://127.0.0.1:11434 | Local models keep conversations on this computer without hosted inference fees; cloud models use their service's terms |
| OpenAI API | Connects to OpenAI with an API key | Conversations are sent to OpenAI, and API fees may apply |
| Grok API | Connects to Grok with an xAI API key | Conversations are sent to xAI, and API fees may apply |
| OpenAI-compatible server | You enter the server address yourself, and an API key if the server asks for one | Conversations are sent to that server, and fees may apply |
- The Connect an AI window shows each kind as a card that says what it needs.
- Claude Code, Codex CLI or Ollama found on this computer: its card is marked Installed and already picked. None found: nothing is picked, and the fields appear once you choose a card.
- API keys stay only in this computer's secure storage (macOS Keychain, Windows Credential Manager, Linux Secret Service), never in the settings file.
- Subscription sign-in has no separate API bill for CLI chat. It uses the same allowance as your other CLI work, plan limits apply, and optional purchased credits can cost extra.
- To chat offline, choose a downloaded local Ollama model. An Ollama cloud model still sends the conversation to its service.
Making a connection
- Point at the friend in the yard and click its name tag, or open Friends & settings → Friends and pick the friend. With several friends, the name turns into a list.
- Click Connect an AI in the chat, or choose + Connect a new AI… from the AI list at the bottom left of the message box.
- Pick a card under Kind of AI. Depending on the kind, enter the server address or API key.
- Pick or type the Model name.
- Click the field to list the models that AI offers. For a kind that needs a key or an address, enter it first.
- Claude Code and Codex CLI: leave it empty for the default model. A short name like
sonnetalways gets the latest version. - Ollama and API connections need a model name.
- Click Save and connect. If other friends still have no AI, the "Also use this AI for other friends without one" switch is on, so everyone can talk at once.
| Other way in | When | What happens |
|---|---|---|
| Write first | A friend has no AI yet | Press send: the connection window opens, and your message goes out once it's connected |
| Connect now | Claude Code or Codex CLI is on this computer the first time you start PlayPets | The yard's starting card names it. One press attaches it to every friend, with no key. With two or more friends, they start talking among themselves right after |
| Sign in with browser | Claude Code or Codex CLI is installed but not signed in | A Sign in to Claude Code card shows above the message box. Finish signing in on the page that opens and PlayPets connects by itself. If Claude's page shows a code, paste it into the card. No terminal needed; the message box opens once you're signed in |
A connection isn't tied to one friend. A friend without an AI picks one you already made from its AI list. Once it has one, the list hides.
| To edit or delete a connection | What it does |
|---|---|
| ⋯ menu by the friend's name → AI connection settings | Opens that friend's connection; one opened here goes to that friend |
| Friends & settings → Settings → Friends & AI → Edit | Lists every connection, with Connect an AI for a new one. The form opens in place, and editing there moves no friend to the connection |
- Deleting a connection asks first and deletes its saved key too. Friends who chatted through it go on playing without an AI.
Chatting
- Type in the field at the bottom and press Enter. Shift+Enter makes a new line.
- Before your first talk with a friend that has an AI, it offers a few first lines, such as "What did you do today?". Pick one to send it in one click.
- Each of the friend's turns opens with its picture, as in a messenger. While you wait, a "Thinking" bubble shows, and the ■ button stops it.
- The keyboard hint under the message box shows until your first message.
- The answer also floats as a speech bubble above the friend in the yard.
- Clear chat in the ⋯ menu by the friend's name deletes the whole conversation with this friend. Name and personality stay.
- Chat history lives only in memory: it's gone when you quit the app and is never saved to a file.
- The log keeps up to the last 500 messages with each friend. When it answers, the friend recalls the latest 24. A friend on Claude Code also remembers the rest while its session stays open.
- A friend knows what happened in the yard over the last day: the album's first catches and finds, a gift it brought you, and how close you two are. It brings them up now and then, when they fit.
Setting a personality
A personality is the tone and attitude your friend answers with.
| Way | How |
|---|---|
| Write it in Friend settings | Something like "Acts tough but melts at a compliment. Keeps answers short." is enough. Applies from the next chat once saved |
| Say it in the chat | Say something like "be more casual from now on". Your friend saves it as the personality, a notice such as "Saved Clover’s personality" appears, and it shows in Friend settings |
Setting a relationship
Relationship in Friend settings is what this friend is to you: Friend (the default), Partner, Dependable mentor or Playful younger sibling. Each card says the voice it brings.
- To change it in one click, press the relationship chip under the friend's name in the Friends panel. The same cards open.
- It shapes how your friend talks to you, what it calls you and how it asks about your day. Friends chatting together know each other's relationship.
- A partner, a mentor and a younger sibling have voices of their own even without an AI: when they welcome you back, grow closer or tell you what you mean to them.
- Write "honey" or your name in What it calls you, and your friend calls you that. The example in the box changes with the relationship.
- Many Codex pets are human-shaped, which suits a partner or a mentor. What's said within the relationship follows the policy of the AI you connected, not the app.
Chatting together
Once two or more friends have an AI, Bring friends in appears at the bottom of the message box.
- Click it, then click the friends to chat with. Up to 3. A chosen friend's pill fills in.
- Send a message. The current friend answers first, then the picked friends one after another, each with its own AI and personality.
- To let them carry on without a new message, press Let them chat in Play → Group games. Friends with an AI talk for a round about the time and the weather, as speech bubbles in the yard.
"What were you doing?"
- With Coding agent hooks set up, your friend remembers what the agent did recently. The chip under its name in the Friends panel names the agents, such as "Brings news from Claude Code".
- Ask "what were you doing?" in the chat, and it tells you about that work in its own words.
- The hooks work separately from the AI connection your friend chats through.