agentic-platform-schema
3
总安装量
1
周安装量
#55582
全站排名
安装命令
npx skills add https://github.com/vanman2024/ai-dev-marketplace --skill agentic-platform-schema
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
github-copilot
1
claude-code
1
Skill 文档
Agentic Platform Schema
Supabase schema for the “Agentic Platform Contract” – standardized tables for AI agent runs, events, and artifacts.
Overview
Standard tables for agentic applications:
agent_runs– Track agent execution runsagent_events– Stream of events within runsagent_artifacts– Files/outputs from runsagent_tool_calls– Tool/function call tracking
Use When
This skill is automatically invoked when:
- Building AI agent backends
- Tracking agent runs and events
- Storing agent artifacts
- Implementing run history/replay
Available Scripts
| Script | Description |
|---|---|
scripts/setup-agentic-schema.sh |
Run Supabase migration |
Available Templates
| Template | Description |
|---|---|
templates/agentic-schema.sql |
Full schema with RLS |
templates/queries.sql |
Common query patterns |
Schema Overview
agent_runs (1) âââââ< agent_events (many)
â
ââââââ< agent_artifacts (many)
â
ââââââ< agent_tool_calls (many)
Best Practices
- Use
run_idto group related events - Store structured data in JSONB columns
- Enable RLS for multi-tenant apps
- Index
statusandcreated_atfor queries