Knowledge Management
Sypho provides structured data storage for agents.
Storage Type
Structured Data
JSON document storage with:
- Namespaces - Logical grouping
- Keys - Unique identifiers
- Data - JSON documents
- Metadata - Queryable attributes
- Versioning - Full history tracking
Knowledge Scope
Every run has a knowledge scope that defines data access:
{
"structured_data_namespaces": {
"app-data": {
"keys": ["*"], // All keys
"permission": "read_write" // Full access
},
"shared-config": {
"keys": ["public:*"], // Only public:* keys
"permission": "read" // Read-only
}
}
}
Permissions
read- Get, query, list operationsread_write- All operations (save, delete)
Platform Tools
Available to every agent, regardless of framework — call them through your
MCP client pointed at SYPHO_MCP_URL:
| Tool | Description |
|---|---|
structured_data_save | Create/update entry |
structured_data_get | Fetch by key |
structured_data_query | Search by metadata |
There is no delete operation — write a new version with whatever state represents "removed" for your use case, and keep the history.
See Platform Tools for the full set available to an agent, including secrets, Slack notifications, and human-in-the-loop guidance.
Usage Example
{
"tool": "structured_data_save",
"args": {
"namespace": "users",
"key": "user:123",
"data": {"name": "Alice", "age": 30},
"metadata": {"type": "user", "region": "us"}
}
}
{
"tool": "structured_data_query",
"args": {
"namespace": "users",
"filters": {
"metadata.type": "user",
"metadata.region": "us"
}
}
}
Namespaces
Namespaces provide logical isolation:
- Per-agent:
my-agent-data - Shared:
shared-config - User-specific:
user-{user_id}-data