In this tutorial, I'll demonstrate a simple way to organize communication between two AI agents that are not part of the same system. This answers questions such as:
"How can I call Claude Code running on my server from GitHub Copilot on my laptop?"
The same approach works for many combinations of AI agents and enables them to collaborate while each operates in its own environment.
Use case
Imagine you maintain a knowledge base for your team. It consists of structured Markdown files containing documentation, plans, notes, blog drafts, CRM data, and other information.
The dataset is relatively small—not billions of files—so it can easily be handled by modern AI coding agents such as Claude Code, Codex CLI, or GitHub Copilot CLI. Although this is not source code, it doesn't matter: AI coding agents work just as well with plain text.
A typical directory structure might look like this:
KnowledgeBase
.
├── AGENTS.md
├── Automation
│ ├── assignments.md
├── BlogDrafts
│ ├── AI_Memory_Forgetting_Post_Ideas.md
│ ├── IDEAS.md
......
├── Briefs
│ └── SUMMARY.md
├── CRM
│ ├── README.md
│ ├── communications-log.md
│ ├── companies.md
│ ├── people.md
......
├── Insights
│ ├── ideas-log.md
├── Presentations
├── Scheduler
│ ├── 2026-06-23
│ │ ├── plan.md
│ └── 2026-07-10
├── Strategy
│ ├── Intro.md
Suppose your favorite AI coding agent runs on the same machine where this knowledge base is stored. Asking questions about the data or updating it becomes trivial.