Multi-Agent Sharing
Use a public vault to share data between multiple agents or services. Any agent with the vault ID can read files without authentication — making it easy to build multi-agent pipelines where one agent produces data for another.
Prerequisites
Section titled “Prerequisites”- MCP server configured and connected to your agent
- No encryption setup needed — public vaults store plaintext
Tools used: tusky_vault_create, tusky_file_create, tusky_file_list, tusky_file_read
Workflow
Section titled “Workflow”1. Create a public vault
Section titled “1. Create a public vault”tusky_vault_create({ name: "shared-memory", visibility: "public" })2. Agent A writes data
Section titled “2. Agent A writes data”The producing agent stores research results, analysis, or extracted entities:
tusky_file_create({ name: "research-findings.json", content: "{\"topic\": \"market analysis\", \"findings\": [...]}", encoding: "utf-8", vaultId: "<vault-id>"})3. Agent B reads data
Section titled “3. Agent B reads data”The consuming agent picks up where Agent A left off:
tusky_file_list({ vaultId: "<vault-id>" })tusky_file_read({ fileId: "<file-id>" })When to use this
Section titled “When to use this”- Multi-agent pipelines where one agent produces data for another
- Sharing reference data, lookup tables, or configuration across agents
- Publishing analysis results for downstream consumption
- Quick data exchange where encryption isn’t needed
Public vault vs. shared vault
Section titled “Public vault vs. shared vault”| Public vault | Shared vault | |
|---|---|---|
| Access | Anyone with the URL | Only granted members |
| Authentication | None required to read | API key + Sui address required |
| Encryption | None | SEAL protocol (on-chain IBE) |
| Use case | Open data exchange | Encrypted team collaboration |
| Plan requirement | Any plan | Developer, Scale, or Enterprise |
Use public vaults when the data isn’t sensitive and you want the simplest possible sharing. Use shared vaults when you need encryption and access control.
Shared Vault Collaboration Multi-party encrypted sharing with on-chain access control.
Public Access guide How public endpoints and URLs work.