AI & models

Akka provides native integration with 10 LLM providers. You configure a model in application.conf and your Agents use it automatically. No additional libraries or adapters are required.

Built-in providers

Provider Site

Anthropic

anthropic.com

OpenAI

openai.com

Google AI Gemini

gemini.google.com

Google Cloud Vertex AI

cloud.google.com/vertex-ai

AWS Bedrock

aws.amazon.com/bedrock

Mistral AI

mistral.ai

Hugging Face

huggingface.co

Ollama (local)

ollama.com

LocalAI (local)

localai.io

Custom providers

You can plug in any model by implementing the ModelProvider.Custom interface. This involves the underlying LangChain4J ChatModel and optionally StreamingChatModel implementations.

Decision models

A decision model answers a fixed set of questions about an input with probabilities instead of generated text. The SDK provides the DecisionModelClient for calling decision models from any component. See Decision models.

See also