
Building a Multi-Agent Research Assistant with Strands Agents
Learn how to build a multi-agent research assistant using Strands Agents and Python. Explore specialised AI agents, task delegation, agent coordination, tool integration, research workflows, and AWS deployment considerations through a practical example.
Building a Multi-Agent Research Assistant with Strands Agents
Large Language Models (LLMs) can generate answers, summarise information, and assist with research. However, complex research tasks often require multiple activities, such as collecting information, analysing findings, comparing sources, and preparing reports.
A single AI agent can perform these tasks, but a multi-agent architecture allows different agents to specialise in specific responsibilities.
Strands Agents is an open-source SDK that helps developers build AI agents and coordinate them through different multi-agent patterns.
In this article, we will build a conceptual research assistant using Python and Strands Agents, where specialised agents collaborate to collect information, analyse findings, summarise results, and produce a final report.
What Is a Multi-Agent System?
A multi-agent system consists of multiple AI agents working together to accomplish a shared objective.
Each agent has a specific role, instructions, and potentially different tools.
For example, a research assistant can contain:
- Research Agent: Collects relevant information from available sources.
- Analysis Agent: Examines findings and identifies important insights.
- Summary Agent: Extracts key points and removes unnecessary information.
- Report Agent: Combines the results into a structured report.
Instead of asking one agent to handle every responsibility, the system divides the task into specialised activities.
Why Use Strands Agents?
Strands Agents is an open-source SDK for developing AI agents using Python and TypeScript.
It supports:
- Model-driven agent execution.
- Custom Python tools.
- External API integrations.
- Multi-agent coordination.
- MCP integrations.
- Streaming and observability capabilities.
Strands provides several ways to coordinate agents, including:
Pattern | How it works | Suitable for |
|---|---|---|
Agents as Tools | One agent calls specialised agents | Hierarchical delegation |
Graph | Agents follow defined dependencies | Structured research pipelines |
Swarm | Agents autonomously hand off tasks | Exploratory collaboration |
Workflow | Executes predefined task dependencies | Repeatable parallel tasks |
Agent-to-Agent (A2A) | Connects agents across services | Distributed agent systems |
For this research assistant, we will use the Graph pattern because research collection and summarisation can happen in parallel before the final report is generated.
Understanding the Architecture
Our research assistant will contain four specialised agents.
1. Research Agent
Collects relevant information using web-fetch capabilities.
2. Analysis Agent
Examines the collected information, identifies trends, and extracts important insights.
3. Summary Agent
Produces a concise summary of the research findings.
4. Report Agent
Combines the analysis and summary into a structured final report.
Execution workflow
User Research Request → Research Agent → Parallel Analysis and Summarisation → Report Agent → Final Research Report
The graph manages dependencies, so the report agent waits until both parallel tasks have completed.
Building the Multi-Agent Research Assistant
Let's implement a basic research workflow using Python and Strands Agents.
Prerequisites
You need:
- Python 3.10 or newer.
- An AWS account.
- Configured AWS credentials.
- Access to a supported Amazon Bedrock foundation model.
- Basic Python and LLM knowledge.
Step 1: Install Dependencies
Install Strands Agents with its web-fetch integration:
pip install "strands-agents[web-fetch]"Configure your AWS credentials using the AWS CLI or another supported credential provider.
For example:
aws configureEnsure the selected model is accessible in your AWS Region and that your IAM permissions allow the required operations.
Step 2: Create the Research Agents
Create a Python file named
research_assistant.py .from strands import Agentfrom strands.multiagent import GraphBuilderfrom strands.vended_tools.web_fetch import web_fetch
researcher = Agent( name="researcher", system_prompt="Research the topic using relevant web sources. Return useful findings and source details.", tools=[web_fetch])
analyst = Agent( name="analyst", system_prompt="Analyse the research findings and identify important insights, trends, and limitations.")
summarizer = Agent( name="summarizer", system_prompt="Summarise the research findings into clear and concise key points.")
report_writer = Agent( name="report_writer", system_prompt="Create a structured research report using the available research, analysis, and summary.")Each agent has a specialised role. The researcher also has access to a web-fetch tool.
Step 3: Define the Multi-Agent Workflow
Use
GraphBuilder to define how the agents collaborate.builder = GraphBuilder()
builder.add_node(researcher, "research")builder.add_node(analyst, "analysis")builder.add_node(summarizer, "summary")builder.add_node(report_writer, "report")
builder.add_edge("research", "analysis")builder.add_edge("research", "summary")
builder.add_edge("analysis", "report")builder.add_edge("summary", "report")
builder.set_execution_timeout(600)
research_graph = builder.build()The graph defines the execution dependencies.
After research finishes, the analysis and summarisation agents can run independently. The report writer receives their outputs after both tasks are complete.
Step 4: Execute the Research Assistant
Send a research request:
result = research_graph( "Research the applications of Generative AI in healthcare.")
print(result)The system coordinates the agents and produces the final result.
This is a starting implementation, not a complete production research platform. The quality of results depends on model configuration, source availability, retrieval quality, and evaluation.
Understanding How Agents Collaborate
The graph architecture separates responsibilities while maintaining a defined execution order.
For example, when researching Generative AI in healthcare:
- The Research Agent collects relevant information.
- The Analysis Agent identifies applications, opportunities, and limitations.
- The Summary Agent extracts the main findings.
- The Report Agent combines the results into a structured report.
This approach makes the workflow easier to understand, test, and maintain.
For more exploratory tasks, a Swarm may be appropriate because agents can autonomously hand work to one another. For predictable research pipelines, Graph provides more control over execution.
Integrating AWS Services
Strands Agents can be combined with AWS services to build more complete applications.
AWS service or framework | Purpose |
|---|---|
Amazon Bedrock | Foundation model access |
Amazon Bedrock AgentCore Runtime | Managed agent execution |
AgentCore Memory | Agent memory capabilities |
AgentCore Gateway | Tool and API integration |
AgentCore Identity | Identity and access management |
Amazon S3 | Research document storage |
Amazon CloudWatch | Monitoring and operational visibility |
These services are optional architectural components. Select them according to the application's requirements rather than adding every service by default.
Security and Reliability Considerations
Multi-agent systems introduce additional security and operational challenges.
Important practices include:
- Source validation: Verify information against reliable sources.
- Least privilege: Restrict access to tools and AWS resources.
- Input validation: Validate user requests and tool parameters.
- Prompt-injection protection: Treat retrieved web content as untrusted input.
- Execution limits: Configure timeouts and limits to prevent excessive execution.
- Error handling: Handle unavailable sources, failed tools, and incomplete results.
- Human review: Require approval before high-impact actions.
- Data protection: Avoid exposing sensitive information in prompts and logs.
For Swarm-based systems, Strands provides controls such as maximum handoffs, maximum iterations, and execution timeouts. These help prevent agents from repeatedly transferring control without completing the task.
Monitoring and Evaluation
A multi-agent application should be evaluated as a complete system, not just by examining its final response.
Monitor:
- Individual agent execution time.
- Model latency and token usage.
- Tool invocation failures.
- Research source availability.
- Agent coordination and task completion.
- Overall workflow execution time.
Test different research topics, incomplete requests, unavailable sources, conflicting information, and unexpected tool responses.
Amazon CloudWatch and OpenTelemetry-compatible observability integrations can help developers monitor and troubleshoot agent applications.
Real-World Applications
The same architecture can be adapted for several applications:
- Market Research: Collect industry information, analyse competitors, and generate reports.
- Academic Research: Gather research material, identify findings, and summarise studies.
- Financial Research: Analyse available financial information and prepare summaries.
- Technical Research: Compare frameworks, technologies, and development approaches.
- Business Intelligence: Examine business information and generate decision-support reports.
For applications involving sensitive or high-impact decisions, outputs should be reviewed by qualified people.
Conclusion
Multi-agent systems provide a structured way to divide complex AI tasks among specialised agents.
With Strands Agents, developers can coordinate agents using Graph, Swarm, Agents-as-Tools, and other supported patterns.
By combining specialised agents, tool integrations, and AWS services, developers can build research assistants that collect information, analyse findings, and generate structured reports.
The key to successful multi-agent development is choosing the right coordination pattern, defining clear agent responsibilities, controlling execution, and evaluating the complete workflow.
Start with a simple research pipeline and gradually introduce additional tools, memory, security, and monitoring capabilities.
References and Further Learning
- Strands Agents Documentation: https://strandsagents.com/docs/
- Multi-Agent Patterns: https://strandsagents.com/docs/user-guide/sdk/multi-agent/multi-agent-patterns/
- Graph Multi-Agent Pattern: https://strandsagents.com/docs/user-guide/sdk/multi-agent/graph/
- Swarm Multi-Agent Pattern: https://strandsagents.com/docs/user-guide/sdk/multi-agent/swarm/
- Amazon Bedrock: https://docs.aws.amazon.com/bedrock/
- Amazon Bedrock AgentCore: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article