All projects

Personal project

AI Trading Agent

Proof-of-concept AI agent built with Claude and custom tools to analyze investment portfolios against macroeconomic regimes and generate trade recommendations. Demonstrates LLM tool use, function calling, and agent orchestration patterns.

Context

Portfolio review is a research task before it is a trading task: read the current macro regime, check how the holdings are positioned against it, then decide what to change. Gathering evidence, reasoning over it and proposing an action is what an agent with tools is actually good at, especially at scale.

Approach

  • Built custom tools the model calls to pull portfolio holdings and macroeconomic indicators
  • Used Claude with function calling to reason over regime classification and current exposure together
  • Orchestrated multi-step analysis so the agent gathers evidence before recommending trades, rather than answering from a single prompt

Outcome

  • A working proof of concept for LLM tool use, function calling, and agent orchestration applied to portfolio analysis

Stack

Claude APIAI AgentFunction CallingPythonTrading