Gáldr × Viska sjóðir — Building an AI Intelligence Department

Companion document to the 6-Month Roadmap. Prepared for Guðlaugur Steinarr Gíslason (CIO).


Why This Document

The roadmap describes what we propose to build. This document explains why we build it the way we do — the reasoning behind architectural decisions, the landscape of available tools, the security model that protects the fund, and why this is careful, phased work rather than a quick installation.


The Landscape: What Exists Today

AI-assisted trading and investment research is no longer experimental. As of April 2026, three categories of tools are available to any fund manager:

1. Cloud Automation (Anthropic Claude Routines)

Anthropic released Claude Routines on April 14, 2026. A routine is a saved Claude session — a prompt, connected repositories, and MCP connectors — that runs autonomously on Anthropic's cloud infrastructure. Routines can trigger on a schedule (hourly, daily, weekly), via API call (HTTP POST from any system), or in response to GitHub events (pull requests, releases).

This is a real product with real capabilities. A fund could set up a Claude Routine today that:

What Routines cannot do: coordinate multiple agents with different roles. A Routine is a single session — one agent, one prompt, one execution. It has no persistent memory across runs (the repo is cloned fresh each time). It has no awareness of what other Routines are doing. There is no risk enforcement across sessions, no portfolio-level awareness, no team dashboard.

A Routine is a capable individual contributor. What we are building is a department.

2. Open-Source Skill Libraries

The open-source community has produced substantial trading skill libraries for Claude. The most mature is a repository of 40+ pre-built investment skills covering:

Category Skills Examples
Market analysis 11 Sector rotation, breadth analysis, macro regime detection
Stock screening 8 CANSLIM, VCP patterns, dividend growth, pair trades
Strategy & risk 12 Backtesting, scenario analysis, bubble detection, position sizing
Research pipeline 6 Edge candidate generation, hypothesis testing, signal aggregation
Self-improvement 3 Automated skill scoring, daily improvement loops, idea mining

These skills are well-engineered. Most require only a free-tier financial data API (250 requests/day). Some include automated self-improvement — a daily process that scores each skill and auto-generates pull requests to improve those below threshold.

What skill libraries cannot do: reason about your fund. They are generic — designed for individual retail investors running one analysis at a time. They have no concept of Viska Crypto vs Viska Macro, no awareness of your portfolio positions, no connection to your broker research corpus, no compliance awareness for sub-threshold AIFM limits. They produce analysis for "a stock." We produce intelligence for your fund.

3. Autonomous Trading Agents

Fully autonomous trading frameworks exist. One major open-source platform supports stock, crypto, and derivatives execution across multiple brokers with a three-layer pipeline: signal generation, LLM-based decision making, and automated order execution.

We do not build this. Here is why:

This is not a hypothetical risk. This is what happens when trading infrastructure is assembled from unvetted components without security architecture.


What We Build Instead

We build a coordinated intelligence department where every component has a defined role, enforced boundaries, and auditable behavior. The distinction from stock tools:

Single Agent vs Coordinated Team

Stock Tool Gáldr Build
One Claude session with a prompt 4-16 agents with distinct roles and defined scope boundaries
Each session starts fresh Persistent knowledge graph — the system remembers what it learned
No awareness of other sessions Agents coordinate: the analyst's thesis feeds the risk manager's evaluation feeds the operator's decision
Generic analysis Tailored to Viska's two funds, portfolio composition, and operational cadence
Runs when triggered Structured sessions: pre-market 08:30 ET, midday 12:30 ET, end-of-session 16:15 ET, plus alert-driven

A Day in the System

Before the team sits down in the morning:

  1. 06:00 ET — Overnight synthesis pipeline processes central bank publications, broker research uploaded to the corpus, and macro data from 800,000+ FRED series. Results stage to the portal.
  2. 07:00 ET — Daily intelligence brief generates. Themed report covering overnight developments, high-impact flags, sentiment shifts. Delivered to Slack and the portal.
  3. 08:00 ET — Watchdog pipeline activates. Position monitoring begins at 5-minute intervals. Alert hierarchy: L1 (informational), L2 (action suggested), L3 (immediate attention).
  4. 08:30 ET — Pre-market trading session fires. Four agents convene: Operator reviews overnight intelligence, Analyst presents trade ideas with quantitative confirmation, Risk Manager evaluates against the 8-item checklist, Execution Agent validates order parameters.
  5. Throughout the day — TradingView signals arrive via webhook, are validated, enriched with FRED macro context and QuantOracle metrics, logged to the database, and surfaced to the portal with notification.
  6. 12:30 ET — Midday session. Position review, thesis update, new signals evaluation.
  7. 16:15 ET — End-of-session. Daily performance attribution. Trade journal entries. Risk framework reconciliation.
  8. Friday — Weekly report: QuantStats performance tearsheet, P&L attribution, narrative summary of the week's trading decisions and outcomes.

Nothing in this cadence is possible with a single Claude Routine or a library of generic skills. It requires agents that know their roles, remember their context, and operate within enforced boundaries.

What We Adopt from the Ecosystem

We are not building everything from scratch. The ecosystem has strong components — we evaluate them rigorously and adopt what passes our six-criteria framework:

Component Source Why We Adopt It
FRED MCP Federal Reserve 800,000+ macro data series. Official source. No ToS concerns.
QuantOracle MCP ecosystem 63 deterministic quantitative tools. Production-grade. Discovered during our MCP audit — this finding directly informed our TradingView MCP rejection.
Alpaca Official API Paper + live trading. 70+ tools. Official, maintained, ToS-compliant.
Ollama Local inference Gemma 4 on own hardware. No API costs for synthesis tasks.
TradingView Webhooks Official Alert-driven signal intake. Supported, no scraping.
QuantStats Open source Performance tearsheets for weekly reporting.
Select backtesting tools Open source (evaluated) Walk-forward testing, multi-timeframe screening. 8 of 30 available tools — the rest filtered out as redundant, weak, or out of scope.

What we do NOT adopt: browser automation tools (ToS violation, fragile), unvetted community skill packages (supply chain risk), autonomous execution frameworks (judgment error risk), full tool suites without filtering (token waste — GitHub MCP burns ~55,000 tokens loading 43 tools).

What We Build Bespoke

Component Why It Must Be Custom
Agent coordination layer No stock tool coordinates 4-16 agents with role boundaries. This is the harness — the orchestration that makes the same AI model perform 6x better (Stanford/Tsinghua, March 2026).
Risk enforcement Schema-enforced. Unsigned trades cannot proceed. This is not a suggestion in a prompt — it is a hard gate in the system architecture.
Viska Portal Every page designed for the fund's workflows. Not a generic dashboard.
Knowledge graph Persistent, queryable memory across all sessions. The system improves because it remembers.
Fund-specific context Viska Crypto and Viska Macro have different instruments, different risk profiles, different reporting needs. Generic tools cannot distinguish them.
Compliance monitoring Sub-threshold AIFM under Act 45/2020 has specific limits. No open-source tool monitors Icelandic regulatory thresholds.
Credential isolation API keys never enter the AI reasoning layer. Runtime injection via sandbox. The AI uses credentials but cannot see, extract, or leak them.
LP communications pipeline Formatted to your fund's standards, grounded in your performance data, written in your voice.

Security as Architecture

Security is not a feature we add at the end. It is the foundation on which everything else is built.

The Threat Model for AI-Augmented Funds

Threat Real-World Example Our Mitigation
Supply chain attack February 2026: 1,184 malicious skills distributed wallet-stealing malware through an AI agent marketplace. 14,285 downloads before detection. Every dependency is evaluated against six criteria. Package versions pinned to specific commits. No community marketplace — skills are authored and reviewed internally.
Credential exposure 21,000 AI agent instances found publicly accessible with unprotected API keys, wallet access, and chat logs. Credential isolation: keys exist only in a runtime sandbox. The AI layer never sees credential values — it issues authenticated requests through a proxy that injects credentials server-side.
Scope violation Generic AI assistants can be prompted to exceed their intended function — a research agent asked to execute trades, a communications agent accessing portfolio data. Mechanical scope enforcement. Each agent has a defined domain. The research agent literally cannot call the trading API. The communications agent has no path to financial data. This is enforced by architecture, not by prompt instructions.
Autonomous execution risk Autonomous trading bots executing without human review. LLM interpretation of natural-language instructions introduces judgment errors that compound with real capital. Human approval is permanent and schema-enforced. Every order requires explicit approval before execution. This is not a Phase 1 safeguard — it is a design principle. No amount of system maturity removes the human gate.
Data poisoning AI systems that ingest unvalidated data can be fed false signals — fake news articles, manipulated social media sentiment, spoofed market data. Sourced data only. Broker research from known providers. Central bank data from official feeds (FOMC RSS, ECB API). Market data from Alpaca (regulated broker). Sentiment analysis from verified channels with NLP validation, not keyword counting.
Dashboard credential leak Web dashboards that embed API keys in frontend JavaScript, exposing them to any user with browser developer tools. Read-only frontend. The dashboard never receives credentials. A FastAPI proxy handles all authenticated requests server-side. The browser sees rendered data only.

Credential Isolation in Practice

This is worth explaining because it is the question most CIOs ask: "How can AI trade on our behalf without seeing our API keys?"

┌─────────────────────────────────────────────┐
│  AI Reasoning Layer                         │
│  ┌─────────┐  ┌─────────┐  ┌────────────┐  │
│  │ Analyst  │  │  Risk   │  │  Operator  │  │
│  │         │  │ Manager │  │            │  │
│  └────┬────┘  └────┬────┘  └─────┬──────┘  │
│       │            │             │          │
│  "Place buy order for AAPL, 50 shares"      │
│       │            │             │          │
├───────┼────────────┼─────────────┼──────────┤
│  Runtime Sandbox (credential injection)      │
│       │                                      │
│  ┌────▼──────────────────────────────────┐  │
│  │  Execution Agent                      │  │
│  │  Validates: operator_approved ✓       │  │
│  │            buy_only ✓                 │  │
│  │            market_hours ✓             │  │
│  │            size_validated ✓           │  │
│  │                                       │  │
│  │  → Calls Alpaca API                   │  │
│  │    (key injected at runtime,          │  │
│  │     never visible to the agent)       │  │
│  └───────────────────────────────────────┘  │
└─────────────────────────────────────────────┘

The agent says "place this order." The sandbox injects the API key into the outbound request. The agent never sees the key value. If the agent's conversation were leaked, exfiltrated, or logged — there are no credentials in it.


Why Six Months

Each phase builds on the previous. Skipping phases creates an intelligence system that has no foundation to stand on.

Month 1: Foundation — Macro Research Intelligence

What we build: The research corpus. Every subsequent agent depends on this — the trading analyst needs macro context, the risk manager needs economic data, the LP communications need sourced intelligence.

Why it takes a month:

What the team gets at end of Month 1: A queryable research corpus. A daily intelligence brief delivered every morning before the team sits down. Central bank data processing on autopilot. Macro data accessible from any workspace.

What cannot happen yet: Trading, surveillance, automated communications. These all depend on the research foundation being solid.

Month 2: Awareness — Multi-Agent Surveillance

What we build: Three autonomous surveillance agents running 24/7 — crypto, macro sentiment, geopolitical risk. Alert pipeline.

Why it depends on Month 1:

What the team gets at end of Month 2: Three agents watching markets around the clock. Anomaly detection. Sentiment scoring. Geopolitical risk monitoring. Alert pipeline delivering prioritized notifications.

What cannot happen yet: Trading. Paper trading requires the surveillance layer to be stable — the trading agents use surveillance output as input.

Month 3: Operations — Trading War Room

What we build: Four-agent trading operation. Paper trading on Alpaca. Risk framework enforcing. 7-page dashboard.

Why it depends on Months 1-2:

The 90-day paper trading gate:

Paper trading begins in Month 3 and runs for 90 days — through Month 5. This is a hard gate: no live capital until the paper trading record demonstrates:

Metric Threshold
Minimum paper trading days 90
Risk framework compliance 100% (no bypassed gates)
System uptime >95% during market hours
Order accuracy 100% (every executed order matches the approved parameters)
Decision audit trail Complete (every trade traceable from thesis to execution)

During paper trading, the system operates exactly as it would with live capital. The team reviews trades, evaluates thesis quality, calibrates risk parameters, and identifies failure modes — all without financial exposure.

What paper trading teaches:

This learning is impossible to simulate. It requires real market conditions, real decisions, and real time.

What the team gets at end of Month 3: An operational trading system in paper mode. A 7-page dashboard showing portfolio, positions, strategy, analytics, trade log, alerts, and market data. Slack integration delivering intelligence where the team works. The system is running — it just isn't touching real capital yet.

Month 4: Communications — LP & Content Pipeline

What we build: Automated LP letter generation, thought leadership content (2-3 pieces per week), meeting intelligence for fundraising.

Why it depends on Months 1-3:

What the team gets at end of Month 4: Automated first drafts of LP letters. 2-3 thought leadership pieces per week (dual-language capability if desired). Pre-meeting research briefs and post-meeting follow-up drafts for fundraising, LP, and distribution partner meetings.

Month 5: Intelligence — Scenario Modeling & Proprietary Signals

What we build: Overnight scenario analysis lab. Proprietary signal generator on Viska infrastructure.

Why it depends on Months 1-4:

What the team gets at end of Month 5: Overnight scenario reports with probability assessments and portfolio impact projections. Proprietary signals that emerge from Viska's own framework — not generic indicators available to everyone.

Month 6: Handoff — Distribution Intelligence & Ownership Transfer

What we build: Partner surveillance (distribution partner monitoring), complete documentation, team training, and full ownership transfer.

What "handoff" means concretely:

Deliverable Detail
All source code On Viska's GitHub organization. Every repository, every commit, full history.
Knowledge base On Viska's Supabase instance. All ingested research, decision logs, agent memory.
Claude subscription On mimir@viskasjodir.is. No dependency on Gáldr accounts.
Dashboard & portal On Viska's domain. DNS transfer, SSL certificates, hosting configuration.
Automation pipelines On Viska's n8n instance. Self-hosted, auditable, full ownership.
Documentation Architecture guide, operational runbook, agent configuration reference, troubleshooting guide.
Team training Hands-on sessions covering: daily operations, agent management, pipeline monitoring, portal administration, system expansion.
Support period Post-handoff support window for questions and issues during the team's transition to independent operation.

After Month 6, Viska operates the system independently. Nothing is locked in — no proprietary platform, no SaaS dependency, no vendor that must remain involved. The intelligence department belongs to the fund.


The Harness Engineering Thesis

Why does orchestration matter more than the AI model itself?

Stanford and Tsinghua research (March 2026) demonstrated that the same AI model delivers a 6x performance difference depending on how it is orchestrated. The model is a commodity — the same Claude, GPT, or Gemini is available to every fund. What determines performance is the harness: how agents are structured, what context they receive, how they coordinate, what boundaries they operate within.

Three principles guide every decision we make:

1. Subtract Before You Add

One company removed 80% of its available tools and saw better results. Why? Because an agent with 43 tools spends most of its reasoning capacity deciding which tool to use, not using it well. Our agents have focused, curated toolsets:

Agent Tools Why These
Trading Operator Alpaca, FRED, Ollama Needs market data, macro context, local synthesis. Does NOT need screening tools — that's the analyst's job.
Technical Analyst Alpaca, FRED, QuantOracle, SQLite Needs data access and quantitative tools. Does NOT need order execution — that's a different agent with different permissions.
Risk Manager Alpaca, QuantOracle, SQLite Needs portfolio awareness and quantitative validation. Does NOT need research corpus — risk evaluation uses numbers, not narratives.
Execution Agent Alpaca, SQLite Needs order submission and logging. Has the narrowest toolset because it has the most consequential action: moving capital.

When we evaluated the TradingView MCP integration, we found it offered 30 tools. We adopted 8 and rejected 22 — sentiment analysis that was just keyword counting, news feeds redundant with our existing pipeline, exchange data outside our scope. Selective adoption is a discipline, not a limitation.

2. Build the Layer That Survives

AI models are replaced every few months. Claude 3 → Claude 3.5 → Claude 4 → Claude 4.5 — each generation is more capable than the last. Any investment in a specific model's quirks depreciates rapidly.

The orchestration layer — how agents are structured, what data flows between them, how risk is enforced, how the team interacts with the system — transfers across model generations. When a better model ships, we swap it in and the entire system improves. The harness compounds; the model depreciates.

This is why we invest in architecture (agent boundaries, risk schemas, knowledge graphs, portal design) rather than in prompt tricks for a specific model version.

3. Govern First, Optimize Second

It is tempting to optimize for speed: faster analysis, faster execution, more trades, more signals. But speed without governance produces faster mistakes.

Every component has governance before optimization:

The February 2026 supply-chain attack affected a platform that optimized for capability before governance. 21,000 instances with no authentication. 1,184 malicious skills in the marketplace. When the attack hit, there was no audit trail to determine which accounts were compromised, no scope boundaries to limit damage, no credential isolation to protect wallets.

We build governance into the foundation so that when (not if) something unexpected happens, the blast radius is contained and the audit trail is complete.


Capability Progression

What the team can do at each milestone:

Capability M1 M2 M3 M4 M5 M6
Query research corpus +
Daily intelligence brief +
Central bank data pipeline +
MCP workspace access +
24/7 crypto surveillance +
24/7 macro sentiment monitoring +
Geopolitical risk alerts +
NLP sentiment scoring +
Paper trading (4 agents) +
Risk enforcement (8 rules) +
7-page trading dashboard +
TradingView signal intake +
63 quantitative analysis tools +
Automated LP letter drafts +
Thought leadership (2-3/wk) +
Meeting intelligence +
Overnight scenario modeling +
Proprietary signal generation +
Distribution partner surveillance +
Full codebase ownership +
Team training & documentation +

+ = introduced that month. Once introduced, capabilities persist through all subsequent months.


Contact

Bóas Karl Svavarsson

hello@galdr.gg