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.
108 lines
2.3 KiB
YAML
108 lines
2.3 KiB
YAML
hanzo-agents:
|
|
port: 8080
|
|
mode: "local"
|
|
max_concurrent_requests: 512
|
|
request_timeout: 180s
|
|
circuit_breaker_threshold: 10
|
|
execution_cleanup:
|
|
enabled: true
|
|
retention_period: 24h
|
|
cleanup_interval: 1h
|
|
batch_size: 100
|
|
preserve_recent_duration: 30m
|
|
execution_queue:
|
|
worker_count: 16
|
|
request_timeout: 180s
|
|
agent_call_timeout: 90s
|
|
lease_duration: 180s
|
|
max_attempts: 3
|
|
failure_backoff: 500ms
|
|
max_failure_backoff: 30s
|
|
poll_interval: 100ms
|
|
result_preview_bytes: 4096
|
|
queue_soft_limit: 10000
|
|
waiter_map_limit: 2000
|
|
webhook_timeout: 10s
|
|
webhook_max_attempts: 3
|
|
webhook_retry_backoff: 1s
|
|
webhook_max_retry_backoff: 5s
|
|
|
|
ui:
|
|
enabled: true
|
|
mode: "embedded"
|
|
|
|
api:
|
|
cors:
|
|
allowed_origins:
|
|
- "*"
|
|
allowed_methods:
|
|
- "GET"
|
|
- "POST"
|
|
- "PUT"
|
|
- "DELETE"
|
|
- "OPTIONS"
|
|
allowed_headers:
|
|
- "Origin"
|
|
- "Content-Type"
|
|
- "Accept"
|
|
- "Authorization"
|
|
- "X-Requested-With"
|
|
exposed_headers:
|
|
- "Content-Length"
|
|
- "X-Total-Count"
|
|
- "X-Workflow-ID"
|
|
- "X-Execution-ID"
|
|
allow_credentials: true
|
|
|
|
storage:
|
|
mode: "local"
|
|
local:
|
|
database_path: "/data/hanzo-agents.db"
|
|
kv_store_path: "/data/hanzo-agents.bolt"
|
|
cache_size: 500
|
|
retention_days: 7
|
|
auto_vacuum: true
|
|
postgres:
|
|
host: "postgres"
|
|
port: 5432
|
|
database: "hanzo_agents_test"
|
|
user: "hanzo-agents"
|
|
password: "hanzo_agents_test_pass"
|
|
sslmode: "disable"
|
|
max_connections: 25
|
|
connection_timeout: 30s
|
|
vector:
|
|
enabled: false
|
|
distance: "cosine"
|
|
|
|
features:
|
|
did:
|
|
enabled: true
|
|
method: "did:key"
|
|
key_algorithm: "Ed25519"
|
|
derivation_method: "BIP32"
|
|
key_rotation_days: 90
|
|
vc_requirements:
|
|
require_vc_registration: true
|
|
require_vc_execution: true
|
|
require_vc_cross_agent: true
|
|
persist_execution_vc: true
|
|
store_input_output: false
|
|
hash_sensitive_data: true
|
|
storage_mode: "inline"
|
|
keystore:
|
|
type: "local"
|
|
path: "/data/hanzo-agents/data/keys"
|
|
encryption: "AES-256-GCM"
|
|
backup_enabled: false
|
|
backup_interval: "24h"
|
|
|
|
agents:
|
|
discovery:
|
|
scan_interval: "30s"
|
|
health_check_interval: "10s"
|
|
scaling:
|
|
auto_scale: false
|
|
min_replicas: 1
|
|
max_replicas: 5
|