DEV Community

Cover image for How Do You Get Different AI Tools to Work Together?
Emmanuel Mumba
Emmanuel Mumba

Posted on

How Do You Get Different AI Tools to Work Together?

Here's a setup I suspect a lot of you have right now.

Claude Code is open in one terminal. Codex is open in another because it handles a certain kind of refactor better. The spec was hammered out in a ChatGPT thread last Tuesday. The decision about which endpoint to deprecate is buried in Slack. And the result of all of it eventually shows up as a GitHub PR that you have to review by hand.

Every one of those tools is good. None of them knows the others exist.

So you become the integration layer. You copy the context out of one window and paste it into another. You re-explain the spec to the second agent. You relay the decision from Slack. You remember which agent already tried what. You are the router, the shared memory and the reviewer, all at once.

The usual setup: you are the integration layer between Claude Code, Codex, ChatGPT, Slack/Jira and GitHub

This article is about getting out of that role. First, why AI tools don't cooperate on their own. Then what "working together" actually requires. And finally a concrete way to set it up, using how Sharkly coordinates agents as teammates through Agents, Tasks and Crews.

Why AI tools don't work together by default

It's tempting to think this is a model problem: wait for a smarter model and the agents will figure each other out. It isn't. The failures are structural.

1. Context doesn't travel. Each agent session starts with whatever you put in front of it. When you hand work from one tool to another, the only thing that crosses over is what you copy. Everything else, like the dead ends, the reasons behind a choice, or the file the first agent already fixed, stays behind in a chat window nobody will reopen.

2. There's no shared record. The work is scattered across terminals, chat threads and tickets. Ask "what's the current state of this change?" and the honest answer is "let me check four places."

3. Nobody owns the outcome. An agent can execute, but it can't be accountable. If the work isn't tied to a person who's responsible for it, it drifts.

4. Nobody decides who acts next. Two agents with no coordinator either duplicate work or wait on each other. Someone has to sequence them, and right now that someone is you.

There are already partial fixes. Shared instruction files like AGENTS.md let several coding agents read the same project rules. Some people put a shared markdown workspace behind MCP so different tools can read and write the same notes. Single-vendor tools now ship their own subagent or "agent team" features. And there are handoff scripts that package one tool's session for the next.

These help, but they mostly solve problem #1, carrying context. They don't give you a place where the work lives, a person who's accountable, or a coordinator that decides which agent goes next, especially when the agents come from different vendors.

What "working together" actually needs

If you squint, the thing we want already exists. It's how a human team works:

  • Each teammate has a stable role. You don't re-brief your reviewer from scratch every morning.
  • The work lives in one place. A ticket has the goal, the owner, the discussion and the history.
  • Someone is accountable even when someone else does the work.
  • Someone coordinates when a job needs several people.

So the question changes from "how do I pipe tool A into tool B?" to "how do I give my AI tools roles, a shared record and a lead?" That's the model Sharkly is built around.

How Sharkly stacks the pieces

Sharkly separates who does the work from where it runs. That distinction is what makes mixing tools possible.

How Sharkly stacks the pieces: Computer, Runtime, Agent, Task, Crew

From the bottom up:

  • Computer: the host that runs the work, local or cloud.
  • Runtime: the concrete tool detected on that Computer. Sharkly names Claude Code and Codex as examples, plus similar tools. Model choice lives here, in the Runtime, not on the Agent.
  • Agent: a saved configuration that uses a Runtime.
  • Task: the record the work lives on.
  • Crew: a group of Agents (and people) with a leader.

The top three are team resources. Execution always happens down on a Computer. In practice that means one Agent can run on Claude Code and another on Codex, and they still show up as teammates on the same Task. The vendor stops being the boundary.

Let's go through the layers that matter for coordination.

1. Agents: a role, not a prompt

Sharkly's own definition is the clearest way to put it: an Agent is "a saved working configuration, not a one-off prompt."

That configuration includes:

  • a name and instructions (the role)
  • a Runtime (e.g. Claude Code or Codex) on a connected Computer
  • Skills
  • repositories and environment
  • run settings
  • visibility: Personal, or shared with a Space

There are Agent types to match the job, like "Code development" and "Daily work."

Sharkly Agents list and configuration

Setup is three steps: connect a Computer and confirm a Runtime is available, create the Agent (instructions, Runtime, Skills, visibility), then assign it a Task.

This is what fixes the re-briefing problem. Your reviewer agent always has its review instructions. Your implementer always has the repo bound. You define the role once, and everyone on the team can assign work to it.

Skills: shared standards instead of copy-pasted prompts

A Skill is a reusable instruction bundle with supporting files. You can scope it to the whole organization, to one Space, or to a single Agent, then bind it in Agent settings.

Sharkly Skills

Skills are where the shared rules go: review checklists, delivery checklists, writing standards. If your Claude Code reviewer and your Codex implementer should both follow the same coding conventions, that's one Skill bound to both, not two prompts you keep in sync by hand.

One rule worth keeping: Skills are for the standing rules. Requirements that apply to only one job go on the Task.

2. Tasks: the one place the work lives

This is the part that kills the "check four places" problem.

In Sharkly, a Task is the system of record for a unit of work. It belongs to an Organization and a Space, can sit in a Project or Sprint, and holds the goal, the people, the execution assignee, comments and history.

Sharkly Task view

The key design choice is that a Task has two kinds of assignee:

  • People: the humans responsible for the outcome.
  • An Agent or a Crew: who actually executes.

Both are picked from the same assignee control.

Assigning a person, Agent or Crew in Sharkly

So you can stay accountable while an Agent does the work. That's problem #3 solved without pretending the agent is the owner.

Conversation lives on the Task, too

Instead of a private chat session that disappears, you talk to the assigned Agent from the Task itself. An eligible comment can start or continue the Agent's run. The Agent's replies, activity and execution traces land back on the Task, and each trace stays linked from the comment that triggered it.

Talking to an Agent from the Task in Sharkly

Need someone else in the loop? @mention a person or another Agent on the Task. They see the full context because it's already there. No more pasting the thread into a new window.

Review works the same way: decisions and follow-ups go in comments, state changes go in the activity log, and the results stay on the same Task instead of in somebody's private session.

One gotcha: a comment only starts an Agent run when the Task's execution assignee is an Agent. If the Task is assigned to a person, or nobody, a comment is just a comment.

3. Crews: when one agent isn't enough

A single Agent on a Task is the right call for small, well-defined work. But some jobs need several roles in sequence: plan, implement, review, document. That's where Crews come in.

A Crew is a reusable group of People and Agents coordinated by one leader Agent. It has:

  • a name, description and optional Crew instructions
  • an Owner: a person who manages the Crew (but doesn't replace the leader for execution)
  • a leader: an Agent in the Crew's Space
  • members: Agents and People
  • a visibility setting (Personal or Space) and an optional shared Task directory

Sharkly Crews

The roles are clean. The Owner manages the Crew. The leader Agent coordinates the work. Agent members are the only ones who can start Agent runs. People members take part through the normal Task comments and chat.

How a Task flows through a Crew

How a Task flows through a Crew in six steps

  1. You assign the Task to the Crew.
  2. If the Task is in an executable status and the leader is ready, the leader starts first.
  3. The leader reads the Task context and the Crew instructions.
  4. The leader either does the work itself or @mentions eligible Agent members for specific pieces.
  5. Those members run against the same Task and post results to its chat.
  6. The leader keeps coordinating and combines the results.

This is problem #4, "who goes next?", handed to an agent whose whole job is answering it. And because everything runs against one Task, nothing has to be copied between tools to make it happen.

A worked example

Here's how I'd set up a Crew for API changes. This is my own illustrative setup, not a Sharkly template:

Example API change Crew with a planner lead, implementer, reviewer, docs writer and a human owner

  • Lead / Planner: Claude Code runtime. Breaks the goal into steps and decides who acts.
  • Implementer: Codex runtime, with the service repo bound.
  • Reviewer: Claude Code with a shared "review rules" Skill.
  • Docs writer: a "Daily work" Agent with a writing-standards Skill.
  • Me: Crew Owner, and the accountable person on each Task.

The Crew instructions are where coordination gets defined. Sharkly's guidance is that they should cover when the leader brings in another Agent, which roles exist, how results get combined, and when a person has to decide. Something like:

You lead API change work.

Roles:
- Implementer: makes code changes in the service repo.
- Reviewer: checks every change against the review-rules Skill.
- Docs writer: updates the public API docs and changelog.

Flow:
1. Restate the goal and acceptance criteria from the Task.
2. Mention the Implementer with a scoped plan.
3. When the Implementer reports done, mention the Reviewer.
4. If the Reviewer requests changes, send them back to the Implementer.
5. Once review passes, mention the Docs writer.
6. Post one combined summary: what changed, review outcome, docs links.

Stop and ask a human before: changing a public response shape,
removing an endpoint, or touching auth.
Enter fullscreen mode Exit fullscreen mode

Notice what's not in there: the specifics of any single change. Those go in the Task description (outcome, scope, acceptance criteria). The Crew instructions stay reusable.

Then the day-to-day is just: write a Task like "Add rate limiting to the public /search endpoint, 60 req/min per key, return 429 with Retry-After," set yourself as the accountable person, assign the Crew, and move it out of Backlog. The rest of the back-and-forth happens on the Task, where you can read it, comment on it and step in.

Two Crew settings worth knowing

Shared Task directory. When this is on, a later Crew Agent run on the same Task can reuse the latest eligible working directory on the same Computer, so it keeps the local changes from earlier runs. It shares the filesystem state only, not the earlier Agent's session. Turn it on for ordered work where each step builds on the last (implement, then review the same checkout). Leave it off when isolation is safer or concurrent edits could clash.

Crew-exclusive Agents. You can lock an Agent to one Crew. It then can't be used in private chats or assigned Tasks on its own, and it's hidden from the Agent directory and assignee picker outside the Crew. Handy for a specialist that only makes sense inside a specific workflow. An exclusive Agent can belong to only one Crew at a time.

Gotchas I'd want to know before day one

A few constraints from the docs that will save you some head-scratching:

  • Backlog doesn't start anything. Assigning a Crew to a Task in Backlog won't kick off the leader. Move the Task to an executable status when it's ready.
  • Exactly one leader, and it must be an Agent in the Crew's Space. The leader's row can't be removed or demoted while it's leading.
  • Only Agents start runs. People in a Crew collaborate through comments and chat; they don't trigger runs.
  • Personal Crews are owner-only for assignment. Only the Owner can pick a Personal Crew as a Task assignee. Use Space visibility if the team should share it.
  • Crew chat doesn't create Tasks. It's good for exploring with the leader, but once the discussion turns into actual work, create a Task and assign the Crew so it gets tracked.
  • Archiving a Crew stops new assignments but keeps history. Check for Tasks or automations still pointing at it first.

And the meta-rule from Sharkly's own best practices: don't reach for a Crew by default. If one Agent can do the job, assign one Agent. Add Crew members only when they have a stable reason to be there.

Wrapping up

The answer to "how do you get different AI tools to work together?" turns out not to be a better pipe between them. It's a better structure around them:

  • Give each tool a role (an Agent with instructions, Skills and a Runtime).
  • Put the work in one record (a Task with an accountable human and an execution assignee).
  • Let a leader coordinate when a job needs more than one role (a Crew).

Once that's in place, Claude Code and Codex stop being two tabs you shuttle between and start acting like two teammates on the same ticket. You go back to doing the part only you can do: deciding what "done" means and approving it.

If you want to try it, the Agents and Tasks pages cover the basics, and the Crews docs go into the coordination details.

How are you handling this right now? Are you still the human clipboard between your AI tools, or have you found a setup that works? Let me know in the comments.

Top comments (11)

Collapse
 
openpod profile image
Bridger •

still the human clipboard most days honestly lol. the one that bites me is having claude and codex both going and forgetting which one I told about a change, so one of them is happily working off the old plan. if the spec changes mid task in sharkly, does the crew already on it find out, or does it finish against the old version?

Collapse
 
therealmrmumba profile image
Emmanuel Mumba • • Edited

"Happily working off the old plan" is exactly the failure I was describing 😅

Honest answer: it depends on how you push the change.

If you only edit the Task description quietly while a run is already mid-flight, that active turn doesn't get hot-injected it finishes against the context it started with, though any subsequent turn or next Crew member reading the task picks up the updated spec.

If you want to redirect a Crew mid-flight without juggling separate tools, you post the spec change once in that task's shared Crew conversation:

  • By default, your message queues as a follow-up right behind the active run (so it won't spawn conflicting parallel runs, and the next turn immediately reconciles against the new spec).
  • If the current run is heading down the wrong path, you can stop it or hit Prioritize on the queued message to interrupt the active turn and switch straight to the updated direction.

Because the whole Crew shares one conversation thread and resumed turns pull intermediate messages from teammates and users switching from Claude to Codex mid-task doesn't leave one of them stuck on the old plan.

Collapse
 
openpod profile image
Bridger •

oh nice, queueing it behind the active run is basically what I do by hand right now, wait for it to finish then paste the update in. when you hit prioritize, what happens to the half done edits from the run you cut off? do they stay in the worktree for the next turn to sort out

Collapse
 
halfcycle profile image
Halfcycle •

"You are the router, the shared memory and the reviewer" is where most people end up. We hit the same thing building Halfcycle and found the decisions had to live in the project itself, not in any one tool's chat, so whichever agent picks it up next starts from what was agreed. Where does Sharkly keep them, in the repo or in its own store?

Collapse
 
therealmrmumba profile image
Emmanuel Mumba • • Edited

Both, split by what belongs where.

Execution and collaboration state lives in Sharkly's own store: Tasks (description, status, linked relations), comments, task/Crew conversation history, and a versioned Docs library. Every agent whether it's running on Claude Code, Codex, or another runtime can pull that state via the Sharkly CLI (task view, comment list, chat message list, doc view/edit), so decisions aren't trapped in any single tool's chat window.

Code-level conventions (AGENTS.md/CLAUDE.md, ADRs, commits, branches) stay right in your Git repo, since agents execute inside real local directories or isolated git worktrees. In practice, Sharkly holds the cross-tool collaboration memory while Git stays the source of truth for code.

Curious how Halfcycle handles it. Does the project file become the source of truth, or a mirror of the tracker?

Collapse
 
halfcycle profile image
Halfcycle •

Source of truth for decisions, not for tracking work. What was decided and why sits in the repo next to the code, so every agent on Claude Code or Codex reads the same thing. Who is doing what stays in whatever tracker the team already uses. Splitting it that way means a stale ticket can't overrule a decision. Your split sounds close to ours: does Sharkly ever write a decision back into the repo, or does it stay in the Docs library?

Collapse
 
dosaygo profile image
dosaygo •

When two agents pick up related tasks, how does the coordinator discover an existing implementation before either starts a parallel one?

Collapse
 
therealmrmumba profile image
Emmanuel Mumba • • Edited

To be upfront: Sharkly doesn't do magic cross-task semantic deduplication. If two completely separate tasks are kicked off blindly in parallel worktrees, it won't spot that they overlap. Coordination comes from explicit structure plus shared visibility:

Leader-first Crews. For related work, you assign a Crew instead of fanning out solo tasks. Only the leader Agent starts first. It inspects the task and the repo, decides the sequence, and hands specific steps to members via @mention or sub-tasks, never both for the same piece of work.

Shared Task directory (optional, per Crew). For sequential work on the same task and computer, this runs members one after another in the same workspace, so the next agent sees the previous agent's exact local edits on disk.
Shared task graph and repo visibility.

Tasks support explicit relations (blocks / is blocked by / duplicates / relates to) and sub-tasks. Each isolated worktree publishes to a predictable branch: sharkly-agent//. Through the CLI and local repo access, the coordinator can check open and related tasks (task list / task view), existing branches and PRs, and the codebase before assigning any implementation. Teams typically bake that check into their Crew instructions.

Collapse
 
dosaygo profile image
dosaygo •

Of your three, the Skill is the only one that works when nobody has noticed the two requests are related. One Task for a Crew and merging in Triage both need someone to spot the overlap first, and "add rate limiting" and "throttle the export endpoint" will get past any intake queue as two different jobs.

The Skill's wording decides whether it does anything. "Search for an existing implementation" lets the agent search for the name it was about to invent, find nothing and carry on with a clear conscience. Make the comment mandatory and specific: the path and symbol it will extend, or "none found" with the terms it searched. Have the leader refuse any work that arrives without that comment. Then a duplicate takes a visible lie instead of a quiet omission.

Open branches are the half people skip. main can't show what the other agent started ten minutes ago. git log --all -S"term" searches every branch in one command.

That Skill is what AI Lint, which we make, ships ready-made: a pre-flight checklist plus reject rules the agent reads before it writes, as plain markdown for CLAUDE.md, AGENTS.md or Cursor rules. AR-R2 Parallel Solutions is the reject for exactly this case, a second implementation next to one that exists. ai-lint.dosaygo.com/go/forum-20261...

Thread Thread
 
therealmrmumba profile image
Emmanuel Mumba •

Quick note: I've updated my first reply with more accurate details from the Sharkly team. Task relations and agent branch naming turned out to be relevant here.

Fair point. Both Crews and Triage depend on someone noticing the overlap first, and "add rate limiting" vs "throttle the export endpoint" is exactly the pair that slips through.

I like the "visible lie instead of a quiet omission" framing. A required pre-flight comment with the path or symbol being extended, or "none found" plus the search terms used, is much stronger than "search for an existing implementation." Having the leader refuse work without it makes the check enforceable rather than a suggestion.

The open-branches point fits Sharkly well too. Agent worktrees publish to predictable branches (sharkly-agent//), so git log --all -S"term" covers what other agents started minutes ago, not just main. And when the check does find something, the Task can be marked duplicates or relates to so the link is recorded rather than living in one agent's head.

In Crew instructions that becomes something like:

`Before assigning implementation, the implementer must post:

  • the path + symbol it will extend, OR
  • "none found" + the exact terms searched (repo, open branches via git log --all -S, and task list for related tasks) Reject any implementation that arrives without this comment. If a match is found, link the Task as duplicates / relates to.`
Thread Thread
 
dosaygo profile image
dosaygo •

That instruction will hold. Two holes are left in it, and both are cheap to close.

git log --all only sees what the local clone has fetched. A branch another agent pushed four minutes ago is invisible until git fetch --all --prune runs, so put the fetch in the instruction ahead of the search. Otherwise "none found" is true of a stale copy.

The other one is the search terms. -S matches a literal string, and the agent will search the word it already had in mind. The rate-limit agent searches "rate limit", finds nothing, and the throttle branch sails past. Have it search what it is going to touch, not what it calls the idea: the route, the handler name, the file path. Both agents write different words for the feature and both have to edit the export handler.

For the leader, checking the comment exists is not enough. It reruns one of the listed terms itself. One command, and a made-up "none found" gets caught the first time.