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

64 lines
1.8 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package framework
import (
"fmt"
"github.com/fatih/color"
)
// OutputFormatter provides consistent output formatting for all commands
type OutputFormatter struct {
verbose bool
}
// NewOutputFormatter creates a new output formatter
func NewOutputFormatter(verbose bool) *OutputFormatter {
return &OutputFormatter{verbose: verbose}
}
// PrintSuccess prints a success message with green checkmark
func (o *OutputFormatter) PrintSuccess(message string) {
fmt.Printf("✅ %s\n", color.GreenString(message))
}
// PrintError prints an error message with red X
func (o *OutputFormatter) PrintError(message string) {
fmt.Printf("❌ %s\n", color.RedString(message))
}
// PrintInfo prints an info message with blue info icon
func (o *OutputFormatter) PrintInfo(message string) {
fmt.Printf("ℹ️ %s\n", color.BlueString(message))
}
// PrintWarning prints a warning message with yellow warning icon
func (o *OutputFormatter) PrintWarning(message string) {
fmt.Printf("⚠️ %s\n", color.YellowString(message))
}
// PrintHeader prints a header message with hanzo-agents emoji and bold text
func (o *OutputFormatter) PrintHeader(message string) {
fmt.Printf("\n%s %s\n", color.CyanString("🧠"), color.New(color.Bold).Sprint(message))
}
// PrintVerbose prints a verbose message only if verbose mode is enabled
func (o *OutputFormatter) PrintVerbose(message string) {
if o.verbose {
fmt.Printf("🔍 %s\n", color.New(color.Faint).Sprint(message))
}
}
// PrintProgress prints a progress message with spinner-like icon
func (o *OutputFormatter) PrintProgress(message string) {
fmt.Printf("⏳ %s\n", color.YellowString(message))
}
// SetVerbose updates the verbose setting
func (o *OutputFormatter) SetVerbose(verbose bool) {
o.verbose = verbose
}
// IsVerbose returns whether verbose mode is enabled
func (o *OutputFormatter) IsVerbose() bool {
return o.verbose
}