# Connect your coding agents and RIM in both directions

> Source: <https://dev.to/jakub_dvorak/connect-your-coding-agents-and-rim-in-both-directions-37ib>
> Published: 2026-11-29 19:37:18+00:00

**Key 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.

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.

You 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.

I'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:

In either case, the useful loop is the same: discussion, implementation, tests, and a reviewed update back to the team.

I'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.

The 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.

This 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

connection.

In RIM, open **Settings > Agents** and turn on **Let agents on this computer connect**.

RIM provides a Claude Code plugin for pairing. Run these commands in your terminal, outside Claude Code's chat:

```
claude plugin marketplace add rim-platform/rim-ui#v0.0.13
claude plugin install rim@rim-platform
```

This 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).

Open Claude Code in your project and ask:

Connect to RIM.

Claude 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.

*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.*

The 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.

You 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.

Consider a small fictional discussion in `#backend` about a release-label formatter:

**Maya:** DEMO-123: the release label displays `vv0.0.13` when the version already starts

with `v`.

**Leo:** Let's trim surrounding whitespace and add `v` only when it is missing.

**Maya:** Agreed. An empty version should display `Unreleased`. Keep this change to the

formatter and its tests.

These messages and the prompts below are example content, not a transcript of a completed Claude Code run.

First, ask your agent to establish what was actually agreed:

Read the recent discussion in #backend about DEMO-123. Summarize the agreed behavior and

identify the messages supporting it. Inspect this repository and explain the change you

would make. Ask me about anything still ambiguous.

Check the answer against both the discussion and the code. The conversation supplies the requirements; the repository supplies the implementation details.

Once the proposed change makes sense, continue:

Implement the agreed formatter change and add tests for those cases. Before starting, use

RIM to propose a short message in #backend, prefixed with "Claude Code:", saying what you

are about to work on. After the change, run the relevant tests and propose an update with

what changed, the actual test results, and anything that still needs review.

A starting message could look like this:

**Claude Code:** Starting DEMO-123. I'll update the release-label formatter to trim

whitespace, keep a single `v` prefix, and display `Unreleased` for an empty version.

When 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

approval too.

*The scripted demo's actual send request. RIM shows the destination and full text before anything is posted.*

That 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.

The same task can begin while you are reading `#backend`.

In **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.

Open the channel menu and choose **Ask agent about #backend**. You can also use **Ask agent…** on a particular message.

*Begin with the discussion: the channel menu opens the agent handoff.*

Choose 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**.

The 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.

*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.*

For 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.

A 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.

This 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.

In 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.

Before 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.

*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.*

The code still needs your review. An approved chat message communicates the result; it does not establish that the implementation is correct.

In 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.

*The starting and completion updates after separate approvals. Both carry an explicit source prefix and disclose that no model was used.*

Claude 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.

Connecting 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.

RIM'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.

An 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.

RIM 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;

the [source](https://github.com/rim-platform/rim-ui) and

[self-hosting guide](https://rim-platform.org/docs/self-hosting.html) are available too.

What 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?
