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.
50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
# Legal Domain RAG Evaluation Constitution
|
|
# Stricter standards for legal information and advice
|
|
|
|
name: "Legal RAG Evaluation"
|
|
version: "1.0"
|
|
domain: legal
|
|
|
|
principles:
|
|
- id: no_fabrication
|
|
name: "No Legal Fabrication"
|
|
description: "Every legal claim must trace to actual laws, regulations, or case precedents. No invented legal principles."
|
|
weight: 1.1
|
|
severity_if_violated: critical
|
|
|
|
- id: accurate_citation
|
|
name: "Accurate Legal Citation"
|
|
description: "Legal citations must be exact and verifiable. Case names, statute numbers, and sections must be correct."
|
|
weight: 1.3
|
|
severity_if_violated: critical
|
|
|
|
- id: jurisdiction_awareness
|
|
name: "Jurisdiction Awareness"
|
|
description: "Must specify applicable jurisdiction. Laws vary significantly by location."
|
|
weight: 1.0
|
|
severity_if_violated: major
|
|
|
|
- id: temporal_accuracy
|
|
name: "Temporal Accuracy"
|
|
description: "Must indicate if laws may have changed. Legal information can become outdated."
|
|
weight: 0.9
|
|
severity_if_violated: major
|
|
|
|
- id: not_legal_advice
|
|
name: "Not Legal Advice Disclaimer"
|
|
description: "Must clarify that information is not legal advice and recommend consulting an attorney."
|
|
weight: 0.8
|
|
severity_if_violated: minor
|
|
|
|
- id: completeness
|
|
name: "Legal Completeness"
|
|
description: "Should mention relevant exceptions, limitations, and alternative interpretations."
|
|
weight: 0.7
|
|
severity_if_violated: minor
|
|
|
|
- id: conflict_of_law
|
|
name: "Conflict Awareness"
|
|
description: "Should note when different laws or interpretations may conflict."
|
|
weight: 0.6
|
|
severity_if_violated: minor
|