One agent, seven windows

2026-07-11 · #tools #agents

Understanding a stock’s true worth requires synthesizing multiple distinct perspectives. Fundamentals reveal the enduring health of the business. Technicals dictate the immediate timing of the market. Macroeconomics illustrate the broader environment navigating the ship. An honest market-analysis agent must look through all these windows simultaneously and weigh their conflicting insights precisely.

The financial-interactive agent in melchizedek operates with exactly this architecture: one unified mind processing through seven distinct instruments. Each tool serves a deliberately narrow function. The get_company_fundamentals tool returns valuation and growth metrics for a single ticker. The get_technical_indicators tool retrieves momentum indicators and moving averages. The get_macro_metrics tool reads treasury yields, the strength of the dollar, and market volatility. Search fills the gaps left by structured feeds, capturing earnings surprises, filings, and sudden catalysts. Every function returns precise numbers or an explicit empty result. They provide raw data, leaving the opinion entirely to the synthesis.

searchhistorymacrofundsanalyststechsnewsfundamentals & valuation — the anchortechnicals — timing, sizing, stopsmacro — calibrates; can vetoa falsifiable verdict
Seven narrow, truthful windows converging into one opinionated synthesis. The weighting dictates the intelligence.

synthesis is the intelligence

The true intelligence of the agent lies in composing its tools. Before interacting with any data, it classifies the question. A simple volatility check requires a single function call, while a comprehensive ownership analysis requires nearly all of them. This foundational discipline separates a methodical analyst from a system that arbitrarily pulls every available lever at once.

Once the data arrives, the agent applies an opinionated weight to each window. In this synthesis hierarchy, fundamentals and valuation serve as the anchor. They dictate the vast majority of the decision process because they answer the central question of ownership value. Technicals refine this answer by dictating timing and establishing risk boundaries. They identify reasonable entry points and set stop markers scaled by actual historical volatility rather than arbitrary figures. Macroeconomics generally serve to calibrate position size, but they retain one critical veto: in a genuine market storm, the macro view can bar new entries entirely.

The output contract enforces absolute honesty. Every verdict must be falsifiable. The agent must provide a precise call alongside the exact price level or event that would trigger a reversal. Even a neutral stance must state its condition, defining the exact earnings print or price drop that would warrant a reassessment. An agent proves its analytical rigor by articulating exactly what would prove it wrong.

Observe the complete doctrine executed in a single turn: plan, look, weigh, and commit:

┌─ trace: a full workup (ticker fictional, figures illustrative) ─ interactive

This principle extends far beyond finance. Provide an agent with many narrow, truthful windows rather than one vague abstraction. Require it to plan its approach before it seeks information. Structure a hierarchy for your sources before they inevitably conflict. Finally, demand that every answer carries the conditions of its own reversal. Data transforms into judgment only when something is at stake, and a well-built agent embraces the vulnerability of being wrong in public.