CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/quarkus-langchain4j

Build Quarkus applications with LangChain4j extensions - project setup, CDI services, REST endpoints, MCP, agentic, and dev mode

91

1.71x
Quality

90%

Does it follow best practices?

Impact

96%

1.71x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-2/

{
  "context": "Tests whether the agent correctly uses the quarkus-langchain4j-agentic extension, defines agents as single-@Agent-method interfaces, sets outputKey values, composes agents with @SequenceAgent, and extracts results with an @Output method whose parameter names match the outputKey values.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Agentic extension in pom.xml",
      "description": "pom.xml includes quarkus-langchain4j-agentic as a dependency (groupId io.quarkiverse.langchain4j)",
      "max_score": 10
    },
    {
      "name": "@Agent on interface method",
      "description": "Each agent interface has exactly one method annotated with @Agent (not multiple @Agent methods in the same interface)",
      "max_score": 15
    },
    {
      "name": "outputKey set in @Agent",
      "description": "Both agent interfaces set an outputKey value in their @Agent annotation (e.g. @Agent(outputKey = \"summary\"))",
      "max_score": 10
    },
    {
      "name": "@SystemMessage on agent",
      "description": "At least one agent interface method carries a @SystemMessage annotation",
      "max_score": 10
    },
    {
      "name": "@SequenceAgent for pipeline",
      "description": "The orchestrating workflow uses @SequenceAgent (not a manual chain) to compose the two agents in order",
      "max_score": 15
    },
    {
      "name": "subAgents lists both agents",
      "description": "@SequenceAgent subAgents array includes both the summarizer and writer agent interface classes",
      "max_score": 10
    },
    {
      "name": "@Output method present",
      "description": "The orchestrating workflow interface (or an inner class) contains a static method annotated with @Output",
      "max_score": 15
    },
    {
      "name": "@Output params match outputKey values",
      "description": "The @Output method's parameter names match the outputKey strings from the agent @Agent annotations",
      "max_score": 15
    }
  ]
}

evals

tile.json