Skip to main content
Press ⌘K to search

Strands Agents

Strands Agents is an open-source Python SDK for building agents. The strands-equibles package turns 14 read-only Equibles REST endpoints into Strands tools: search SEC filings and earnings call transcripts, read financial statements, daily prices, insider trades, 13F holders, short interest, company guidance and analyst estimates. Each tool calls the REST API with your key and hands the endpoint's JSON to the agent, so its answer can cite the filing or call a figure came from.

To reach the full catalog of over 100 tools instead, Strands' MCPClient connects to the MCP server with no package to install: see the Strands MCP guide.

1. Install

pip install strands-equibles

The package needs Python 3.10 or later and installs strands-agents. Strands uses Amazon Bedrock as its default model provider; the Strands model providers guide covers the others.

2. Add your API key

Create an API key at /dashboard/apikeys (it starts with eq_ and is shown once) and export it:

export EQUIBLES_API_KEY=eq_your_api_key

The tools read EQUIBLES_API_KEY, or take the key as api_key="eq_...".

3. Give the tools to an agent

equibles_tools() returns every tool, sharing one API client:

from strands import Agent
from strands_equibles import equibles_tools

agent = Agent(tools=equibles_tools())
agent("Who are NVIDIA's largest institutional holders, and as of which 13F report date?")

To give the agent only some tools, pick them by name with equibles_tool:

from strands import Agent
from strands_equibles import equibles_tool

agent = Agent(tools=[equibles_tool("search_company_filings"), equibles_tool("read_filing_lines")])

4. Call a tool without a model

Strands can call a tool directly, which shows what the agent will see. This uses one request from your daily allowance and no model tokens:

import json

from strands import Agent
from strands_equibles import equibles_tools

agent = Agent(tools=equibles_tools(), record_direct_tool_call=False)
result = agent.tool.get_institutional_holders(ticker="NVDA", limit=2)

print(result["status"])
print(json.loads(result["content"][0]["text"])["data"][0])

status is success, and the text content is the endpoint's JSON. Its first holder, formatted here:

{
  "name": "BlackRock, Inc.",
  "cik": "2012383",
  "shares": 1940885915,
  "value": 443259525254,
  "percentOfTotal": 10.971424013488857,
  "listedTicker": null,
  "positionType": "Common",
  "holderType": "Holding company",
  "style": "Index-like"
}

percentOfTotal is a percentage of the shares all 13F filers report; the response's meta carries the 13F report date.

Tools

Each tool wraps one endpoint; its parameters are the endpoint's, and the linked reference documents its response.

Tool Endpoint
search_listings Listings
get_stock_profile Stock profile
get_stock_prices Daily prices
get_financial_statement Financial statements
search_company_filings Search a company's filings
search_all_filings Search all filings
read_filing_lines Read filing lines
list_investor_events Investor events
get_earnings_call_transcript Earnings call transcript
get_insider_transactions Insider transactions
get_institutional_holders Institutional holders
get_short_interest Short interest
get_guidance Guidance
get_analyst_estimates Analyst estimates

A US stock takes its bare ticker (AAPL, BRK-B); a listing on another exchange takes MIC:TICKER (XETR:SIE), which search_listings returns. All 14 tools work on the Free plan, within its daily request limit (Plans & limits).

Errors

An API error, such as an unknown ticker or a spent daily limit, comes back as a tool result with status set to error and the API's message as its text, so the agent can correct its call. A missing required argument is refused the same way, before any request. The error reference lists the codes.

The package is open source under the MIT license; report problems on GitHub.

Try it with a real key

Every example on this page runs against the live API. A free account includes an API key and MCP access — set up in under a minute.