ares

module
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: Apache-2.0

README

ares

           _____  ______  _____ 
     /\   |  __ \|  ____|/ ____|
    /  \  | |__) | |__  | (___  
   / /\ \ |  _  /|  __|  \___ \ 
  / ____ \| | \ \| |____ ____) |
 /_/    \_\_|  \_\______|_____/ 

ARES(Adaptive Resilient Evolution System) A Self-Healing Evolutionary Runtime for Autonomous Agents

Go-based multi-agent framework with DAG workflow orchestration, memory distillation, and AHP inter-agent protocol.

Architecture

graph TB
    User["User Request"] --> RT

    subgraph runtime ["Runtime Layer"]
        RT["Runtime Manager"]
        RT -->|"manages lifecycle"| Leader
        RT -->|"replays"| ES["EventStore"]
        RT -->|"restores"| MM["MemoryStore"]
    end

    subgraph agents ["Agent System"]
        direction TB
        Leader["Leader Agent"]
        SubA["Sub Agent A"]
        SubB["Sub Agent B"]
        SubC["Sub Agent C"]
        Leader -->|"AHP Protocol"| SubA
        Leader -->|"AHP Protocol"| SubB
        Leader -->|"AHP Protocol"| SubC
        Supervisor["Supervisor"]
        Leader -.->|"Checkpoint Recovery"| Supervisor
    end

    subgraph workflow ["Workflow Engine"]
        MutableDAG["MutableDAG"]
        DynamicExec["DynamicExecutor"]
        MutableDAG --> DynamicExec
        DynamicExec --> TopoSort["Topological Sort"]
        DynamicExec --> CycleDetect["Cycle Detection"]
    end

    subgraph llm ["LLM Layer"]
        Adapters["Output Adapters"]
        Templates["Prompt Templates"]
        Parser["Function Call Parser"]
    end

    subgraph mem ["Memory Manager"]
        Session["Session Memory"]
        Task["Task Memory"]
        Distilled["Distilled Memory"]
        Session --> Pipeline["Distillation Pipeline"]
        Task --> Pipeline
        Pipeline --> Distilled
    end

    subgraph evo ["Evolution Engine"]
        Pop["GA Population"]
        Score["Scoring Pipeline"]
        Cross["Crossover"]
        Mut["Mutation"]
        Pop --> Score
        Score --> Cross
        Cross --> Mut
        Mut --> Pop
    end

    subgraph hitl ["Human-in-the-Loop"]
        IH["Interrupt Handler"]
        IS["Interrupt Store"]
        AW["Approval Workflow"]
        IH --> IS
        IH --> AW
    end

    subgraph stor ["Storage Layer"]
        VS["VectorStore Interface"]
        PG[("PostgreSQL + pgvector")]
        MEM[("In-Memory")]
        QD[("Qdrant")]
        SQL[("SQLite + sqlite-vec")]
        CUSTOM[("Your Backend")]
        Cache["Cache"]
        CB["Circuit Breaker"]
        VS --> PG
        VS --> MEM
        VS --> QD
        VS --> SQL
        VS --> CUSTOM
        PG --> Cache
        Cache --> CB
    end

    subgraph tools ["Tool System"]
        Registry["Tool Registry"]
        MCP["MCP Manager"]
        MCP_Ext["MCP Servers"]
        Registry --> MCP
        MCP -->|"stdio/SSE"| MCP_Ext
    end

    subgraph obs ["Observability"]
        Dashboard["Web Dashboard"]
        Flight["Flight Recorder"]
        Genealogy["Agent Genealogy"]
    end

    subgraph cb ["Callbacks"]
        Handler["Handler Registry"]
        Events["Lifecycle Events"]
    end

    subgraph arena ["Chaos Engineering"]
        FI["Fault Injector"]
        RS["Resilience Scoring"]
        SM["Survival Mode"]
        FI --> RS
        RS --> SM
    end

    EmbedSvc["Embedding Service"]

    evo -->|"stores results"| Distilled
    evo -->|"uses"| Score

    Leader --> MutableDAG
    Leader --> Session
    Leader --> Registry
    Leader --> Adapters
    Leader --> cb
    Leader --> IH
    Session --> VS
    Registry --> VS
    VS -.->|"embeds via"| EmbedSvc

    obs -.->|"monitor"| RT
    obs -.->|"monitor"| Leader
    obs -.->|"monitor"| MutableDAG
    arena -.->|"stress test"| RT
    arena -.->|"stress test"| Leader
Data Flow
Request Lifecycle
sequenceDiagram
    participant U as User
    participant RT as Runtime
    participant L as Leader Agent
    participant SA as Sub Agents
    participant T as Tools / MCP
    participant LLM as LLM
    participant M as Memory Store

    U->>RT: 1. Request
    RT->>L: 2. Dispatch
    L->>L: 3. Plan (DAG)
    L->>SA: 4. AHP Tasks
    SA->>LLM: 5. LLM Call
    SA->>T: 6. Tool/MCP Call
    T-->>SA: 7. Tool Result
    LLM-->>SA: 8. LLM Response
    SA-->>L: 9. Aggregate
    L-->>RT: 10. Response
    RT-->>U: 11. Final Response
    L->>M: 12. Store Experiences

Request routed through Runtime → Leader plan with DAG → Sub Agents execute (LLM + Tools) → results aggregated and returned.

Memory Distillation Pipeline
flowchart LR
    A["Extract"] --> B["Classify"]
    B --> C["Score"]
    C --> D["Denoise"]
    D --> E["Conflict Resolution"]
    E --> F["Capacity Cap"]
    F --> Distilled[("Distilled Memory")]

6-step pipeline: extract experiences from raw interactions, classify by type, score relevance, filter noise, resolve conflicts with existing memories, and enforce capacity limits.

AHP Protocol

Custom Agent Hosting Protocol handling inter-agent communication with heartbeat monitoring, dead-letter queue (DLQ), and progress tracking. All protocol operations benchmark under 1 us.

Leader Failover

Checkpoint-based recovery. Supervisor detects leader failure, recovers stale tasks from last checkpoint, and reassigns work to available sub-agents.

Key Features

DAG Workflow Engine

  • MutableDAG: runtime graph mutation (add/remove nodes and edges) all under 1 us
  • DynamicExecutor: executes DAG with topological sort
  • Incremental cycle detection on edge insertion
  • Hot reload and runtime mutation without stopping execution

Memory System

  • Session memory: short-term conversation context
  • Task memory: per-task working memory
  • Distilled memory: long-term compressed knowledge via 6-step pipeline (errgroup-based concurrent embedding)
  • Multi-language experience extraction with Chinese keyword detection and importance scoring
  • Content-hash deduplication for idempotent memory storage
  • pgvector-backed semantic search

Storage Layer

  • Pluggable vector store interface — swap PostgreSQL for Qdrant, Milvus, SQLite, or your own backend
  • Built-in implementations: PostgreSQL + pgvector (production), in-memory (dev/test)
  • Repository pattern abstraction
  • Built-in cache layer + circuit breaker for fault tolerance
  • Idempotent DDL migrations, safe for repeated execution
  • See Custom Vector Store Guide

Agent System

  • Leader/Sub agent architecture
  • AHP protocol for structured communication (heartbeat, DLQ, progress)
  • Leader failover with checkpoint recovery
  • Parallel task execution with configurable concurrency
  • Agent resurrection plugin with pluggable health checking

Runtime Layer

  • Agent lifecycle management: register, start, stop, restart, restore
  • Automatic crash detection and resurrection via AgentFactory
  • Two recovery dimensions: EventStore (operational) + MemoryStore (cognitive)
  • Health monitoring with heartbeat and status-based checks
  • Structured concurrency via errgroup with graceful shutdown

Event Sourcing

  • EventStore interface with optimistic concurrency control
  • MemoryEventStore for dev/test, PostgresEventStore for production
  • 17 event types covering agent lifecycle, tasks, sessions, workflows, failover
  • Pub/sub via Subscribe with filtered event channels
  • DLQ auto-retry with configurable retry budgets

Human-in-the-Loop

  • Pause workflow steps for human approval before execution
  • InterruptConfig on any step, InterruptHandler for blocking approval
  • InterruptStore for crash recovery of pending approvals
  • Approval workflows and review gates

Tool System

  • Dynamic tool registration and discovery
  • Capability matching between agents and tools
  • Parameter validation with schema support
  • Pre/post execution lifecycle hooks

MCP Integration

  • Model Context Protocol client with JSON-RPC 2.0 messaging
  • Stdio and SSE transport support
  • Tool schema management and connection lifecycle

Observability

  • Web Dashboard: real-time monitoring with WebSocket streaming
  • Flight Recorder: timeline tracking, decision logging, diagnostics engine
  • Agent Genealogy: lineage tracking with graph export (DOT/JSON)
  • Event Bridge: system state streaming to dashboard

Chaos Engineering

  • Arena framework for fault injection testing
  • Fault types: process_kill, network_partition, latency_spike, kill_orchestrator
  • Resilience scoring with configurable metrics
  • Survival mode for continuous chaos testing

LLM Tool Calling

  • Multi-provider output adapters (OpenAI, Ollama, OpenRouter)
  • Prompt template engine with Go template syntax
  • Function calling extraction and validation
  • Schema-based parameter validation
  • Streaming output parser

Extensibility

  • Event-driven callbacks system with typed contexts
  • Event auto-compaction with retention policies
  • Pluggable health checking for agent resurrection

Autonomous Evolution (Genetic Algorithm)

  • Multi-generation population-based evolution with selection, crossover, and mutation
  • Strategy mutation engine with deterministic reproducibility (seed-controlled)
  • Arena regression testing with Welch's t-test statistical significance
  • Dream cycle orchestration: trigger → mutate → evaluate → adopt → record lineage
  • Bandit feedback loop for continuous experience quality optimization
  • Event-driven callback system for LLM/Tool/Agent lifecycle hooks
  • Wired high-level API: NewWiredEvolutionSystem for one-call component wiring
  • Elite preservation and adaptive survival rate across generations

Benchmark Highlights

32 benchmarks total. 2573 tests pass with -race across 49 packages.

Platform: darwin/arm64, Apple M3 Max, Go 1.26.4

Category Count Hot (< 1 us) Normal (1-100 us) Cold (> 100 us)
Eval 5 2 2 1
Distillation 9 0 8 1
Tools/Core 8 3 5 0
Errors 4 2 2 0
Event Sourcing 6 0 5 1
Total 32 7 22 3

Selected hot-path results:

Operation ns/op allocs/op
ExactMatchEvaluator 180.3 0
ToolUsageEvaluator 361.3 0
ToolExecution 347.3 0
ConvertEvent 97.00 0
ResultCreation (Success) 125.0 0
ResultCreation (Error) 55.33 0
ParameterValidation 208.3 0
Wrap (error) 69.67 0
WrapMultipleWraps 69.33 0
ConflictDetection 2125 0

7 of 32 benchmarks run under 1 us. Zero-allocation paths for evaluation, tool execution, result creation, event conversion, error wrapping, and conflict detection.

Full benchmark report: benchmarks/benchmark_report.md

Quick Start

Prerequisites
  • Go 1.26+
  • PostgreSQL 15+ with pgvector (optional, for persistence)
  • Docker (optional, for database)
1. Set API Key
export OPENROUTER_API_KEY="your-api-key"
2. Start Database (Optional)
# One-click restart with migration (optionally import a doc)
./scripts/docker/restart.sh
./scripts/docker/restart.sh --save examples/knowledge-base/README.md

# Or manually:
docker run -d \
  --name ares-db \
  -e POSTGRES_PASSWORD=postgres \
  -e POSTGRES_DB=goagent \
  -p 5433:5432 \
  pgvector/pgvector:pg15
3. Run Examples
# Travel planning (multi-agent collaboration)
cd examples/travel && go run main.go

# Knowledge base Q&A (requires database + embedding service)
cd examples/knowledge-base
go run main.go --save README.md              # Import document
go run main.go --save docs/goagent-overview.md  # Import framework overview
go run main.go --chat                         # Start Q&A (supports knowledge correction)

# Advanced examples (v2 features)
go run ./examples/advanced/leader_failover/
go run ./examples/advanced/agent_resurrection/
go run ./examples/advanced/runtime_resurrection/
go run ./examples/advanced/dynamic_executor/
go run ./examples/advanced/mutable_dag/

# Dashboard with MCP integration
cd examples/mcp-dashboard && go run main.go

# Quantitative analysis demo
cd examples/quant-trading && go run . --ticker AAPL

# Development agent demo
cd examples/devagent && go run main.go

# Tool capability demo
cd examples/capability-demo && go run main.go

# Autonomous evolution (genetic algorithm) demo
cd examples/autonomous-evolution && go run main.go

See Advanced Examples for detailed documentation.

4. Run Tests
go test ./...                      # All tests
go test -race ./...                # With race detector
go test -bench=. ./...             # Benchmarks

Project Structure

ares/
├── internal/
│   ├── agents/          # Leader/Sub agent system
│   ├── runtime/         # Runtime lifecycle management
│   ├── protocol/ahp/    # AHP inter-agent protocol
│   ├── memory/          # Memory system + distillation
│   ├── events/          # EventStore interface + implementations
│   ├── workflow/engine/  # DAG workflow engine
│   ├── storage/          # VectorStore interface + implementations
│   │   ├── postgres/     # PostgreSQL + pgvector (production)
│   │   └── memory/       # In-memory (dev/test)
│   ├── mcp/             # MCP client (stdio/SSE transport)
│   ├── dashboard/        # Web dashboard (WebSocket + REST API)
│   ├── flight/           # Flight recorder (timeline/genealogy/diagnostics)
│   ├── arena/            # Chaos engineering arena
│   ├── callbacks/        # Event-driven callback system
│   ├── llm/output/       # LLM output parsers + prompt templates
│   └── tools/           # Tool registry and invocation
├── services/embedding/  # Embedding gateway (FastAPI + Ollama)
├── examples/            # Travel, knowledge-base, dashboard, quant, devagent, ...
├── api/                 # Service interfaces and client
├── cmd/                 # CLI tools (arena, flight, migration, ...)
│   └── tools/           # Tool registry and invocation
├── services/embedding/  # Embedding gateway (FastAPI + Ollama)
├── examples/            # Travel, knowledge-base, simple demos
├── api/                 # Service interfaces and client
└── benchmarks/          # Benchmark reports and logs

Configuration

Configuration is YAML-based. Key sections:

llm:
  provider: openrouter
  api_key: "${OPENROUTER_API_KEY}"
  model: meta-llama/llama-3.1-8b-instruct
  timeout: 60

agents:
  leader:
    id: leader-main
    max_steps: 10
    max_parallel_tasks: 4
  sub:
    - id: agent-a
      type: research
      max_retries: 3
      timeout: 30

storage:
  type: postgres
  host: localhost
  port: 5433
  database: goagent
  pgvector:
    enabled: true
    dimension: 1024

memory:
  enabled: true
  enable_distillation: true
  distillation_threshold: 3

See examples/travel/config.yaml for a complete example.

Tech Stack

Component Technology
Language Go 1.26+
Database PostgreSQL 15+ with pgvector (pluggable: Qdrant, Milvus, SQLite, or custom)
Protocol Custom AHP (Agent Hosting Protocol)
Embedding FastAPI + Ollama/SentenceTransformers
Cache Redis
Concurrency errgroup, sync

Documentation

LICENSE

Apache 2.0

Directories

Path Synopsis
api
Package api provides the application-level entry point for ares.
Package api provides the application-level entry point for ares.
agent
Package agent provides error definitions for agent operations.
Package agent provides error definitions for agent operations.
ares_evolution
Package evolution provides error definitions for the evolution service.
Package evolution provides error definitions for the evolution service.
ares_experience
Package experience provides experience conflict resolution service.
Package experience provides experience conflict resolution service.
ares_memory
Package memory provides API abstractions for memory distillation operations.
Package memory provides API abstractions for memory distillation operations.
ares_retrieval
Package retrieval provides error definitions for retrieval operations.
Package retrieval provides error definitions for retrieval operations.
client
Package client provides a library-style entry point for embedding GoAgent into other Go applications.
Package client provides a library-style entry point for embedding GoAgent into other Go applications.
core
Package core provides core abstractions for agent operations.
Package core provides core abstractions for agent operations.
errors
Package errors provides unified error definitions for API layer.
Package errors provides unified error definitions for API layer.
handler
Package handler provides HTTP handlers for the GoAgent API.
Package handler provides HTTP handlers for the GoAgent API.
marketmaking
Package marketmaking provides a domain-level facade for market-making and quantitative trading operations.
Package marketmaking provides a domain-level facade for market-making and quantitative trading operations.
router
Package router provides HTTP routing for the GoAgent API.
Package router provides HTTP routing for the GoAgent API.
service/agent
Package agent provides error definitions for agent service.
Package agent provides error definitions for agent service.
service/graph
Package graph provides YAML configuration parsing for graph workflows.
Package graph provides YAML configuration parsing for graph workflows.
service/llm
Package llm provides error definitions for LLM service.
Package llm provides error definitions for LLM service.
service/memory
Package memory provides error definitions for memory service.
Package memory provides error definitions for memory service.
service/retrieval
Package retrieval provides error definitions for retrieval service.
Package retrieval provides error definitions for retrieval service.
service/runtime
Package runtime provides a high-level API for agent lifecycle management.
Package runtime provides a high-level API for agent lifecycle management.
service/workflow
Package workflow provides workflow orchestration service implementation.
Package workflow provides workflow orchestration service implementation.
cmd
arena command
Command arena provides the Chaos Engineering Arena CLI.
Command arena provides the Chaos Engineering Arena CLI.
check_rls command
create_distilled_table command
Package main creates the distilled_memories table (also included in full migrate).
Package main creates the distilled_memories table (also included in full migrate).
flight command
Command flight provides the Agent Flight Recorder CLI.
Command flight provides the Agent Flight Recorder CLI.
mcp-null command
Command mcp-null provides a minimal MCP server for demos that don't need external MCP tools.
Command mcp-null provides a minimal MCP server for demos that don't need external MCP tools.
migrate_db command
Package main creates and migrates the production ares database.
Package main creates and migrates the production ares database.
setup_test_db command
Package main creates and migrates the test database.
Package main creates and migrates the test database.
examples
advanced/agent_resurrection command
Package main demonstrates generic agent resurrection using the plugin.
Package main demonstrates generic agent resurrection using the plugin.
advanced/dynamic_executor command
Package main demonstrates DynamicExecutor API and ApplyMode configuration.
Package main demonstrates DynamicExecutor API and ApplyMode configuration.
advanced/full_lifecycle command
Package main demonstrates the complete agent lifecycle with Runtime, EventStore, MemoryManager, and MutableDAG workflow modification.
Package main demonstrates the complete agent lifecycle with Runtime, EventStore, MemoryManager, and MutableDAG workflow modification.
advanced/leader_failover command
Package main demonstrates Leader Failover using the Runtime with checkpoint-based recovery.
Package main demonstrates Leader Failover using the Runtime with checkpoint-based recovery.
advanced/mutable_dag command
Package main demonstrates MutableDAG with runtime node/edge mutations.
Package main demonstrates MutableDAG with runtime node/edge mutations.
advanced/runtime_resurrection command
Package main demonstrates Runtime-managed agent resurrection with full state recovery.
Package main demonstrates Runtime-managed agent resurrection with full state recovery.
autonomous-evolution command
Package main demonstrates ares Autonomous Evolution (Dream Mode v1) workflow.
Package main demonstrates ares Autonomous Evolution (Dream Mode v1) workflow.
capability-demo command
devagent command
devagent_newapi command
end-to-end command
experience-bilingual command
Package main provides a bilingual test for experience distillation with database storage and retrieval.
Package main provides a bilingual test for experience distillation with database storage and retrieval.
finetune command
graph_demo/agent command
Package main demonstrates agent integration with graph.
Package main demonstrates agent integration with graph.
graph_demo/applymode command
Package main compares ApplyAtCheckpoint vs ApplyImmediate in DynamicExecutor.
Package main compares ApplyAtCheckpoint vs ApplyImmediate in DynamicExecutor.
graph_demo/basic command
Package main demonstrates basic graph usage.
Package main demonstrates basic graph usage.
graph_demo/conditional command
Package main demonstrates conditional branching in graphs.
Package main demonstrates conditional branching in graphs.
graph_demo/integration command
Package main demonstrates a real-world integration example using the graph system.
Package main demonstrates a real-world integration example using the graph system.
graph_demo/recovery command
Package main demonstrates node-level recovery via StepRecoveryHandler.
Package main demonstrates node-level recovery via StepRecoveryHandler.
graph_demo/replace_node command
Package main demonstrates MutableDAG.ReplaceNode for dynamic step replacement.
Package main demonstrates MutableDAG.ReplaceNode for dynamic step replacement.
graph_demo/scheduler command
Package main demonstrates different scheduling strategies.
Package main demonstrates different scheduling strategies.
graph_demo/subscribe command
Package main demonstrates subscribing to GraphEventHub for graph mutation events.
Package main demonstrates subscribing to GraphEventHub for graph mutation events.
knowledge-base command
mcp-dashboard command
package main — ares Chaos Engineering Demo.
package main — ares Chaos Engineering Demo.
mcp-server command
Command mcp-server provides an example MCP server demonstrating tool, resource, and prompt registration with ares MCP SDK.
Command mcp-server provides an example MCP server demonstrating tool, resource, and prompt registration with ares MCP SDK.
openrouter command
quant-demo command
Package main — ares Quantitative Multi-Agent Demo.
Package main — ares Quantitative Multi-Agent Demo.
quant-trading command
Package main — signal generation bridge between research layer and simulation.
Package main — signal generation bridge between research layer and simulation.
quant-trading/agents
Package agents provides prompts for the quant trading demo agents.
Package agents provides prompts for the quant trading demo agents.
quant-trading/memory
Package memory provides cross-stock decision memory.
Package memory provides cross-stock decision memory.
quant-trading/workflow
Package workflow provides the Bull/Bear debate loop for quant analysis.
Package workflow provides the Bull/Bear debate loop for quant analysis.
simple command
simple_newapi command
travel command
internal
ares_arena
Package arena provides a chaos engineering layer that proves ares is a self-healing runtime.
Package arena provides a chaos engineering layer that proves ares is a self-healing runtime.
ares_evolution
Package evolution provides wiring between the genome population system and the DreamCycle/EvolutionScheduler orchestration layer.
Package evolution provides wiring between the genome population system and the DreamCycle/EvolutionScheduler orchestration layer.
ares_evolution/genome
Package genome provides genetic algorithm crossover (recombination) operators for combining two parent strategies into a child strategy.
Package genome provides genetic algorithm crossover (recombination) operators for combining two parent strategies into a child strategy.
ares_evolution/mutation
Package mutation provides strategy mutation engine for Dream Mode evolution.
Package mutation provides strategy mutation engine for Dream Mode evolution.
ares_evolution/scoring
Package scoring provides cost-controlled scoring infrastructure for the evolution system, including strategy hashing, score caching, and tiered scorer pipelines.
Package scoring provides cost-controlled scoring infrastructure for the evolution system, including strategy hashing, score caching, and tiered scorer pipelines.
ares_experience
Package experience provides experience conflict resolution service.
Package experience provides experience conflict resolution service.
ares_flight
Package flight provides runtime intelligence for ares agents.
Package flight provides runtime intelligence for ares agents.
ares_memory
Package memory provides unified memory management for the StyleAgent framework.
Package memory provides unified memory management for the StyleAgent framework.
ares_memory/distillation
Package distillation provides memory distillation functionality for agent experience extraction.
Package distillation provides memory distillation functionality for agent experience extraction.
ares_memory/embedding
Package embedding provides canonical embedding types and a unified pipeline for generating vector embeddings across memory distillation, storage, and retrieval.
Package embedding provides canonical embedding types and a unified pipeline for generating vector embeddings across memory distillation, storage, and retrieval.
ares_memory/internal/truncate
Package truncate provides rune-safe string truncation utilities.
Package truncate provides rune-safe string truncation utilities.
ares_runtime
Package runtime provides shared recovery utilities for agent state restoration.
Package runtime provides shared recovery utilities for agent state restoration.
bootstrap
package bootstrap provides startup wiring for MCP and Dashboard components.
package bootstrap provides startup wiring for MCP and Dashboard components.
callbacks
Package callbacks provides lifecycle event hooks for LLM calls and agent execution.
Package callbacks provides lifecycle event hooks for LLM calls and agent execution.
config
package config - provides configuration loading and validation for ares.
package config - provides configuration loading and validation for ares.
ctxutil
Package ctxutil provides context utilities for tracing and lifecycle management.
Package ctxutil provides context utilities for tracing and lifecycle management.
dashboard
package dashboard — unified API v2.
package dashboard — unified API v2.
eval
Package eval provides LLM evaluation and benchmarking capabilities, including test suite execution, result reporting, and agent performance metrics.
Package eval provides LLM evaluation and benchmarking capabilities, including test suite execution, result reporting, and agent performance metrics.
events
Package events defines event sourcing types and the event store interface.
Package events defines event sourcing types and the event store interface.
llm
Package llm provides LLM client functionality for various providers.
Package llm provides LLM client functionality for various providers.
mcp
package mcp - provides MCP (Model Context Protocol) client integration for ares.
package mcp - provides MCP (Model Context Protocol) client integration for ares.
plugins/resurrection
Package resurrection provides a pluggable agent resurrection plugin.
Package resurrection provides a pluggable agent resurrection plugin.
quant
Package quant provides MCP-compatible tools for quantitative trading analysis.
Package quant provides MCP-compatible tools for quantitative trading analysis.
quant/dataflow
Package dataflow provides anti-hallucination infrastructure for market data, including symbol normalization, vendor routing, data validation, and verified snapshot construction.
Package dataflow provides anti-hallucination infrastructure for market data, including symbol normalization, vendor routing, data validation, and verified snapshot construction.
quant/indicators
Package indicators provides technical analysis computations.
Package indicators provides technical analysis computations.
quant/market
Package market provides market data types and internal data source clients for quantitative trading.
Package market provides market data types and internal data source clients for quantitative trading.
quant/marketmaking
Package marketmaking provides the core domain model for market-making operations.
Package marketmaking provides the core domain model for market-making operations.
quant/portfolio
Package portfolio provides backtesting and portfolio simulation for quantitative trading strategies.
Package portfolio provides backtesting and portfolio simulation for quantitative trading strategies.
quant/research
Package research provides the structured research pipeline for quantitative stock analysis, including state management, typed schemas, graph execution, and markdown rendering of research outputs.
Package research provides the structured research pipeline for quantitative stock analysis, including state management, typed schemas, graph execution, and markdown rendering of research outputs.
quant/research/agents
Package agents provides prompt building, agent interfaces, and execution infrastructure for the quantitative research pipeline.
Package agents provides prompt building, agent interfaces, and execution infrastructure for the quantitative research pipeline.
quant/store
Package store provides persistent storage for quant trading data.
Package store provides persistent storage for quant trading data.
storage
package storage defines the vector storage interface.
package storage defines the vector storage interface.
storage/memory
package memory provides an in-memory vector store implementation.
package memory provides an in-memory vector store implementation.
storage/postgres
Package postgres provides PostgreSQL database operations for the storage system.
Package postgres provides PostgreSQL database operations for the storage system.
storage/postgres/adapters
Package adapters provides format conversion layer for storage operations.
Package adapters provides format conversion layer for storage operations.
storage/postgres/embedding
nolint: errcheck // Operations may ignore return values
nolint: errcheck // Operations may ignore return values
storage/postgres/models
Package models defines data structures for the storage system.
Package models defines data structures for the storage system.
storage/postgres/repositories
Package repositories provides data access layer for storage system.
Package repositories provides data access layer for storage system.
storage/postgres/services
Package services provides retrieval services for the storage system.
Package services provides retrieval services for the storage system.
workflow/engine
package engine - Human-in-the-loop (HITL) support for pausing and resuming workflow execution.
package engine - Human-in-the-loop (HITL) support for pausing and resuming workflow execution.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL