CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/langchain4j-ai-agent

Build AI agents with LangChain4j - basic agent, memory, tools/MCP, agentic workflows, guardrails, and observability

90

2.90x
Quality

90%

Does it follow best practices?

Impact

90%

2.90x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

Evaluation results

100%

97%

Intelligent Request Router for a Productivity Assistant

Criteria
Without context
With context

langchain4j-agentic dependency

0%

100%

supervisorBuilder used

0%

100%

loopBuilder used

0%

100%

Loop maxIterations

0%

100%

Loop exitCondition

0%

100%

AgenticScope writeState

0%

100%

AgenticScope readState

0%

100%

responseStrategy set

0%

100%

subAgents registered

0%

100%

Architecture documented

30%

100%

AgenticServices import

0%

100%

72%

65%

Safe Content Assistant with Execution Reporting

Criteria
Without context
With context

InputGuardrail implemented

0%

100%

OutputGuardrail implemented

0%

100%

Input fatal() used

0%

100%

Output reprompt() used

20%

100%

@InputGuardrails annotation

0%

100%

@OutputGuardrails annotation

0%

100%

maxRetries on OutputGuardrails

0%

0%

AgentMonitor created

0%

0%

Monitor attached as listener

0%

0%

HTML report generated

37%

37%

Guardrail imports correct

0%

100%

Input success() used

25%

100%

100%

17%

Multi-User Customer Support Chat System

Criteria
Without context
With context

BOM version

0%

100%

BOM-managed versions

0%

100%

@MemoryId annotation

100%

100%

chatMemoryProvider used

100%

100%

MessageWindowChatMemory builder

100%

100%

ChatMemoryStore interface

100%

100%

Store method signatures

100%

100%

@MemoryId import package

100%

100%

Memory linked to store

100%

100%

Per-user isolation documented

100%

100%

AiServices builder pattern

75%

100%

Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents