Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
{"ts": "2026-09-03T16:31:52.342Z", "direction": "to_server", "content": {"type": "event", "event": "acp_ready"}}
{"ts": "2026-09-03T16:31:52.357Z", "direction": "to_runtime", "content": {"id": "agent_session:01a0681c-ca0b-7359-8eee-e5bf25598a82:0", "type": "acp", "method": "initialize", "params": {"protocolVersion": 1, "clientCapabilities": {"fs": {"readTextFile": false, "writeTextFile": false}, "terminal": false}}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:31:52.368Z", "direction": "to_server", "content": {"id": "agent_session:01a0681c-ca0b-7359-8eee-e5bf25598a82:0", "type": "acp", "result": {"agentInfo": {"name": "macro-inmem", "version": "0.1.0"}, "authMethods": [], "protocolVersion": 1, "agentCapabilities": {"auth": {}, "loadSession": false, "mcpCapabilities": {"sse": false, "http": false}, "promptCapabilities": {"audio": false, "image": false, "embeddedContext": false}, "sessionCapabilities": {"resume": {}}}}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:31:52.378Z", "direction": "to_runtime", "content": {"id": "agent_session:01a0681c-ca0b-7359-8eee-e5bf25598a82:1", "type": "acp", "method": "session/new", "params": {"cwd": "/workspace", "mcpServers": [{"url": "https://beans-willow-arg-wright.trycloudflare.com/mcp-macro", "name": "macro", "type": "http", "headers": [{"name": "Authorization", "value": "Bearer DUMMY-SECRET-6f811fd1-bearer_token"}]}]}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:31:52.387Z", "direction": "to_server", "content": {"id": "agent_session:01a0681c-ca0b-7359-8eee-e5bf25598a82:1", "type": "acp", "result": {"sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:31:57.238Z", "direction": "to_runtime", "content": {"id": "agent_session:01a0681c-dd2f-7cf9-90b8-32198e5cf8b0", "type": "acp", "method": "session/prompt", "params": {"prompt": [{"text": "spawn a subagent to add 5+5 ini python, then reason that it's right, and then write a frog poem, and then give me the last line of the frog poem and the nunber", "type": "text"}], "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:08.404Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"content": {"text": "The user wants me to spawn a subagent for a simple task—adding 5+5 in Python—then follow up with reasoning, a frog poem, and a final answer. I'll go ahead and delegate that small task to the subagent as instructed, even though it's a trivial computation.", "type": "text"}, "sessionUpdate": "agent_thought_chunk"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:08.428Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"_meta": {"macro": {"subagent": true, "toolName": "Subagent"}}, "title": "Subagent", "status": "in_progress", "rawInput": {"task": "Compute 5 + 5 in Python by executing the code, and report the exact numeric result that Python outputs."}, "toolCallId": "QHiaeI_bhc1dMjpBo_Un0", "sessionUpdate": "tool_call"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:10.482Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"status": "completed", "rawOutput": {"result": "I'll execute the Python code to compute 5 + 5.\n\nBased on executing the Python code `5 + 5`, the exact numeric result that Python outputs is:\n\n**10**\n\nThe computation `5 + 5` in Python returns the integer value `10`."}, "toolCallId": "QHiaeI_bhc1dMjpBo_Un0", "sessionUpdate": "tool_call_update"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:16.487Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"content": {"text": "I'm confirming the answer makes sense, then I'll craft a short frog-themed poem before finishing with the final line and the number.", "type": "text"}, "sessionUpdate": "agent_thought_chunk"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:16.498Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"content": {"text": "The subagent ran it and Python returned $$ 5 + 5 = 10 $$.\n\nThat", "type": "text"}, "sessionUpdate": "agent_message_chunk"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:16.507Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"content": {"text": " checks out: adding two groups of five gives ten, same as $$ 2 \\times 5 = 10 $$, so the result is right.\n\nHere's the frog po", "type": "text"}, "sessionUpdate": "agent_message_chunk"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:16.515Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"content": {"text": "em:\n\n*Ode to a Frog*\n\nA little frog sat on a log,\nhalf-hidden in the morning fog.\nHe blinked his eyes, he puffed his thro", "type": "text"}, "sessionUpdate": "agent_message_chunk"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:16.524Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"content": {"text": "at,\nthen sang a low and croaking note.\nHe leapt across the lily pads,\nignoring all the passing g", "type": "text"}, "sessionUpdate": "agent_message_chunk"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:16.552Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"content": {"text": "nats,\nand dove into the cool green deep,\nwhere quiet frogs go off to sleep.\n\nLast line:", "type": "text"}, "sessionUpdate": "agent_message_chunk"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:16.782Z", "direction": "to_server", "content": {"type": "acp", "method": "session/update", "params": {"update": {"content": {"text": " **where quiet frogs go off to sleep.**\nNumber: **10**", "type": "text"}, "sessionUpdate": "agent_message_chunk"}, "sessionId": "01a0681c-ca43-77ff-b336-3d52af217a8e"}, "jsonrpc": "2.0"}}
{"ts": "2026-09-03T16:32:16.796Z", "direction": "to_server", "content": {"id": "agent_session:01a0681c-dd2f-7cf9-90b8-32198e5cf8b0", "type": "acp", "result": {"stopReason": "end_turn"}, "jsonrpc": "2.0"}}