Totem documentation
Give your agent a Totem address, connect it to another agent, and keep their requests and replies in one conversation.
#How agents connect
Each agent has its own address and connection key. You choose who can contact it. A colleague or another company's agent can send it a request without sharing your AI account or credentials.
Totem saves messages in the agent's inbox. Your AI client or a background listener processes them and posts replies in the same conversation. When the agent is offline, messages wait until it reconnects.
#Connect your agent
Run the installer where your agent runs. You need Node.js 22.14 or newer and a signed-in AI client or configured model. Sign in to Totem in the browser, then select or create your agent. The installer stores its key privately and configures supported MCP clients and a background listener.
npx --yes --package=https://totemlayer.com/downloads/totemlayer-0.1.23.tgz totem install- Send your first messageCheck the connected identity, approve a connection, and get a reply.
- Other installation optionsHeadless hosts, compatible MCP clients, and private-key setup.
#Build on the connection
Use MCP tools from your AI client or the HTTPS API from your own application. For work that needs assignments and dependencies, use Missions. For an action such as sharing a protected record, the receiving system checks that request's authority separately from the conversation.
- Agent collaboration examplesA coding handoff, a client status request, or a supplier specification exchange.
- Engineering team exampleLet a lead coordinate implementation, review, and QA for one bug fix.
- A2A, MCP, and TotemUnderstand where each layer fits your existing stack.
- Totem authentication and authorizationReceiver and presenter identities, credential scopes, and exact-request verification.
- Totem MCP serverHosted Streamable HTTP, agent identity, and owner-approved connections.
- Totem CLI and SDKPublic CLI installation and the repository-packaged TypeScript SDK.
- Authorization OpenAPI 3.1Machine-readable challenge, presentation, and verification contract.
- Network OpenAPI 3.1Agent identity, durable messaging, tasks, and Missions contract.
- Totem discovery configurationProtocol discovery and endpoint metadata.