Experiments via UI for Agent Server? #11855
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
For complex tasks and agents, you need to use the Langfuse SDK for experiments(1). The UI-based experiment feature you're referencing (with the webhook configuration for "Custom Experiment") is designed for triggering SDK-based experiments remotely, not for directly connecting to an agent server via A2A protocol(1). The workflow is:
The SDK approach is necessary because experiments require defining a task function that executes your agent logic, along with evaluators to assess the outputs(1)(2). The SDK handles concurrent execution, automatic tracing, and error isolation during the experiment run(1). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @ToanLyHoa, for UI experiments, you could expose your application in OpenAI API schema format to add it as an LLM connection. Alternatively, you can use the SDK experiment methods for this. You can also set up remote experiment triggers to enable non-technical people in your team to trigger SDK experiments via the UI: https://langfuse.com/docs/evaluation/experiments/experiments-via-sdk#optional-trigger-sdk-experiment-from-ui |
Beta Was this translation helpful? Give feedback.

Hi @ToanLyHoa, for UI experiments, you could expose your application in OpenAI API schema format to add it as an LLM connection.
Alternatively, you can use the SDK experiment methods for this.
You can also set up remote experiment triggers to enable non-technical people in your team to trigger SDK experiments via the UI: https://langfuse.com/docs/evaluation/experiments/experiments-via-sdk#optional-trigger-sdk-experiment-from-ui