Langfuse

Open Source LLM Engineering Platform

Langfusearrow-up-right is an open-source LLM engineering platform that helps teams collaboratively debug, analyze, and iterate on their LLM applications.

All platform features are natively integrated to accelerate the development workflow. Langfuse is open, self-hostable, and extensible.

This guide will walk you through the setup.

circle-info

Before you begin: Make sure you have generated your Cortecs API key. If not, check out our QuickStart guide.

1. Deploy Langfuse

There are multiple ways to deploy Langfuse.

To get started quickly, choose your preferred deployment strategy and follow the instructions in the documentationarrow-up-right.

Once deployment is complete, you’ll need to configure an external provider.

2. Connect to cortecs

Cortecs provides OpenAI-compatible API endpoints, making it easy to integrate with Langfuse and many other tools.

2.1. Prompt Management

One of the core features of Langfuse is prompt managementarrow-up-right, which includes storing, versioning, and retrieving your prompts. To experiment with prompts, Langfuse needs to be connected to an LLM provider such as Cortecs.

To set up the connection, follow these steps in the administration console:

  1. Navigate to Settings -> LLM-Connections

  2. Configure the connection with the following settings: – LLM adapter: openai – API Key: Your API Key – API Base URL: https://api.cortecs.ai/v1Enable default models: Disabled – Add custom model name: gpt-5-mini (feel free to pick another one from the cataloguearrow-up-right)

Once the LLM connection is created, you can experiment with prompts, store versions, and later retrieve and use them directly in your codearrow-up-right.

2.2. Tracing

Langfuse provides tracing capabilitiesarrow-up-right to monitor and analyze the calls made to an LLM. This feature allows you to gain visibility into model interactions and performance. To integrate tracing, Langfuse offers multiple options, including drop-in replacements and flexible connection methodsarrow-up-right, making it easy to incorporate into your existing codebase.

Enjoy your privacy-preserving LLM engineering platform with the power of Cortecs and Langfuse. Explore other models, tweak the setup to your needs, and join the conversation on our Discordarrow-up-right to share feedback 👩‍💻👨‍💻

Last updated