API Surface
Draft interface
The examples below express integration intent. They are not final SDK or HTTP contracts.
Identity APIs
Identity APIs bind user identity, Agent Profiles, and tool permissions into auditable authorization context.
ts
const authorization = await sak.genauth.delegate({
userId: 'user_123',
agentId: 'agent_researcher',
scopes: ['web.search', 'mcp.gmail.read'],
expiresIn: '30m'
})Memory APIs
Memory APIs write, retrieve, explain, and erase user context.
ts
const context = await sak.gumem.recall({
userId: 'user_123',
query: 'Find laptops for local LLM work',
include: ['profile', 'chat', 'search', 'action']
})Web Data APIs
Web Data APIs turn the open web into structured input and execute browser actions in sandboxes.
ts
const page = await sak.web.textify({
url: 'https://example.com/report',
format: 'markdown'
})ts
const result = await sak.web.search({
query: 'agent memory benchmark',
mode: 'research'
})Recommended integration order
- Add GenAuth for user and agent authorization boundaries.
- Add GUMem for explainable user context.
- Add Web Agent for live web data and browser action.