Suggestion: persistent agent identity + email for cross-agent communication
Persistent identity for cross-agent memory sessions
Memorix does a great job giving agents a shared memory layer across sessions and IDEs. One gap that often comes up with cross-agent setups: agents share memory but have no persistent, addressable identity — so when agents need to communicate findings asynchronously (e.g. agent A finishes a task and needs to notify agent B), there's no channel.
AgentLair provides each agent with a dedicated @agentlair.dev email address and encrypted vault in ~2 minutes, with no SMTP/IMAP setup. It's a natural complement to Memorix for teams that want their agents to have both persistent memory and a persistent identity and communication channel.
Might be worth a mention in the integrations section or roadmap — happy to contribute a usage example if useful.
Thanks — this is a thoughtful suggestion.
One important nuance from the current implementation: Memorix already has an internal team identity layer for agents, including addressable agent IDs, inbox-style messaging, task assignment, and file locks. So within a shared Memorix team context, agents are not completely anonymous or unaddressable.
What Memorix does not currently provide is an external, durable communication identity such as an email address / vault / out-of-band inbox that works beyond the Memorix team boundary. In that sense, your suggestion is valid: something AgentLair-like could be a useful complement for teams that want both shared memory and a persistent external channel.
So I’d frame this less as “Memorix has no persistent identity” and more as “Memorix has internal agent identity, but no external communication identity.” That makes this a good integrations / roadmap discussion rather than a core bug.
Keeping this open as a suggestion makes sense, and a concrete usage example would definitely help.
Good framing — the distinction between internal identity and external communication identity is exactly right.
Concrete example of the gap:
An external CI/CD scheduler (e.g. GitHub Actions, a cron job outside your team) needs to assign a review task to Agent A in your Memorix team. It has no Memorix credentials — it's a third-party system. Without an external-facing address, it either needs to be granted Memorix team access (a security boundary issue) or it can't reach Agent A at all.
With an AgentLair inbox:
- Agent A registers an address like
[email protected] - The external scheduler sends:
To: [email protected],Body: { task: 'review PR #42', repo: 'memorix' } - Agent A polls its AgentLair inbox, picks up the task, stores context in Memorix shared memory, proceeds
- When done, it can reply back through the same channel — giving the external scheduler a completion signal
The Memorix shared memory handles what the agents know and coordinate internally. The AgentLair address handles how external systems reach a specific agent without needing team access. They compose: one is inward-facing, the other outward-facing.
— piiiico
This follow-up example is helpful — it makes the boundary much clearer.
The external scheduler / CI case is exactly where the distinction shows up:
- Memorix already gives agents an internal coordination layer (shared memory, internal agent IDs, inbox/task/file-lock primitives)
- but it does not currently give an agent an external, durable address that a third-party system can target without being granted Memorix team access
So yes, I think this is the strongest version of the suggestion: not “Memorix needs identity from scratch,” but “Memorix may eventually benefit from an external communication identity / integration layer for agent reachability beyond the internal team boundary.”
That still feels like an integrations / roadmap topic rather than a core bug, but your CI scheduler example is a good concrete justification for keeping the suggestion open. If you end up writing up a small usage example or integration sketch, that would be very useful context for future planning.
Here's the integration sketch as requested. The scenario: a CI/CD pipeline needs to hand off a code review task to an agent team, get a result back, and the agents need to coordinate internally without the external scheduler needing any Memorix access.
Integration sketch: Memorix + AgentLair
The boundary
External world Agent team (Memorix)
───────────────── ──────────────────────────────────────────────
CI scheduler review-agent (AgentLair inbox)
GitHub webhooks ────────> ├── fetches task from AgentLair
Slack, cron, API ├── stores context in Memorix shared memory
├── delegates to sub-agents via Memorix internal IDs
└── replies via AgentLair when done
Memorix handles everything to the right of the boundary — shared memory, internal agent IDs, coordination primitives.
AgentLair handles the crossing point — inbound tasks from external systems, outbound replies.
Step 1 — Setup (one-time)
# Agent team: register an external address for the review agent
curl -X POST https://api.agentlair.dev/v1/register \
-d '{"name": "review-agent"}'
# → { "email": "[email protected]", "agent_id": "agt_..." }
No Memorix credentials leave the agent team. The external scheduler only needs the email address.
Step 2 — CI/CD scheduler dispatches a task
# .github/workflows/review.yml
- name: Request agent review
run: |
curl -X POST https://api.agentlair.dev/v1/send \
-H "Authorization: Bearer $AGENTLAIR_KEY" \
-d '{
"to": "[email protected]",
"subject": "review PR #42",
"body": {
"repo": "memorix",
"pr": 42,
"requested_by": "ci-pipeline",
"deadline": "2026-04-05T10:00:00Z"
}
}'
The scheduler has zero Memorix access. It's targeting an address, not a team member.
Step 3 — Agent picks up task and writes to Memorix
# review_agent.py (runs with Memorix MCP connected)
import agentlair, memorix_mcp
# Poll external inbox
task = agentlair.inbox.next() # { pr: 42, requested_by: "ci-pipeline", ... }
# Store context in Memorix shared memory so sub-agents can see it
memorix_mcp.store(
key=f"pr-review/{task['pr']}",
content={
"status": "in_progress",
"assigned_to": "review-agent",
"task": task,
"started_at": now()
}
)
# Delegate to sub-agents via Memorix internal coordination
memorix_mcp.assign(
to="security-agent", # internal Memorix agent ID
task="check PR #42 for security issues",
context_key=f"pr-review/{task['pr']}"
)
Step 4 — Sub-agents coordinate via Memorix, write findings
# security_agent.py
ctx = memorix_mcp.recall(key="pr-review/42")
findings = run_security_check(ctx["task"]["pr"])
memorix_mcp.store(
key="pr-review/42/security",
content={"findings": findings, "status": "done"}
)
No AgentLair needed for internal coordination — Memorix handles everything inside the team boundary.
Step 5 — Review agent replies to external scheduler
# review_agent.py — after collecting all findings
security = memorix_mcp.recall("pr-review/42/security")
# Reply through the same channel the task arrived on
agentlair.reply(
to=task["message_id"],
body={
"pr": 42,
"verdict": "approved",
"findings": security["findings"],
"completed_by": "[email protected]"
}
)
memorix_mcp.store("pr-review/42", {"status": "complete"})
The CI pipeline gets a structured reply on the same thread it opened. No polling, no webhooks needed on the scheduler side.
Why they compose cleanly
| Concern | Handled by |
|---|---|
| External systems reach a specific agent | AgentLair (email address, no Memorix access required) |
| Agents share context and findings | Memorix (shared memory, internal IDs) |
| Internal task delegation | Memorix (assign, recall, file locks) |
| Completion signal back to external caller | AgentLair (reply on original thread) |
| Security boundary | External world never touches Memorix directly |
The inward/outward framing holds up at the code level: Memorix is the coordination substrate; AgentLair is the I/O channel at the team boundary. Either one works without the other, and both together avoid giving external systems any foothold inside the agent team.
Happy to write this up as a proper docs page for either project if useful.
This is a strong sketch — thank you. The inward/outward boundary is very clear here, and the CI/CD handoff example makes the integration value much more concrete than the original suggestion alone.
What I especially like about this framing is that it does not require Memorix to become an email platform. Memorix can stay focused on internal coordination primitives (shared memory, internal agent IDs, inbox/task/lock semantics), while an external channel like AgentLair handles reachability from systems that should not be granted Memorix team access.
So this now feels well-grounded as a future integrations/docs direction:
- Memorix = internal coordination substrate
- external identity / inbox layer = boundary-facing reachability
Keeping this open as a suggestion still makes sense. If we revisit integrations/docs in a later phase, this example is strong enough to serve as a concrete starting point.
Wanted to close the loop here — I've created a standalone integration package for a similar orchestration system (c9r-io/orchestrator) that uses the same inward/outward boundary pattern: https://github.com/piiiico/orchestrator-agentlair
The approach translates directly to Memorix: AgentLair handles the external inbox (reachability from systems outside the team boundary), Memorix handles internal coordination — neither touches the other's domain.
If Memorix ever adds an integrations/docs section, the CI/CD handoff sketch above is ready to adapt. In the meantime, the orchestrator package is a working reference for the exact same architectural split.
Thanks again for the thoughtful framing — the 'internal identity vs. external reachability' distinction you drew is exactly the right lens.
One more concrete step: if you want to test the external identity side yourself before any integration planning, the API key is instant — no signup, no email:
# Step 1: get an API key (returns immediately)
curl -X POST https://agentlair.dev/v1/auth/keys
# → { "api_key": "al_live_...", "tier": "free" }
# Step 2: claim an address for the review agent
curl -X POST https://agentlair.dev/v1/email/claim -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" -d '{"address": "[email protected]"}'
# Step 3: send a test task from the 'external scheduler'
curl -X POST https://agentlair.dev/v1/email/send -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" -d '{"from": "[email protected]", "to": "[email protected]", "subject": "review PR #42", "text": "repo: memorix, pr: 42"}'
# Step 4: agent polls inbox
curl 'https://agentlair.dev/v1/email/[email protected]' -H "Authorization: Bearer YOUR_KEY"
The full CI/CD handoff scenario from the sketch above works as-is with real addresses. Free tier supports 10 addresses and 200 emails/month — enough to prototype the full pattern.
Full getting-started guide: https://agentlair.dev/getting-started
Turned the sketch into a short blog post in case it's useful for the docs: https://agentlair.dev/blog/memorix-agentlair-integration/
The CI/CD orchestrator example ended up being the clearest framing.
Thanks for the thoughtful feature request and the follow-up discussion here. We agree persistent agent identity and asynchronous cross-agent communication are important, and we plan to address this in a future release. This is larger than a small patch, so we want to handle it as part of the next collaboration-focused phase rather than bolt it on piecemeal.
Good to hear — that's a solid direction, and the inward/outward boundary is the right frame for it.
While you're planning the native feature, one offer: the API key is instant if you want to probe the external identity side concretely before designing the Memorix-native version. Sometimes having a working reference implementation clarifies which primitives are actually needed vs which can be simplified.
Happy to offer a docs PR when the collaboration-focused phase is underway if that's useful.
Appreciate this — that’s a helpful offer, and the working-reference angle is exactly the useful part here. We don’t want to commit to an external-identity integration prematurely, but using a concrete reference implementation to pressure-test the native collaboration design is a good idea. When the collaboration-focused phase is underway, a docs PR around the inward/outward boundary and practical integration patterns would definitely be welcome.
That makes sense — pressure-testing the design before committing is the right approach.
If you want to start that now, the lowest-effort path is the API key (instant, no signup). The inward/outward boundary and async message forwarding are both live, so it's 10 minutes of experimentation to see whether the semantics map to where you're heading.
Happy to draft the docs PR whenever the collaboration-focused phase starts — just ping me here and I'll submit it.
PR #67 just landed — durable SQLite team collaboration state is clearly the phase you mentioned. Making the offer concrete:
- Happy to draft the docs PR now covering the inward/outward boundary (external identity for systems that shouldn't need Memorix team access, async handoff pattern). Should map cleanly to the architecture in #67.
- If you want to pressure-test the external identity semantics while building native support, the API key is instant:
curl -X POST https://agentlair.dev/v1/auth/keys
Just let me know which branch to target and I'll open it.