Skip to content

Releases: dirmacs/ares

v0.7.2 — Feature gate postgres/server modules

10 Apr 07:51

Choose a tag to compare

What's Changed

Enables ares-server to compile as a lean library dependency via cargo add ares-server --no-default-features --features openai. This unlocks composable use from CLI agents like pawan.

Feature Gating

  • sqlx is now an optional dep (only pulled in with postgres feature)
  • api, auth, middleware, research, workflows modules gated behind postgres
  • TenantDb, PostgresClient, AppState, base_router gated behind postgres
  • agents::orchestrator and agents::tenant_agent gated behind postgres

Always Available (no postgres needed)

  • ares::llmLLMClient, Provider, ToolCoordinator, ProviderRegistry
  • ares::toolsTool trait, ToolRegistry, built-in tools
  • ares::agentsAgent, ConfigurableAgent, LoopDetector, CheckpointManager, AgentRegistry
  • ares::memory, ares::types, ares::utils, ares::models

Backward Compatibility

Zero behavior changes when postgres feature is enabled (default). All existing deployments compile and run identically.

Usage for Lean Library Consumers

[dependencies]
ares-server = { version = "0.7", default-features = false, features = ["openai"] }

Full changelog: v0.7.1...v0.7.2

v0.7.0 — OSS Split + ContextProvider + PostgreSQL

24 Mar 08:54

Choose a tag to compare

Breaking Changes

  • PostgreSQL required — SQLite/libsql/Turso support removed. Use docker-compose.minimal.yml for quick PostgreSQL setup.
  • ContextProvider traitAppState now requires a context_provider field. Use NoOpContextProvider for default behavior.

New Features

  • ContextProvider trait — pluggable external context injection into agent calls
  • base_router() — composable entry point for building managed platforms on top of ARES
  • Optional Eruka MCP tools — OSS gets 5 generic tools, managed deployments get 8
  • Pre-commit hook + CI guard — blocks proprietary content in OSS repo
  • docker-compose.minimal.yml — PostgreSQL-only for OSS developers
  • mdBook docs — new "Extending ARES" section (ContextProvider + base_router)

Improvements

  • 215 tests pass in 2 seconds (multi-threaded)
  • connect_lazy for test DB pools (fixes tokio runtime deadlock)
  • API key generation includes ares_ prefix
  • Deploy handler uses env vars instead of hardcoded paths
  • SVG logo (consistent with other DIRMACS projects)

Full Changelog

v0.6.2...v0.7.0

v0.5.0

01 Feb 04:42

Choose a tag to compare

Added

  • Unified ToolCoordinator: Provider-agnostic multi-turn tool calling orchestration
    • New ToolCoordinator struct for managing tool calling across all LLM providers
    • ToolCallingConfig for configuring max iterations, parallel tool calls, and timeouts
    • ConversationMessage enum for unified message representation
    • New generate_with_tools_and_history() method added to LLMClient trait
    • Implemented for all 4 providers: OpenAI, Anthropic, Ollama, LlamaCpp
    • Location: src/llm/coordinator.rs

Deprecated

  • OllamaToolCoordinator: Deprecated in favor of the new unified ToolCoordinator
    • The Ollama-specific coordinator still works but will be removed in a future version
    • Migrate to ToolCoordinator for cross-provider compatibility

Full Changelog

v0.4.0...v0.5.0

v0.4.0

01 Feb 01:02

Choose a tag to compare

What's New

Anthropic Claude API Provider

Full support for Claude models via the Anthropic API. Enable with the anthropic feature flag.

  • Supports Claude 3.5 Sonnet, Claude 3 Opus, Haiku, and all Claude model variants
  • Streaming support with tool calling
  • Full LLMClient trait implementation

Token Usage Tracking

LLM responses now include token usage statistics (prompt_tokens, completion_tokens, total_tokens) across all providers.

Fixes

Windows MSVC Compatibility

  • Added compile-time error for local-embeddings feature on Windows MSVC targets
  • Prevents cryptic ort-sys linker errors by failing fast with a helpful message

Security

  • Updated lru to 0.16.3 to fix RUSTSEC-2026-0002

Breaking Changes

full feature no longer includes local-embeddings

The local-embeddings feature has been removed from the full feature bundle due to ort-sys linker errors on Windows MSVC.

Migration:

  • Windows users: Use remote embedding APIs or WSL
  • Linux/macOS users: Use full-local-embeddings feature if you need local embeddings

New Feature Bundles

  • full-local-embeddings - Full features with local embeddings (Linux/macOS only)
  • full-ui-local-embeddings - Full features with UI and local embeddings (Linux/macOS only)

Installation

cargo install ares-server

Or with specific features:

cargo install ares-server --features "anthropic,openai,full"

v0.3.3

29 Jan 07:37

Choose a tag to compare

See CHANGELOG.md for details

v0.3.2 - Query Typo Correction & Embedding Cache

27 Jan 23:41

Choose a tag to compare

What's New

Query-Level Typo Correction

Fuzzy search now automatically corrects typos in search queries using vocabulary built from indexed documents.

  • QueryCorrection struct for vocabulary-based word correction
  • search_bm25_with_correction() and search_hybrid_with_correction() methods
  • Uses Levenshtein distance for domain-specific corrections
  • Closes GitHub issue #4

Embedding Cache

New in-memory LRU cache for embedding vectors to avoid re-computation.

  • EmbeddingCache trait with get/set/invalidate/clear/stats methods
  • LruEmbeddingCache with SHA-256 hashing, configurable max entries, optional TTL
  • CachedEmbeddingService wrapper for transparent caching
  • Thread-safe with parking_lot RwLock

Documentation Updates

  • Updated KNOWN_ISSUES.md, DIR-24_RAG_IMPLEMENTATION_PLAN.md, FUTURE_ENHANCEMENTS.md
  • Removed stale session log file

Full Changelog

See CHANGELOG.md for complete details.

Full Changelog: v0.2.3...v0.3.2

v0.2.3

21 Dec 00:52

Choose a tag to compare

Full Changelog: v0.2.0...v0.2.3

v0.2.0

15 Dec 02:31

Choose a tag to compare