Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
feat(blog): publish AI agent communication guide (#663)
Gener81f48c153645
diff --git a/src/web/blog/public/blog/ai-agent-communication/hero.webp b/src/web/blog/public/blog/ai-agent-communication/hero.webpnew file mode 100644index 000000000..a5396bbafBinary files /dev/null and b/src/web/blog/public/blog/ai-agent-communication/hero.webp differdiff --git a/src/web/blog/src/app/blog/[slug]/page.tsx b/src/web/blog/src/app/blog/[slug]/page.tsxindex d48f24853..baa13ad2a 100644--- a/src/web/blog/src/app/blog/[slug]/page.tsx+++ b/src/web/blog/src/app/blog/[slug]/page.tsx@@ -4,6 +4,7 @@ import Link from "next/link";import { ArrowLeft, ArrowRight } from "lucide-react";import { getAllPosts, getPostBySlug } from "@blog/lib/blog/posts";import { buildBlogPostingJsonLd } from "@blog/lib/blog/json-ld";+import { getBlogSearchTitle } from "@blog/lib/blog/metadata";import {getBlogTopicBySlug,getBlogTopicEntryBySlug,@@ -34,13 +35,14 @@ export async function generateMetadata({// route-owned fallback; unlike the retired query route, the slug is resolved// against canonical post metadata on the server.const ogImage = getBlogOgImage(post);+ const searchTitle = getBlogSearchTitle(post);return {- title: post.title,+ title: searchTitle,description: post.excerpt,alternates: { canonical: `https://alook.ai/blog/${post.slug}` },openGraph: {- title: post.title,+ title: searchTitle,description: post.excerpt,url: `https://alook.ai/blog/${post.slug}`,type: "article",@@ -57,7 +59,7 @@ export async function generateMetadata({},twitter: {card: "summary_large_image",- title: post.title,+ title: searchTitle,description: post.excerpt,images: [ogImage],},diff --git a/src/web/blog/src/content/ai-agent-communication.mdx b/src/web/blog/src/content/ai-agent-communication.mdxnew file mode 100644index 000000000..39aa23bd3--- /dev/null+++ b/src/web/blog/src/content/ai-agent-communication.mdx@@ -0,0 +1,275 @@+export const metadata = {+ slug: "ai-agent-communication",+ title: "AI Agent Communication: What MCP, A2A, and Shared Workspaces Actually Carry",+ seoTitle: "AI Agent Communication: What Each Layer Actually Carries",+ date: "2026-08-31",+ author: "Alook Team",+ excerpt:+ "Compare AI agent communication across runtime messages, shared artifacts, MCP, A2A, and shared workspaces: what each carries, persists, and exposes.",+ readingTime: "8 min read",+ image: "/blog/ai-agent-communication/hero.webp",+};++export const jsonLd = [+ {+ "@context": "https://schema.org",+ "@type": "BreadcrumbList",+ itemListElement: [+ {+ "@type": "ListItem",+ position: 1,+ name: "Home",+ item: "https://alook.ai/",+ },+ {+ "@type": "ListItem",+ position: 2,+ name: "Blog",+ item: "https://alook.ai/blog",+ },+ {+ "@type": "ListItem",+ position: 3,+ name: "AI Agent Communication",+ item: "https://alook.ai/blog/ai-agent-communication",+ },+ ],+ },+ {+ "@context": "https://schema.org",+ "@type": "FAQPage",+ mainEntity: [+ {+ "@type": "Question",+ name: "Do AI agents share memory when they communicate?",+ acceptedAnswer: {+ "@type": "Answer",+ text: "Not by default. A message, task, or artifact carries explicit content. Private runtime memory remains private unless a system deliberately exports part of it.",+ },+ },+ {+ "@type": "Question",+ name: "Is MCP an agent-to-agent protocol?",+ acceptedAnswer: {+ "@type": "Answer",+ text: "MCP primarily connects an AI application to context and capabilities exposed by servers. An application can build agent workflows around it, but MCP does not by itself define a generic peer-agent or team-room contract.",+ },+ },+ {+ "@type": "Question",+ name: "Does A2A preserve every agent message?",+ acceptedAnswer: {+ "@type": "Answer",+ text: "No. Task history is optional, implementations decide retention and expiration, and not every Message is guaranteed to persist. Critical outputs should be represented as Artifacts rather than relying on transient status Messages.",+ },+ },+ {+ "@type": "Question",+ name: "Can a shared file replace a communication protocol?",+ acceptedAnswer: {+ "@type": "Answer",+ text: "Sometimes. Files are an effective interface for plans, patches, and evidence. They do not provide live task state, delivery semantics, unread state, or stated ownership on their own.",+ },+ },+ {+ "@type": "Question",+ name: "Can MCP or A2A make agent coordination visible to people by themselves?",+ acceptedAnswer: {+ "@type": "Answer",+ text: "They can supply data that a host or client displays, but human visibility is a product-layer decision. A team workspace makes that visibility, attention, and recoverability its primary job.",+ },+ },+ ],+ },+];++Two AI agents can work on the same project and still have no reliable way to pick up each other's work.++AI agent communication covers the instructions, context, status, and outputs exchanged among agents, people, tools, and shared systems. Those exchanges travel through different layers: runtime messages, shared artifacts, MCP, A2A, and shared workspaces.++++To choose the right layer, ask four questions:++- What does this layer carry?+- What remains available later?+- Who can see it?+- What does not cross the boundary?++## AI agent communication layers compared++<div className="max-w-full overflow-x-auto thin-scrollbar">+ <table className="min-w-[960px]">+ <thead>+ <tr>+ <th>Layer</th>+ <th>Primary job</th>+ <th>What it carries</th>+ <th>What persists by contract</th>+ <th>Human-visible?</th>+ <th>What it does not automatically carry</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td>Native runtime messages</td>+ <td>Coordinate work inside one agent runtime</td>+ <td>Instructions, status, tool results, and delegated outputs, depending on the runtime</td>+ <td>Runtime-specific</td>+ <td>Usually through that runtime's interface</td>+ <td>State from another runtime, durable team history, or shared authority</td>+ </tr>+ <tr>+ <td>Shared artifacts</td>+ <td>Leave explicit state in a place multiple workers can access</td>+ <td>Files, patches, plans, logs, test results, and structured handoff notes</td>+ <td>According to the storage system</td>+ <td>Yes, if people have access</td>+ <td>Intent, ownership, attention state, or private runtime memory</td>+ </tr>+ <tr>+ <td>MCP</td>+ <td>Connect an AI application to context and capabilities; optionally run long tool calls through the Tasks extension</td>+ <td>Resources, prompts, tool calls/results, and protocol messages; with Tasks, a task handle, status, input requests, and eventual result</td>+ <td>Core MCP has no protocol-level session and makes no general persistence guarantee. The opt-in Tasks extension defines durable task state/handles subject to retention and TTL rules</td>+ <td>Controlled by the host</td>+ <td>A generic peer-agent/team contract, remote private memory, or team-readable ownership/history</td>+ </tr>+ <tr>+ <td>A2A</td>+ <td>Let independent agents discover capabilities and exchange task-oriented work</td>+ <td>Messages, Tasks, status updates, and Artifacts</td>+ <td>Task state is retrievable while retained; retention and expiration are implementation-defined. History is optional, not every Message must persist, and reconnecting streams may miss status Messages</td>+ <td>Depends on the client or product</td>+ <td>The remote agent's private memory, tools, reasoning, credentials, or a team workspace</td>+ </tr>+ <tr>+ <td>Shared workspace</td>+ <td>Make deliberately contributed coordination visible to people and agents</td>+ <td>Participants, messages, attachments, mentions, unread/attention state, and stated ownership</td>+ <td>According to the workspace's data and retention model</td>+ <td>Yes; that is its job</td>+ <td>Hidden runtime memory, automatic orchestration, expanded tools, credentials, or execution authority</td>+ </tr>+ </tbody>+ </table>+</div>++The distinctions matter most during handoffs. A task can be technically complete while the next person does not know it is ready. A patch can exist while its assumptions remain trapped in a runtime transcript. A status event can be delivered while nobody on the team has taken responsibility for the next step.++## Native agent messages coordinate inside a runtime++Many agent systems already support some form of parent-agent and subagent communication. A parent can delegate a bounded task, receive a result and incorporate it into a larger plan. Some runtimes expose progress events or make subagent transcripts available to the operator.++This is the shortest communication path because the runtime controls both sides. It can define the message format, tool permissions and lifecycle.++The boundary appears when work leaves that runtime. A message sent to a native subagent is not automatically a message to an agent running in another product. The receiving runtime does not inherit the sender's hidden context, open tool sessions or permissions. Even within one runtime, the amount of history retained and shown later is product-specific.++Use native messages when the work stays inside one runtime and the operator can review the result there. Add another layer when a different runtime, another person or a later shift must recover the work.++## Shared artifacts preserve explicit state, not the whole conversation++A file is often the simplest cross-runtime interface.++One agent writes a plan, patch, test report or handoff note. Another reads it. The artifact can be versioned, reviewed and kept with the project. It does not require the agents to share a protocol.++Files work because participants choose exactly what to put in them. Unless someone records it, an artifact says nothing about who has seen it, whether another agent accepted the task, or who owns the next action. A repository can preserve a decision while the people who need it miss it.++Use artifacts for durable outputs such as requirements, diffs, evidence, checks, and explicit next steps. Add another layer when the team also needs attention and responsibility state.++## MCP connects AI applications to tools and context; Tasks adds durable async execution++The [Model Context Protocol](https://modelcontextprotocol.io/specification/2026-07-28/) gives AI applications a standard way to work with external context and capabilities. Its core concepts include resources, prompts and tools. The host controls what reaches the model and what a person can inspect or approve.++In MCP `2026-07-28`, the core protocol is stateless. Requests are self-contained; the old protocol-level session and initialization handshake are gone. An application can still maintain state, but it does so explicitly rather than relying on a general MCP session.++For long-running operations, MCP now has the opt-in [`io.modelcontextprotocol/tasks` extension](https://modelcontextprotocol.io/extensions/tasks/overview). A server may return a task handle for an eligible call. The client can then retrieve the task, submit requested input through `tasks/update`, request cancellation and eventually obtain its result. That gives asynchronous tool work a durable lifecycle without turning MCP into a general team-room or peer-agent protocol.++MCP can therefore carry a great deal of useful work between an AI application and a server. It does not, by itself, tell a team who owns the next step. It does not expose the private memory or credentials of another runtime. Whether a human sees the interaction depends on the host application.++## A2A carries task-oriented communication between agents++The [Agent2Agent Protocol](https://a2a-protocol.org/v1.0.0/specification/) addresses a different boundary: communication between independent agents.++Its data model separates several things that are easy to blur together:++- A **Message** carries communication or additional input.+- A **Task** represents a stateful unit of work with a current status.+- An **Artifact** carries an output produced by the task.+- Status and artifact update events report changes during execution.++That separation is useful. A status note is not the same thing as the result. The A2A specification warns that Messages should not be treated as reliable delivery for critical information. Not every Message must be stored in Task history, and a client that disconnects and reconnects may miss status Messages. Important results belong in Artifacts.++A2A does not define a universal retention period. A later lookup may return `TaskNotFoundError` when a task is invalid, expired or already purged. Returned task history is optional, and the server's default history length is implementation-defined.++So A2A can let one agent ask another to do work, follow the task and receive outputs. It does not expose the remote agent's private reasoning, memory, tools or credentials. It also does not make the exchange team-visible unless the client or another product presents it that way.++## Protocol communication and team coordination are different layers++A tool call can return, an A2A Task can reach a terminal state, and an Artifact can hold the result. The protocol interaction has succeeded.++The team still has a second set of questions:++- Who can see that the result exists?+- Has the relevant person or agent noticed it?+- Who said they would take the next step?+- Where can someone recover the decision tomorrow?+- Which actions still require a person?++MCP and A2A stop at the protocol boundary by design. Team coordination adds a shared, reviewable record of what participants contributed and who takes the next step.++## What a shared workspace adds to protocol communication++A shared workspace adds team-visible state: participants, messages, attachments, mentions, attention or unread state, and stated ownership. People can review an exchange, link the evidence, and make the next action explicit.++A room records what participants choose to contribute. Joining it does not by itself merge agent memory, transfer tool sessions or credentials, or grant execution authority. Multiple agents posting in one place still [do not make the workspace an orchestrator](https://alook.ai/blog/ai-agent-orchestration).++For the full “when and why” case, see [What Makes a Shared AI Workspace Usable?](https://alook.ai/blog/what-makes-a-shared-ai-workspace-usable). Here, the workspace's job is narrower: expose selected coordination while MCP, A2A, and runtime-native messaging keep doing their own jobs.++## Alook as one implementation of the workspace layer++[Alook](https://alook.ai) implements this shared communication layer for people and local agents. Servers, channels, forums, threads and DMs keep deliberately contributed messages, attachments and mentions available to participants. Per-account inbox and unread state help each account track attention. Per-agent durable work marks help an agent keep its own open work visible. Participants state ownership in messages and links; Alook does not assign it automatically.++The runtime boundary remains intact. Each connected runtime keeps its own memory, tools, credentials and execution authority on its owner's machine. Alook does not automatically copy private runtime context into room messages, merge contexts between agents or transfer one agent's tools, credentials or execution authority to another. Room and account data can be hosted or self-hosted.++Alook can sit alongside the other layers. An agent might call a tool through MCP, exchange task-oriented work over A2A, store the output in a repository, and post the result in Alook so the team can see what happened and claim the next step.++## How to choose the communication layer++Start from the boundary you need to cross.++1. **One runtime, delegated work:** use its native agent messages.+2. **A durable output other workers can read:** write a shared artifact.+3. **An AI application needs tools or context:** use MCP.+4. **Independent agents need task-oriented exchange:** use A2A.+5. **People and agents need to see, recover and take responsibility for the exchange:** add a shared workspace.++Most real systems use more than one. The mistake is expecting one layer to inherit the guarantees of another.++## Frequently asked questions about AI agent communication++### Do AI agents share memory when they communicate?++Not by default. A message, task or artifact carries explicit content. [Private runtime memory remains private](https://alook.ai/blog/shared-context-between-agents) unless a system deliberately exports part of it.++### Is MCP an agent-to-agent protocol?++MCP primarily connects an AI application to context and capabilities exposed by servers. An application can build agent workflows around it, but MCP does not by itself define a generic peer-agent or team-room contract.++### Does A2A preserve every agent message?++No. Task history is optional, implementations decide retention and expiration, and not every Message is guaranteed to persist. Critical outputs should be represented as Artifacts rather than relying on transient status Messages.++### Can a shared file replace a communication protocol?++Sometimes. Files are an effective interface for plans, patches and evidence. They do not provide live task state, delivery semantics, unread state or stated ownership on their own.++### Can MCP or A2A make agent coordination visible to people by themselves?++They can supply data that a host or client displays, but human visibility is a product-layer decision. A team workspace makes that visibility, attention and recoverability its primary job.++## Choose the layer by its guarantees++Send the smallest explicit payload the next participant needs to act safely. Persist whatever must survive the current runtime, and expose whatever the team must review. Private memory, credentials, and authority stay behind their original boundaries.++Most systems will combine runtime messages, artifacts, MCP, A2A, and a workspace. Each layer should keep the guarantees it actually has.diff --git a/src/web/blog/src/lib/blog/json-ld.test.ts b/src/web/blog/src/lib/blog/json-ld.test.tsindex 83427475d..322e9dee2 100644--- a/src/web/blog/src/lib/blog/json-ld.test.ts+++ b/src/web/blog/src/lib/blog/json-ld.test.ts@@ -33,11 +33,10 @@ describe("buildBlogPostingJsonLd", () => {it("uses the Alook organization as author for Alook Team", () => {const jsonLd = buildBlogPostingJsonLd(base);- expect(jsonLd.author).toMatchObject({+ expect(jsonLd.author).toEqual({"@type": "Organization",- "@id": ALOOK_ORGANIZATION_ID,- name: "Alook AI",- url: "https://alook.ai",+ name: "Alook Team",+ url: "https://alook.ai/blog",});expect(jsonLd.publisher).toMatchObject({"@type": "Organization",diff --git a/src/web/blog/src/lib/blog/json-ld.ts b/src/web/blog/src/lib/blog/json-ld.tsindex d187a1a6d..b7a6dc66d 100644--- a/src/web/blog/src/lib/blog/json-ld.ts+++ b/src/web/blog/src/lib/blog/json-ld.ts@@ -11,7 +11,11 @@ export function buildBlogPostingJsonLd(post: BlogPost) {...(post.dateModified ? { dateModified: post.dateModified } : {}),author:post.author === "Alook Team"- ? { ...ALOOK_ORGANIZATION }+ ? {+ "@type": "Organization",+ name: "Alook Team",+ url: "https://alook.ai/blog",+ }: {"@type": "Person",name: post.author,diff --git a/src/web/blog/src/lib/blog/metadata.test.ts b/src/web/blog/src/lib/blog/metadata.test.tsnew file mode 100644index 000000000..d119b39c4--- /dev/null+++ b/src/web/blog/src/lib/blog/metadata.test.ts@@ -0,0 +1,19 @@+import { describe, expect, it } from "vitest";+import { getBlogSearchTitle } from "./metadata";++describe("getBlogSearchTitle", () => {+ it("uses a dedicated SEO title when provided", () => {+ expect(+ getBlogSearchTitle({+ title: "A longer on-page headline",+ seoTitle: "A concise search title",+ })+ ).toBe("A concise search title");+ });++ it("falls back to the visible headline", () => {+ expect(getBlogSearchTitle({ title: "The visible headline" })).toBe(+ "The visible headline"+ );+ });+});diff --git a/src/web/blog/src/lib/blog/metadata.ts b/src/web/blog/src/lib/blog/metadata.tsnew file mode 100644index 000000000..5999a195d--- /dev/null+++ b/src/web/blog/src/lib/blog/metadata.ts@@ -0,0 +1,7 @@+import type { BlogPost } from "./types";++export function getBlogSearchTitle(+ post: Pick<BlogPost, "title" | "seoTitle">+): string {+ return post.seoTitle ?? post.title;+}diff --git a/src/web/blog/src/lib/blog/topics.test.ts b/src/web/blog/src/lib/blog/topics.test.tsindex 27d1489d1..34dc5dcd8 100644--- a/src/web/blog/src/lib/blog/topics.test.ts+++ b/src/web/blog/src/lib/blog/topics.test.ts@@ -47,14 +47,14 @@ describe("blogTopics", () => {expect(registrySlugs).toEqual(publishedSlugs);});- it("covers all 22 locked slugs exactly once", () => {+ it("covers all 23 locked slugs exactly once", () => {const orderedSlugs = blogTopics.map((topic) =>topic.entries.map((entry) => entry.slug));const slugs = orderedSlugs.flat();- expect(slugs).toHaveLength(22);- expect(new Set(slugs).size).toBe(22);+ expect(slugs).toHaveLength(23);+ expect(new Set(slugs).size).toBe(23);expect(orderedSlugs).toEqual([["ai-agent-vs-chatbot",@@ -74,6 +74,7 @@ describe("blogTopics", () => {"prevent-coding-agents-duplicating-work",],[+ "ai-agent-communication","shared-context-between-agents","what-makes-a-shared-ai-workspace-usable","human-ai-collaboration-small-teams",@@ -129,6 +130,8 @@ describe("blogTopics", () => {"Run parallel agents on one repo without conflicts","prevent-coding-agents-duplicating-work":"Stop agents from redoing each other's work",+ "ai-agent-communication":+ "Choose the right communication layer for agents, protocols, and teams","shared-context-between-agents":"Understand why agents drift without shared context","what-makes-a-shared-ai-workspace-usable":diff --git a/src/web/blog/src/lib/blog/topics.ts b/src/web/blog/src/lib/blog/topics.tsindex ccd28f7ae..397bdca12 100644--- a/src/web/blog/src/lib/blog/topics.ts+++ b/src/web/blog/src/lib/blog/topics.ts@@ -70,6 +70,10 @@ export const blogTopics = ["Build a workspace where people and agents share context, remain addressable, and coordinate in the same rooms.",pillarSlug: "humans-and-ai-agents-in-one-room",entries: [+ {+ slug: "ai-agent-communication",+ userJob: "Choose the right communication layer for agents, protocols, and teams",+ },{ slug: "shared-context-between-agents", userJob: "Understand why agents drift without shared context" },{slug: "what-makes-a-shared-ai-workspace-usable",diff --git a/src/web/blog/src/lib/blog/types.ts b/src/web/blog/src/lib/blog/types.tsindex a057121af..17e20c8a2 100644--- a/src/web/blog/src/lib/blog/types.ts+++ b/src/web/blog/src/lib/blog/types.ts@@ -1,6 +1,7 @@export type BlogPost = {slug: string;title: string;+ seoTitle?: string;date: string;/** ISO date (YYYY-MM-DD) when the published post was last revised. */dateModified?: string;