Files
zeekayandGitHub 5b5cf9e9db feat: merge AgentField control plane + SDKs as Hanzo Agents (#1)
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.
2026-02-09 18:53:09 -08:00

29 lines
769 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: hanzo-agents-demo-python-agent
data:
main.py: |
import os
from hanzo-agents import Agent
app = Agent(
node_id=os.getenv("AGENT_NODE_ID", "demo-python-agent"),
hanzo_agents_server=os.getenv("HANZO_AGENTS_URL", "http://localhost:8080"),
dev_mode=True,
)
@app.reasoner()
async def hello(name: str = "Hanzo Agents") -> dict:
return {"greeting": f"Hello, {name}!", "node_id": app.node_id}
@app.reasoner()
async def demo_echo(message: str = "Hello!") -> dict:
return {"echo": message, "node_id": app.node_id}
if __name__ == "__main__":
port = int(os.getenv("PORT", "8001"))
app.run(host="0.0.0.0", port=port, auto_port=False)