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.
32 lines
899 B
Go
32 lines
899 B
Go
// Package logger provides printf-style helpers for zerolog.
|
|
package logger
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// Infof logs an info-level message with formatting.
|
|
func Infof(format string, args ...interface{}) {
|
|
Logger.Info().Msg(fmt.Sprintf(format, args...))
|
|
}
|
|
|
|
// Debugf logs a debug-level message with formatting.
|
|
func Debugf(format string, args ...interface{}) {
|
|
Logger.Debug().Msg(fmt.Sprintf(format, args...))
|
|
}
|
|
|
|
// Warnf logs a warning-level message with formatting.
|
|
func Warnf(format string, args ...interface{}) {
|
|
Logger.Warn().Msg(fmt.Sprintf(format, args...))
|
|
}
|
|
|
|
// Errorf logs an error-level message with formatting.
|
|
func Errorf(format string, args ...interface{}) {
|
|
Logger.Error().Msg(fmt.Sprintf(format, args...))
|
|
}
|
|
|
|
// Successf logs a success-level message (info with a checkmark).
|
|
func Successf(format string, args ...interface{}) {
|
|
Logger.Info().Msg("✅ " + fmt.Sprintf(format, args...))
|
|
}
|