{"slug": "connect-your-coding-agents-and-rim-in-both-directions", "title": "Connect your coding agents and RIM in both directions", "summary": "The maintainer of RIM, an open-source self-hosted workspace for developer teams, released a Claude Code plugin that connects coding agents to team chat over the Model Context Protocol in both directions. The plugin pairs an agent to the desktop app via a matching code, starts with no channel access, and lets users grant read permissions per channel so agents can pull agreed requirements from discussions and post reviewed updates back. The workflow is demonstrated with a scripted demo agent rather than a live model.", "body_md": "Your team has discussed a bug, ruled out a few approaches, and agreed on the change. You open your coding agent in the repository, but the decisions are still in a chat channel.\n\nYou can copy them into a prompt. Or you can connect the agent to the conversation and let it read the relevant messages through RIM's tools.\n\nI'm the maintainer of [RIM](https://rim-platform.org/), an open-source, self-hosted workspace for developer teams. There are two starting points for this workflow:\n\nIn either case, the useful loop is the same: discussion, implementation, tests, and a reviewed update back to the team.\n\nI'll use **Claude Code** as a concrete setup example below. RIM also supports other agents; the connection method depends on whether you want RIM's tools in an external client or an agent session running inside RIM.\n\nThe screenshots use RIM desktop `0.0.13` and a fictional demo channel. The pairing capture comes from RIM's real Claude Code plugin script. The session captures use a **Scripted demo agent**, with no model connected; its channel reads, approved posts, file change and test execution are real.\n\nThis needs the RIM desktop app and Claude Code on the same computer, with RIM running and your account unlocked. The browser client supports chat, but it cannot provide this local agent\n\nconnection.\n\nIn RIM, open **Settings > Agents** and turn on **Let agents on this computer connect**.\n\nRIM provides a Claude Code plugin for pairing. Run these commands in your terminal, outside Claude Code's chat:\n\n```\nclaude plugin marketplace add rim-platform/rim-ui#v0.0.13\nclaude plugin install rim@rim-platform\n```\n\nThis example pins the plugin repository to the RIM client release `v0.0.13`. The [plugin README](https://github.com/rim-platform/rim-ui/blob/v0.0.13/integrations/claude-code/README.md) also covers installation from the default branch or a local checkout. Claude Code documents its [marketplace and plugin installation commands](https://code.claude.com/docs/en/plugins/install).\n\nOpen Claude Code in your project and ask:\n\nConnect to RIM.\n\nClaude Code displays a pairing code, and RIM shows a connection dialog. Compare the codes and choose **The code matches, connect** when they agree. Restart Claude Code after setup and use `/mcp` to inspect the RIM connection.\n\n*The actual pairing dialog, requested through the plugin's pairing script. Setup was completed using the Claude Code CLI; this capture does not show a model conversation.*\n\nThe connection gives Claude Code access to RIM through the Model Context Protocol, or MCP. It starts with no channel access. Back in **Settings > Agents**, choose the connected agent, open **Choose what it can read**, and allow the channel you want it to use.\n\nYou can then ask about that conversation from the terminal. The agent uses RIM's tools to retrieve messages instead of relying on excerpts pasted into the prompt.\n\nConsider a small fictional discussion in `#backend` about a release-label formatter:\n\n**Maya:** DEMO-123: the release label displays `vv0.0.13` when the version already starts\n\nwith `v`.\n\n**Leo:** Let's trim surrounding whitespace and add `v` only when it is missing.\n\n**Maya:** Agreed. An empty version should display `Unreleased`. Keep this change to the\n\nformatter and its tests.\n\nThese messages and the prompts below are example content, not a transcript of a completed Claude Code run.\n\nFirst, ask your agent to establish what was actually agreed:\n\nRead the recent discussion in #backend about DEMO-123. Summarize the agreed behavior and\n\nidentify the messages supporting it. Inspect this repository and explain the change you\n\nwould make. Ask me about anything still ambiguous.\n\nCheck the answer against both the discussion and the code. The conversation supplies the requirements; the repository supplies the implementation details.\n\nOnce the proposed change makes sense, continue:\n\nImplement the agreed formatter change and add tests for those cases. Before starting, use\n\nRIM to propose a short message in #backend, prefixed with \"Claude Code:\", saying what you\n\nare about to work on. After the change, run the relevant tests and propose an update with\n\nwhat changed, the actual test results, and anything that still needs review.\n\nA starting message could look like this:\n\n**Claude Code:** Starting DEMO-123. I'll update the release-label formatter to trim\n\nwhitespace, keep a single `v` prefix, and display `Unreleased` for an empty version.\n\nWhen the agent asks RIM to send it, RIM brings up the proposed message for your approval. Check its text and target channel, then choose **Send**. Each later message needs its own\n\napproval too.\n\n*The scripted demo's actual send request. RIM shows the destination and full text before anything is posted.*\n\nThat puts the intention back into the conversation before the code changes begin. The agent can then use its coding tools in the repository, following its own permission settings.\n\nThe same task can begin while you are reading `#backend`.\n\nIn **Settings > Agents**, add or install Claude Code under **Agents RIM starts**, and complete the agent's own sign-in. RIM uses an Agent Client Protocol adapter for these sessions. ACP lets RIM start the agent and display its conversation, tool activity and permission requests.\n\nOpen the channel menu and choose **Ask agent about #backend**. You can also use **Ask agent…** on a particular message.\n\n*Begin with the discussion: the channel menu opens the agent handoff.*\n\nChoose an existing RIM-managed session, or start a new one with Claude Code and the project folder. If that agent cannot read the channel yet, RIM offers **Let it read #backend**.\n\nThe session opens with an **About** label identifying the conversation. Write the same request to read the DEMO-123 discussion and inspect the code, then submit it. RIM passes your prompt and a conversation reference; the agent fetches the messages through its RIM tools.\n\n*In this scripted session, RIM supplied the conversation reference and the program read four actual fixture messages through MCP. Its response is predetermined, rather than model reasoning.*\n\nFor a shorter entry point, bind your own shortcut to **Ask Agent About Conversation…**. With the channel open, the shortcut brings up the handoff so you can select a session and write the task. You still submit the instruction yourself.\n\nA message reference helps the agent find the discussion. Granting access from a selected message opens its channel, rather than only that one message, and the grant stays until you change it.\n\nThis path starts or selects a session managed by RIM. It does not transfer an existing terminal conversation into the app. The terminal and RIM are two ways to begin the work, with the same channel-access and posting controls.\n\nIn a RIM-managed session, you can follow the agent's tool calls, inspect the changes it reports, and answer its permission requests. If you started in the terminal, continue reviewing the work there.\n\nBefore approving a completion update, review the actual diff and test output. The update should tell the team what changed, which checks ran, what they showed, and what remains open. Have the agent include those observed results rather than announce success in advance.\n\n*The demonstration program changed the disposable formatter and ran Node's test runner. The existing six-test suite went from one pass and five failures to six passes. These results verify the fixture change; they do not demonstrate an AI-generated implementation.*\n\nThe code still needs your review. An approved chat message communicates the result; it does not establish that the implementation is correct.\n\nIn RIM client `0.0.13`, messages sent through this integration appear under your account. The explicit **Claude Code:** prefix in this example identifies their source in the channel. The workspace audit log also records that an agent initiated the action.\n\n*The starting and completion updates after separate approvals. Both carry an explicit source prefix and disclose that no model was used.*\n\nClaude Code is one option. RIM also has session presets for Codex, Gemini CLI, opencode and Goose. Other compatible MCP clients can connect through **Settings > Agents > Connect an agent**, which provides the configuration for the selected tool.\n\nConnecting a tool through MCP gives it access to RIM's tools. Running its session inside RIM also requires a compatible ACP program. Available settings and capabilities vary by agent; the [agent guide](https://rim-platform.org/docs/client/agents.html) covers the supported setups.\n\nRIM's built-in agent read tools currently cover selected channels on your own server, using messages stored on your device. They exclude DMs, groups, encrypted conversations and workspaces on other servers.\n\nAn agent runs with your computer account's access and its own tools. Choosing a project folder does not sandbox it, and RIM's channel grants do not restrict everything its other tools can reach. A program running locally can use a cloud model, so channel content it reads may go to its model provider.\n\nRIM is early software, and AI integration is optional. To explore this workflow, start with a small repository and a demo channel whose requirements you can check yourself. The [project site](https://rim-platform.org/) has downloads and a public community workspace;\n\nthe [source](https://github.com/rim-platform/rim-ui) and\n\n[self-hosting guide](https://rim-platform.org/docs/self-hosting.html) are available too.\n\nWhat would you hand to your coding agent from a team discussion: an agreed bug fix, a design decision, or a question it needs to investigate first?", "url": "https://wpnews.pro/news/connect-your-coding-agents-and-rim-in-both-directions", "canonical_source": "https://dev.to/jakub_dvorak/connect-your-coding-agents-and-rim-in-both-directions-37ib", "published_at": "2026-11-29 19:37:18+00:00", "updated_at": "2026-11-29 19:44:49.521424+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["RIM", "Claude Code", "Anthropic", "Model Context Protocol"], "also_reported_by": [], "takeaway": "RIM's Claude Code plugin pairs an agent over MCP with channel access off by default, letting you grant read scope per channel so the agent retrieves agreed requirements from team chat instead of pasted excerpts.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/connect-your-coding-agents-and-rim-in-both-directions", "markdown": "https://wpnews.pro/news/connect-your-coding-agents-and-rim-in-both-directions.md", "text": "https://wpnews.pro/news/connect-your-coding-agents-and-rim-in-both-directions.txt", "jsonld": "https://wpnews.pro/news/connect-your-coding-agents-and-rim-in-both-directions.jsonld"}}