Skip to main content

AI Clients

The Arc Agent framework provides a number of clients to connect to AI services.

However, thanks to Arc Agents simple design, AI Client from other frameworks can be easily integrated.

Only the ChatCompleter interface needs to be implemented.

interface ChatCompleter {
suspend fun complete(
messages: List<ConversationMessage>,
functions: List<LLMFunction>? = null,
settings: ChatCompletionSettings? = null
): Result<AssistantMessage, AIException>
}