AI integration for TopLogic applications with LLM support, MCP server capabilities, and chat functionality.
AI service integration providing LLM access through LangChain4j with support for OpenAI, Anthropic, and Mistral models. Includes TL-Script functions for chat, structured JSON output, and multimodal content.
Model Context Protocol (MCP) server implementation enabling AI agents to interact with TopLogic's model structure, metadata, and business logic through standardized resources and tools.
Chat UI components and model definitions for building conversational interfaces within TopLogic applications.
Demo application showcasing AI integration features including chat interactions, MCP server capabilities, and AI-powered business logic.
- Java 17+
- Maven 3.8+
- TopLogic 7.10.0-SNAPSHOT
- Optional: API keys for AI providers (OpenAI, Anthropic, or Mistral)
# Build all modules
mvn clean installSet your API keys as environment variables:
export tl_openai_apikey="sk-..."
export tl_antropic_apikey="sk-ant-..."
export tl_mistral_apikey="..."Configure AI models in tl-ai-service/src/main/webapp/WEB-INF/conf/tl-ai-service.config.xml.
cd tl-ai-demo
mvnAccess at: http://localhost:8080/tl-ai-demo/