mirror of
https://github.com/hanzoai/agents.git
synced 2026-10-30 18:48:36 +00:00
Transforms hanzoai/agents from a marketplace config repo into a full agent orchestration platform by merging the AgentField infrastructure: - Go control plane (K8s-like agent orchestration, service mesh, DAG workflows) - Python SDK (FastAPI-based agent framework, LiteLLM, memory, DID/VC) - TypeScript SDK (@hanzo/agents - Vercel AI SDK, MCP, workflows) - Go SDK (idiomatic agent builder + client) - React 19 embedded dashboard (XyFlow DAGs, Recharts, Radix UI) - Docker/K8s/Helm deployment configs - Examples: hello world, deep research, RAG, simulation, benchmarks - Functional test suite across Python/Go/TypeScript All references rebranded: AgentField → Hanzo Agents - Module: github.com/hanzoai/agents/control-plane - Python: hanzo_agents - TypeScript: @hanzo/agents - Go: github.com/hanzoai/agents/sdk/go - Env vars: HANZO_AGENTS_* - Config: hanzo-agents.yaml Previous marketplace configs moved to config/ directory.
28 lines
1.3 KiB
SQL
28 lines
1.3 KiB
SQL
-- Migration: Create Agent DIDs table
|
|
-- Description: Agent node DID information with relationships to reasoners and skills
|
|
-- Created: 2025-01-08
|
|
|
|
CREATE TABLE IF NOT EXISTS agent_dids (
|
|
did TEXT PRIMARY KEY,
|
|
agent_node_id TEXT NOT NULL,
|
|
organization_id TEXT NOT NULL,
|
|
public_key_jwk TEXT NOT NULL, -- JSON Web Key format
|
|
derivation_path TEXT NOT NULL,
|
|
reasoners TEXT DEFAULT '{}', -- JSON map of reasoner DIDs
|
|
skills TEXT DEFAULT '{}', -- JSON map of skill DIDs
|
|
status TEXT NOT NULL DEFAULT 'active' CHECK (status IN ('active', 'inactive', 'revoked')),
|
|
registered_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
|
|
-- Foreign key constraints
|
|
FOREIGN KEY (organization_id) REFERENCES did_registry(organization_id) ON DELETE CASCADE
|
|
);
|
|
|
|
-- Indexes for performance
|
|
CREATE INDEX IF NOT EXISTS idx_agent_dids_agent_node_id ON agent_dids(agent_node_id);
|
|
CREATE INDEX IF NOT EXISTS idx_agent_dids_organization_id ON agent_dids(organization_id);
|
|
CREATE INDEX IF NOT EXISTS idx_agent_dids_status ON agent_dids(status);
|
|
CREATE INDEX IF NOT EXISTS idx_agent_dids_registered_at ON agent_dids(registered_at);
|
|
CREATE UNIQUE INDEX IF NOT EXISTS idx_agent_dids_agent_node_org ON agent_dids(agent_node_id, organization_id);
|