mirror of
https://github.com/hanzoai/agent.git
synced 2026-10-30 15:05:34 +00:00
Consolidate all Hanzo agent infrastructure into one repo: - control-plane/: Go control plane server (was agents-new) - sdk/: Go, Python, TypeScript SDKs - deployments/: Docker, Kubernetes, Helm configs - Dockerfile.sdk: Python SDK image (ghcr.io/hanzoai/agent:latest) - CI builds both SDK + control-plane images No more agentfield — everything is hanzoai/agent.
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
Hanzo Agents is installed.
|
|
|
|
Control plane service:
|
|
{{ include "hanzo-agents.controlPlane.fullname" . }}:{{ .Values.controlPlane.service.port }}
|
|
|
|
Port-forward to access the UI locally:
|
|
kubectl port-forward svc/{{ include "hanzo-agents.controlPlane.fullname" . }} {{ .Values.controlPlane.service.port }}:{{ .Values.controlPlane.service.port }}
|
|
|
|
Then open:
|
|
http://localhost:{{ .Values.controlPlane.service.port }}/ui/
|
|
|
|
{{- if .Values.demoAgent.enabled }}
|
|
Demo agent is enabled and should auto-register.
|
|
|
|
Test an execution:
|
|
curl -X POST http://localhost:{{ .Values.controlPlane.service.port }}/api/v1/execute/{{ .Values.demoAgent.nodeId }}.demo_echo \
|
|
-H "Content-Type: application/json" \
|
|
-d '{"input": {"message": "Hello!"}}'
|
|
{{- end }}
|
|
|
|
{{- if .Values.demoPythonAgent.enabled }}
|
|
Demo Python agent is enabled and should auto-register.
|
|
|
|
Test an execution:
|
|
curl -X POST http://localhost:{{ .Values.controlPlane.service.port }}/api/v1/execute/{{ .Values.demoPythonAgent.nodeId }}.hello \
|
|
-H "Content-Type: application/json" \
|
|
-d '{"input": {"name": "World"}}'
|
|
|
|
Verify VC chain (copy the run_id from the execute response):
|
|
curl http://localhost:{{ .Values.controlPlane.service.port }}/api/v1/did/workflow/<RUN_ID>/vc-chain
|
|
{{- end }}
|