Files
mnemosyne/validator/fastagent.config.yaml
Robert Helewka 97a14fb03a feat(validator): add bare FastAgent + Pallas validator for Mnemosyne MCP
A self-contained sub-project under validator/ that wraps Mnemosyne's MCP
server in a single FastAgent. Use it to confirm — outside of Daedalus —
that Mnemosyne's MCP transport works, every tool registers, args/responses
round-trip, and an LLM can actually drive the tools.

The validator is its own Pallas-consuming project with its own pyproject
(pallas-mcp + fast-agent-mcp), agents.yaml, and fastagent.config.yaml —
matching the pattern used by Iolaus and other Pallas consumers. It does
not import Mnemosyne Python code; it only speaks MCP over HTTP.

The agent never sets workspace_id, so all calls run against the global
scope (libraries with workspace_id IS NULL). Workspace-scoped validation
will come once Daedalus's chat path is wired (Daedalus injects
workspace_id server-side, force-overwriting whatever the LLM produces).

Default model is openai.Qwen3.5-35B-A3B-UD-Q4_K_XL.gguf served by
llama.cpp at nyx.helu.ca:22079/v1. Token provisioning via
`python manage.py create_mcp_token --user <u> --name validator`.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 06:53:48 -04:00

33 lines
1.5 KiB
YAML

# Mnemosyne Validator — FastAgent + MCP configuration
#
# Secrets (api_key, MCP bearer tokens) live in fastagent.secrets.yaml
# (gitignored) and merge with this file at runtime.
# Local llama.cpp on Nyx (OpenAI-compatible). Override via
# fastagent.secrets.yaml if you want to point at a different model server.
default_model: openai.Qwen3.5-35B-A3B-UD-Q4_K_XL.gguf
# Capabilities for the model — Pallas registers it with fast-agent's
# ModelDatabase using these values. vision: true so we can validate image
# round-trip later (search returns image candidates by default).
model_capabilities:
vision: true
context_window: 192000
max_output_tokens: 16384
# ── LLM Providers ───────────────────────────────────────────────────────────
openai:
base_url: "http://nyx.helu.ca:22079/v1"
# ── MCP Servers ─────────────────────────────────────────────────────────────
mcp:
servers:
# Mnemosyne MCP server — Streamable HTTP at /mcp.
# Default assumes the validator runs on the same host as Mnemosyne;
# override the URL in fastagent.secrets.yaml or via Ansible if remote.
mnemosyne:
transport: http
url: "http://localhost:22091/mcp"
# Bearer token in fastagent.secrets.yaml (provisioned via
# `python manage.py create_mcp_token <user>`).