›Build and run the agent
4.6 · Challenge
Build and run the agent
In the previous lesson, you learned how to use create_memory_tools() and record_agent_trace() to record reasoning traces automatically, and how to query those traces in Neo4j to follow the full causal chain of an agent's decisions.
In this challenge, you will complete a Pydantic AI agent, run it against two prompts, and verify that the reasoning trace was written to your instance.
Join GraphAcademy to keep learning
Create your account to unlock 80+ hours of hands-on Neo4j courses, track your progress, and earn a certificate when you complete the course.
Sign in or register