LangChain4j

Use AI-Mocks with LangChain4j to test provider-backed chat and streaming flows without real OpenAI, Anthropic, or Ollama calls.

Use AI-Mocks when your LangChain4j code talks to a provider API. Mokksy supplies the underlying HTTP and SSE behavior, and AI-Mocks adds provider-compatible request and response shapes.

Supported provider guides

This is a routing guide for LangChain4j. Choose the provider page that matches the model client configured in your application.

Demo

Product choice

  • Use Mokksy directly for generic HTTP dependencies.
  • Use AI-Mocks for provider-backed LangChain4j tests.