Skip to content

[bot] Missing instrumentation for Semantic Kernel for Java #98

@braintrust-bot

Description

@braintrust-bot

Summary

The Braintrust Java SDK does not instrument Semantic Kernel for Java (com.microsoft.semantic-kernel:semantickernel-api). Semantic Kernel is Microsoft's official open-source AI agent framework supporting C#, Python, and Java. It provides execution-oriented APIs for chat completions, text generation, embeddings, tool/function calling, and agent orchestration. This repo instruments a comparable Java AI framework (LangChain4j), but has no Semantic Kernel module.

What is missing

The com.microsoft.semantic-kernel SDK provides these execution surfaces, none of which are instrumented:

API surface Description
ChatCompletionService Chat completions via OpenAI, Azure OpenAI, and other connectors
TextGenerationService Text generation / completions
EmbeddingGenerationService Embedding generation for text inputs
Kernel.invokeAsync Kernel-level function/plugin invocation with AI orchestration
Agent framework (semantickernel-agents-core) Agent execution with multi-agent orchestration
Tool/function calling Automatic function calling during model execution via plugins

The SDK is available on Maven Central (com.microsoft.semantic-kernel:semantickernel-api) at version 1.5.0 with 19 published versions. It is actively maintained by Microsoft (864 commits, part of the 27k+ star Semantic Kernel project).

There is no reference to semantic-kernel, semantickernel, or SemanticKernel anywhere in this repository — no instrumentation module, no tests, no examples, no dependencies.

Braintrust docs status

  • Semantic Kernel is not listed on the Braintrust integrations page at https://www.braintrust.dev/docs/integrations — neither as an AI provider nor as an agent framework: not_found
  • No Semantic Kernel-specific documentation exists for any Braintrust SDK language

Upstream sources

Local files inspected

  • settings.gradle — lists all instrumentation modules (openai_2_8_0, anthropic_2_2_0, genai_1_18_0, langchain_1_8_0, springai_1_0_0, aws_bedrock_2_30_0); no Semantic Kernel module present
  • braintrust-sdk/instrumentation/ — no Semantic Kernel directory
  • Full-repo grep for semantic.kernel, semantickernel, SemanticKernel — zero matches

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions