Woongjin Thinkbig Migrates Learning Content Graph Agent to AgentCore
Key point
Woongjin Thinkbig moved its Neptune knowledge graph agent to AgentCore, reducing operational burden and improving response efficiency.
Details
- Woongjin Thinkbig built a graph agent that explores a knowledge graph connecting learning data in Amazon Neptune using natural language, then migrated it to Amazon Bedrock AgentCore for production operations.
- Implemented with Strands Agents, the agent selects graph query tools suited to each question and answers based on the exploration results.
- The tools were designed to provide a summary and count of results first, then retrieve more details as needed; read-only queries and a limit on the number of result rows were applied.
- AgentCore Runtime, Gateway, Identity, and Memory manage agent execution, tool calls, authentication, and conversation history, while traces are observed with Amazon CloudWatch Omni.
Evaluation and Improvements
- AWS and Woongjin Thinkbig evaluated the agent using a 56-item golden set based on actual Neptune query results, covering 6 roles and 47 query types.
- After iterative improvements, the Output score rose from 0.45 to 0.62, tool selection accuracy from 0.73 to 0.96, and tool argument accuracy from 0.49 to 0.95.
- Total tokens per turn decreased from 61,413 to 28,855, tool calls from 7.0 to 3.2, and response time from 32.9 seconds to 20.8 seconds.
- Prompt caching reduced the average uncached input tokens per evaluation case from 59,366 to 8, lowering the effective cost of input tokens by about 70%.
AgentCore Migration
- In the existing EKS setup, the service pods and Airflow were retained, while agent execution, tool calls, authentication, and conversation history were moved to AgentCore.
- The existing network configuration was retained while AgentCore Runtime was deployed in VPC mode; sessions were tied to tenant and user identifiers to prevent conversation context from mixing between users.
Observability and Next Steps
- Prompt templates and versions were recorded in ADOT traces, making it possible to inspect response time, token usage, tool calls, and evaluation results in CloudWatch Omni.
- Woongjin Thinkbig plans to connect learning histories and mastery levels for each concept to the graph, extending it to history-based recommendations, and to extract relationships between content and concepts for review before incorporating them.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.