Kraken Money Mode Router
Route users to the best Kraken product flow fast.
Use this skill when a user asks things like:
- •"What should I use in Kraken?"
- •"Should I trade, invest, pay, or go on-chain?"
- •"Give me a plan for my money on Kraken"
What It Does
- •Captures user intent with a short questionnaire.
- •Scores Kraken money modes against user goals.
- •Returns a primary mode and backup mode.
- •Produces a concrete action checklist users can execute immediately.
- •Stores session, answers, recommendations, and action plan in SerenDB.
Modes
- •
payments-> Krak-focused everyday money movement - •
investing-> multi-asset portfolio building - •
active-trading-> hands-on market execution - •
onchain-> Kraken spot funding endpoints for deposits, withdrawals, and wallet transfers - •
automation-> rules-based, repeatable execution
Setup
- •Copy
.env.exampleto.env. - •Set
SERENDB_CONNECTION_STRING(required). - •Set
SEREN_API_KEY(required for Kraken account context). - •Copy
config.example.jsontoconfig.json. - •Install dependencies:
pip install -r requirements.txt.
Commands
bash
# Initialize SerenDB schema python scripts/agent.py init-db # Interactive recommendation flow python scripts/agent.py recommend --config config.json --interactive # Recommendation flow from JSON answers file python scripts/agent.py recommend --config config.json --answers-file answers.json
Output
The agent returns:
- •primary mode
- •backup mode
- •confidence score
- •top reasons
- •action checklist
- •API-backed mode coverage
- •session id for querying SerenDB history
Data Model (SerenDB)
Tables created by init-db:
- •
kraken_skill_sessions - •
kraken_skill_answers - •
kraken_skill_recommendations - •
kraken_skill_actions - •
kraken_skill_events
Notes
- •This skill does not implement compliance policy logic. It routes user intent and lets Kraken API permissions enforce availability.
- •The router only recommends modes backed by currently configured publishers.