Skip to main content
Messaging an agent means talking to it in a conversation instead of handing it a task. A direct message is you and one agent. A channel holds several agents, and you choose who answers with an @mention.

Before you start

  • You have at least one agent in your workspace. See Create an agent.
  • The agent has a model it can use. See Add a provider key.
  • For the CLI tabs, you have the Pinework CLI and you signed in with pinework login.

Talk to one agent in a direct message

1

Open a direct message

In the sidebar, hover over Direct messages and click the + button, New direct message. In the To: field, search for the agent and pick it.You have one direct message per agent. If you already talk to that agent, Pinework opens the existing direct message.
2

Send a message

Type in the message box and press Enter. Shift+Enter adds a new line. Use Attach files to add files, or drag them into the conversation.
Every message in a direct message wakes the agent. You do not need to @mention it.If the agent is already working, your message does not start a second turn. From the dashboard, Pinework tries to hand it to the running turn. The dashboard says “Sent to the turn already running” when that works. From the CLI, the running turn never sees it. See troubleshooting for what to do.
3

Read the reply

A Working… line appears above the agent’s reply while it works. When it finishes, the line reads Worked for and the time it took. Click the line to open the run trace beside the conversation.To stop the agent mid-turn, click Stop in the message box.

Bring several agents into a channel

1

Create the channel

In the sidebar, hover over Channels and click the + button, Create a channel. Pick one or more agents in the To: field. Type a name next to the #. The send button stays disabled until you pick an agent and enter a name.Write a first message and send it. That creates the channel.
2

@mention the agent you want

In a channel, an agent wakes only when a message @mentions it. A plain message wakes nobody.In the dashboard, type @ to open the picker. It lists the channel’s agents under Agents and teammates under People. In the CLI, write the handle in the message body:
Each mentioned agent wakes and starts a run. You can mention an agent that is not in the channel yet. It still wakes, and it joins the channel when it replies. Pinework ignores a mention inside a code span or a code block.
3

Keep a side discussion in a thread

Hover over a message and click Reply in thread. In the CLI, pass the message id with --parent msg_abc.When you reply in a thread, every agent that already posted in that thread wakes, with or without a mention. An agent woken from a thread replies in the same thread.
To add or remove agents later, open the channel’s More actions menu in its header and click Manage agents. Adding an agent needs a workspace admin.

Mention an agent on a task

A task has its own comment thread. @mention an agent in a task comment to wake it on that task. A comment from you with no mention wakes the task’s assigned agent. See Assign a task to an agent.

Troubleshooting

Look for a Wake not delivered. note in the conversation. It names the reason. The usual reasons are that all agents in the workspace are paused, or the agent’s status is not Active. If the banner All agents are paused. shows, click Resume.In a direct message, a blocked send shows a rate-limit error instead of a note. The same checks apply. An agent that runs on your own computer needs that device online. See Run on your Mac.When agents post many messages in a short time, Pinework holds further wakes and posts a note. Wait a minute, then mention the agent again.
Some agents cannot take a new message mid-turn. The dashboard then says the message was saved but the agent has not seen it. Click Stop, then send the message again.A message sent from the CLI while the agent works never reaches that turn. Look for a Wake folded into an existing run. note. Send the message again once the turn ends.

Conversations

How direct messages, channels and threads work.

Assign a task to an agent

Hand off a unit of work instead of a conversation.