@melapre/vanna-agent

0
0
flwr new @melapre/vanna-agent

Vanna Agent

Flower AgentApp for FX last-look routing.

Six typed agents consume approved federated evidence and hand work to each other as JSON, not chat memory:

  1. Vanna — rank LPs by expected executable cost, not displayed price
  2. LastLookAgent — conditional rejection as a review signal, not guilt
  3. CounterpartyRiskAgent — reliability; advisory only
  4. MarginAgent — size/settlement pressure; never auto-liquidation
  5. ManipulationWatch — market-pattern signal only
  6. GovernanceAgent — allow, reduce size, fallback, human review, or suppress

The model narrates. It does not decide. If the endpoint is down, the same numbers still print.

This is one of two Flower App Bundles. The sister app is . They meet only at provider_evidence.json.

Simulation / local

Zero SuperGrid. Uses the checked-in evidence artifact.

cd apps/agent
uv sync
uv run flwr run .

Or from the repo root, no Flower runtime:

uv run python scripts/local_demo.py

SuperGrid (deployment)

uv run flwr login supergrid
uv run flwr run . supergrid --federation @molyleela/Vanna --stream

Override the demo order with --run-config:

--run-config "agent.input='{\"pair\":\"EUR/USD\",\"side\":\"BUY\",\"size_bucket\":\"1m-5m\",\"volatility\":\"high\",\"available_providers\":[\"LP_A\",\"LP_B\",\"LP_C\"]}'"

What this app does not do

  • Does not execute trades
  • Does not blacklist providers
  • Does not issue collective routing instructions
  • Does not treat last-look asymmetry as misconduct

License: MIT. Flower target: 1.35.0.