codefarm
HomeRoadmapsGuidesQuizzesMentorshipWhiteboardEbooksCodeSmash
Learn
RoadmapsQuizzesBlogsVideosGuides
Simulators
Why API GatewayWhy Load BalancerWhy Circuit BreakerKafka Message FlowKafka Consumer LagKafka RebalanceRate LimitersUptime SLALatency SimulatorCachingConsistent Hashing
Tools
UUID GeneratorDate & Time ToolsJWT DecoderText FormatterMind MapFun PuzzlesKids Learning
Profile
Back to Spring AI
🛠️
Phase 4

Tool Calling, MCP & Agent Evaluation

Move from answering questions to taking action — tool calling, hand-rolled agentic patterns, MCP interoperability, and evaluating whether an agent's answers actually hold up.

1

Tool Calling: Giving the Model the Ability to Act

Move the support bot from answering questions about documents to acting on live data — order lookups, calculations, and REST calls — with Spring AI's @Tool annotation and ToolCallingAdvisor.

spring-aitool-callingfunction-calling
2

Agentic Patterns: ReAct, Plan-and-Execute & Reflection by Hand

Hand-roll multi-step reasoning with ChatClient and ChatMemory — ReAct, Plan-and-Execute, Reflection, sequential chains, and parallel fan-out — and know when to stop hand-rolling.

spring-aireactplan-and-execute
3

MCP: Sharing Tools Across Apps, Teams & Models

Expose your Java tools as an MCP server so any team or client can use them, and connect your own agent as an MCP client to tools you didn't write, with Spring AI's annotation-based MCP support.

spring-aimcpmcptool
4

Agent Evaluation: Catching Regressions Before Customers Do

Stop eyeballing responses. Use Spring AI's Evaluator API — RelevancyEvaluator, FactCheckingEvaluator, and a hand-rolled LLM-as-a-judge — to turn answer quality into a CI gate.

spring-aievaluationrelevancyevaluator
codefarm

Learn backend engineering with clear roadmaps, practical tools, and interactive quizzes. From zero to production-ready.

Learn

  • Roadmaps
  • Guides
  • Blogs
  • Videos
  • Ebooks

Labs

  • Simulators
  • Quizzes
  • Whiteboard
  • JWT Decoder
  • UUID Generator
  • Toolbox

Simulators

  • Uptime SLA
  • Rate Limiters
  • Kafka Message Flow
  • Kafka Consumer Lag
  • Kafka Rebalance

Community

  • Cohorts
  • Testimonials
  • About
  • Contact

Legal

  • Terms & Conditions
  • Privacy Policy
  • Refund & Cancellation