Spent more time learning deepagents from @LangChain with primary focus on integrating MCP servers with auth that doesn't conform completely to the OAuth standard. ( In prep of a work coming my way )
Below POC is on top of yfinance api by encapsulating it in an MCP server. MCP server isn't a 1:1 api mapping with yfinance, but a set of meta api with focus on valuation, quick ratios, fundamental analysis and clubbing gemini web search for grounding before responding ( not recommended as you can spot hallucinated or wrong information being picked up on pricing ).
Inherited OAuthProvider libs/code/deepagents_code/mcp_providers/base.py and made the changes for custom provider.
Found deepagents codebase easy to understand and extend. If you are looking to build a custom harness for a very domain specific task where you want to bring your own compaction logic, enforce token quotas / max tool calls to make and enforce some sequence based on rule engine / switch tool selection logic itself to an GEPA optimized prompt / intercept tool calls and pass them thru a custom guardrail before and after call it's easy to find the interface, understand the functionality and swap it. It's thoughtfully designed such that you can swap sub-components and bring just want you need.
Let million harness bloom.
