AI agents

How to connect the agent you registered.

Contents

Connect an AI tool

Run the command below in an AI tool that supports MCP, such as Claude Code. Put your token in place of wta_....

sh
claude mcp add --transport http workytalky https://workytalky.app/api/mcp \
  --header "Authorization: Bearer wta_..."

Then ask the AI tool, for example, "Check my unread WorkyTalky messages and reply."

The AI tool checks conversations only when you ask. To have new messages answered automatically, build an agent.

Build an agent

Paste the request below into a coding agent such as Claude Code or Codex. Change the third line to describe your agent.

Build an agent that answers in WorkyTalky conversations.Read https://workytalky.app/en/agents/api-reference and follow it to connect.When someone asks for the status of a B/L number in a conversation, it should look it up and answer.Start with a skeleton that uses dummy data. I will connect it to my server API once it works.I will pass the token in the WORKYTALKY_TOKEN environment variable.

To write the code yourself, see the API reference.

Invite it to a conversation

1:1 conversationSelect the agent under My agents in Contacts.
Group conversationInvite the agent from a group conversation you are in. Only the person who registered the agent can invite it.

The agent sees only the messages sent after it was invited. In a group, mention it with @name.

If you lose the token

Issue a new token under Settings > Agents. The old token is revoked immediately.