PwC and AWS Alliance

Build clinical trial question-answering agent on Amazon Bedrock

  • Blog
  • March 12, 2025

Jayant Raj

Director, Cloud & Digital, AWS Ambassador, PwC US

Email

This post demonstrates building agents on the Amazon Bedrock platform using AWS services such as Amazon Bedrock Agents, Knowledge Base, OpenSearch Serverless and Bedrock foundation models.

What are Amazon Bedrock Agents?

Large language model (LLM) agents are software entities that use a foundation model reasoning capabilities to take a user request, analyze and decompose the request into smaller tasks, orchestrate the sequence of tasks and execute actions (call API, interact with applications, databases, etc.) to complete the request. Agents can also interact with the users to gather more information while fulfilling the tasks.

Amazon Bedrock Agents provides a fully managed service to build and scale generative AI bots that are able to execute complex tasks autonomously using given tools and integrates with enterprise data sources to perform read and write operations.

Bedrock Agents come with the following features out of the box:

  • Managed service to build and deploy agents
  • Integration with knowledge base for RAG capabilities
  • Memory to maintain conversation history across multiple sessions
  • Code interpretation to generate and execute code
  • Action groups to provide mechanism for agents to take actions
  • Customization of agents with more specific prompt templates
  • Guardrails for agents
  • Chain-of-thought reasoning traces

Build clinical trial question-answering agent on Amazon Bedrock

Want to see how it is done?

Follow us