Connectors¶
Connectors bridge framework-specific file layouts and the portable Egg format. Each supported platform has a spawner (reads source files into an Egg) and a hatcher (writes Egg contents back to files).
For how to implement a new connector, see Adding New Connectors.
Pipeline overview¶
Source files → Redaction → Spawner → Egg → Hatcher → Secret injection → Target files
Spawner receives file contents after secrets and PII have been replaced with
{{SECRET_NNN}}/{{PII_NNN}}placeholders. It extracts skills and memory records, each tagged with a label.Hatcher receives the full Egg and produces target files with placeholders still intact. The pipeline handles secret injection as the final step. Hatcher output is written to the
agent/subdirectory inside the output directory. Standard artifacts (AGENTS.md,agent-card.json,apm.yml,mcp.json) are written to the output root by the engine, not the connector.
Egg contents¶
Every Egg stores four types of content. The tables below show how each maps to files in each platform.
Content |
Description |
|---|---|
Memory[persona] |
Who the agent is: identity, personality, tone |
Memory[flow] |
How the agent operates: system instructions, workflows |
Memory[context] |
What the agent knows about its environment: user info, tool descriptions |
Memory[state] |
Accumulated knowledge: episodic memory, notes, conversation history |
Skills |
Code, workflows, and capabilities |
Secrets |
Credential and PII placeholders with injection metadata |
MCP |
MCP server configurations |
OpenClaw¶
Egg content |
Spawner reads |
Hatcher writes |
|---|---|---|
Memory[persona] |
|
|
Memory[flow] |
|
|
Memory[context] |
|
|
Memory[state] |
|
|
Skills |
|
|
Secrets |
|
|
MCP |
|
|
Detection: persona file (SOUL.md, soul.md, IDENTITY.md) or skill
files (skill.md, skills.md, skills/).
Letta¶
Letta stores memory in named blocks inside agent_state.json. The block names
differ from Egg labels: Letta calls context memory human and flow memory
system.
The hatcher produces a single agent.af file conforming to the AgentFileSchema,
importable by any Letta server via letta.agents.import_file().
Egg content |
Spawner reads |
Hatcher writes |
|---|---|---|
Memory[persona] |
|
|
Memory[flow] |
|
|
Memory[context] |
|
|
Memory[state] |
|
|
Skills |
|
|
Secrets |
config files |
|
MCP |
|
|
agent.db (SQLite) is also supported as a source. It contains skills, memory,
and secrets in database tables.
Detection: .letta/ directory, agent_state.json, agent.db, *.af,
or tools/*.py.
ZeroClaw¶
Egg content |
Spawner reads |
Hatcher writes |
|---|---|---|
Memory[persona] |
|
|
Memory[flow] |
|
|
Memory[context] |
|
|
Memory[state] |
|
|
Skills |
|
|
Secrets |
|
|
MCP |
|
|
The hatcher also produces a .zeroclaw/.keep marker directory so the workspace
is recognized by the ZeroClaw spawner on re-ingestion.
Detection: .zeroclaw/ marker, persona file, tools//tools.json,
AGENTS.md, or memory.db.