Back to Home
quarkusio icon

quarkus-workshop-langchain4j

Verified Safe

by quarkusio

Overview

A workshop demonstrating how to build AI-infused applications and agentic systems with Quarkus and LangChain4j, specifically focusing on a car management system that uses AI agents for tasks like cleaning, maintenance, and disposition decisions, including communication with remote agents via the Model Context Protocol (MCP) and Agent-to-Agent (A2A) protocol.

Installation

Run Command
cd section-2/step-04/remote-a2a-agent && ./mvnw quarkus:dev

Environment Variables

  • OPENAI_API_KEY

Security Notes

The system implements `InputGuardrails` to detect prompt injection using a separate AI service, which enhances security. API keys are handled via environment variables. Network interactions include calls to external weather APIs (`api.open-meteo.com`) and internal A2A communication, which are standard for distributed systems but require careful configuration and trust boundaries. The inherent risk of LLM interpreting prompts for tool execution is present, though mitigated by guardrails and structured tool definitions.

Similar Servers

Stats

Interest Score44
Security Score8
Cost ClassMedium
Avg Tokens300
Stars67
Forks50
Last Update2026-01-19

Tags

AILangChain4jQuarkusJavaAgentic AI