Strands
Trace Strands agents in Python and TypeScript.
Strands self-instruments; the Neatlogs hook enriches its spans with input/output content so they render fully in the dashboard. Register it on the agent after you construct it.
Prerequisites
pip install -U neatlogs strands-agentsUsage
import os
import neatlogs
from strands import Agent
from strands.models import BedrockModel
neatlogs.init(api_key=os.environ["NEATLOGS_API_KEY"], workflow_name="strands-demo")
agent = Agent(model=BedrockModel(model_id="us.anthropic.claude-haiku-4-5-20251001-v1:0"))
neatlogs.strands_hooks(agent)
print(agent("In one sentence, what is Strands?"))