Skip to content

Commit 66bf0c9

Browse files
authored
Rewrite on welcome to lf section (#2872)
1 parent 5e7a3e8 commit 66bf0c9

6 files changed

Lines changed: 113 additions & 28 deletions

File tree

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
title: AI Engineering Loop
3+
description: A high-level map of the AI engineering lifecycle, from tracing and monitoring to building datasets, experimenting, and evaluating.
4+
---
5+
6+
import { Activity, BadgeCheck, Database, FlaskConical, Route } from "lucide-react";
7+
8+
# The AI Engineering Loop
9+
10+
The AI Engineering Loop is how teams approach the continuous evolution and improvement of their AI-powered systems. It connects what happens in production directly to the work of improving quality, cost, latency, and reliability during development.
11+
12+
Many of the underlying concepts mirror traditional software engineering, but a key differentiator is the probabilistic nature of LLM outputs and the sheer number of paths a system can take. You cannot unit-test your way to confidence. You need a systematic way to observe, learn, and improve.
13+
14+
![The AI engineering loop](/images/academy/loop-overview.png)
15+
16+
The loop clusters into two areas of work.
17+
18+
## 1. Understanding what's happening in production
19+
20+
The first part is about visibility. What is your system actually doing in the real world? Which requests are going well, and which are failing in ways that matter?
21+
22+
<Cards num={2} className="gap-6">
23+
<Cards.Card
24+
title="1. Tracing"
25+
href="/academy/tracing"
26+
icon={<Route className="w-5 h-5" />}
27+
arrow
28+
>
29+
Capture the full path of a request, including prompts, retrieved context, tool calls, outputs, latency, and cost. Tracing is the raw record of what your system actually did.
30+
</Cards.Card>
31+
<Cards.Card
32+
title="2. Monitoring"
33+
href="/academy/monitoring"
34+
icon={<Activity className="w-5 h-5" />}
35+
arrow
36+
>
37+
Track how the system behaves over time and surface the traces that deserve attention. Monitoring turns a stream of raw data into an ongoing understanding of how the system evolves.
38+
</Cards.Card>
39+
</Cards>
40+
41+
## 2. Improving systematically during development
42+
43+
The second part is about turning what you have observed into improvements you can trust — without degrading the parts of the system that are already working.
44+
45+
<Cards num={3} className="gap-6">
46+
<Cards.Card
47+
title="3. Building datasets"
48+
href="/academy/datasets"
49+
icon={<Database className="w-5 h-5" />}
50+
arrow
51+
>
52+
Turn real scenarios surfaced through monitoring into repeatable test cases. Instead of testing against a handful of hand-picked examples, you build a set that reflects how the system actually gets used.
53+
</Cards.Card>
54+
<Cards.Card
55+
title="4. Experimenting"
56+
href="/academy/experiments"
57+
icon={<FlaskConical className="w-5 h-5" />}
58+
arrow
59+
>
60+
Change one variable at a time — a prompt, a model, a retrieval strategy — and compare it against a stable baseline. That way you know what actually improved instead of guessing.
61+
</Cards.Card>
62+
<Cards.Card
63+
title="5. Evaluating"
64+
href="/academy/evaluate"
65+
icon={<BadgeCheck className="w-5 h-5" />}
66+
arrow
67+
>
68+
Decide whether results are good enough to ship using manual review, code-based checks, or LLM judges. Evaluation is how you turn a comparison into a decision.
69+
</Cards.Card>
70+
</Cards>
71+
72+
Once you ship a change, the cycle starts again. The updated system produces new traces, new monitoring signals, and new opportunities to improve.
73+
74+
## You don't have to close the full loop on day one
75+
76+
Most teams don't start with all five steps in place. That is fine.
77+
78+
The value of the loop is cumulative. Each step you add gives you better signal, more systematic coverage, and more confidence in what you are shipping. The goal is not to implement everything at once — it is to understand where you are and take the next step toward closing the loop.
79+
80+
{/* TODO: Link blog article about patterns of AI engineering lifecycle adoption once written */}
81+
82+
## Start with tracing
83+
84+
The natural place to begin is tracing. You cannot monitor what you cannot see, and you cannot improve what you cannot measure. Tracing is the foundation everything else builds on.
85+
86+
[→ Start with Tracing](/academy/tracing)

content/academy/datasets/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "Datasets",
2+
"title": "Building Datasets",
33
"pages": [
44
"overview"
55
]

content/academy/evaluate/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "Evaluate",
2+
"title": "Evaluating",
33
"pages": [
44
"overview"
55
]

content/academy/experiments/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "Experiments",
2+
"title": "Experimenting",
33
"pages": [
44
"overview"
55
]

content/academy/index.mdx

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,42 @@
11
---
22
title: Langfuse Academy
3-
description: Build a mental model for AI engineering. Learn the core disciplines teams rely on as LLM applications move from prototype to production.
3+
description: Understand why LLM engineering is different and how to navigate the full AI engineering lifecycle.
44
---
55

66
# Welcome to Langfuse Academy
77

8-
This is the place to build a mental model for AI engineering. We'll introduce the core disciplines teams rely on as LLM applications move from prototype to production.
8+
Building with LLMs changes what it means for a system to work. Outputs are probabilistic. A system can run fine and still produce responses that are wrong, off-brand, or useless. Teams need to reason about quality, cost, latency, and the tradeoffs between them.
99

10-
Rather than focusing on individual product features, Academy is meant to help you understand the bigger picture, and how teams can work with that change in a systematic way.
10+
Langfuse Academy maps the AI engineering lifecycle so you understand how the pieces fit and what it takes to ship from prototype to production.
1111

12-
## Why LLM observability is different
1312

14-
Traditional observability remains essential. Teams still need to know whether their systems are up, whether requests are slow, whether dependencies are failing, and whether costs are under control. Those questions do not disappear when an application starts using LLMs.
1513

16-
But LLM applications introduce a different kind of challenge. Their behavior is probabilistic: the same input can produce different outputs, and a response can look plausible even when it is wrong, incomplete, off-brand, unsafe, or simply unhelpful. In other words, a request can succeed technically and still fail for the user.
14+
## What you will find here
1715

18-
<Callout>
19-
TODO: insert a visual or an example here to break up the text
20-
</Callout>
21-
22-
AI engineering is not only about reliability. It is also about quality. Teams need to understand whether the output was useful, grounded, safe, and worth the cost. Observability for LLM applications therefore sits closer to product quality and iteration than traditional application monitoring usually does.
23-
24-
Modern observability platforms for LLM systems increasingly treat prompts, responses, token usage, quality signals, and model-specific behavior as first-class telemetry.
16+
The Langfuse Academy follows the AI engineering lifecycle from first visibility into production behavior all the way to structured improvement and evaluation. The goal is to explain why each step exists, what problem it solves, and how the steps connect.
2517

26-
## The AI engineering loop
18+
Start with [The AI Engineering Loop](/academy/ai-engineering-loop) for the high-level map, then go deeper into the individual parts:
2719

28-
Because of this, AI engineering is iterative. Teams do not build once, ship once, and assume the work is done. They observe behavior, learn from it, improve the system, and evaluate the result over time.
20+
- [Tracing](/academy/tracing)
21+
- [Monitoring](/academy/monitoring)
22+
- [Building Datasets](/academy/datasets)
23+
- [Experimenting](/academy/experiments)
24+
- [Evaluating](/academy/evaluate)
2925

30-
![The AI engineering loop](/images/academy/loop-overview.png)
26+
Some pages explain the high-level concepts. Others are deeper dives into individual parts of the lifecycle. You can read the full sequence or jump to the topic that is most relevant to your team right now.
3127

32-
<Callout>
33-
TODO: replace with final loop visual; should we explain each step in 1-2 sentences? Keep it concise
34-
</Callout>
35-
36-
## What comes next
28+
## Academy and docs do different jobs
3729

38-
The rest of Langfuse Academy goes deeper into each step of the loop.
30+
Academy focuses on high-level concepts and how the lifecycle fits together. The [docs](/docs) and [guides](/guides) cover Langfuse features, product implementation details, and step-by-step how-tos.
3931

40-
Each section is designed to work on its own: it gives you an overview first, and then lets you go deeper if and when that makes sense for your use case. You can follow the full loop, or focus only on the parts that are most relevant for your team right now.
32+
Use Academy to understand the lifecycle. Use the docs and guides when you are ready to implement it in Langfuse.
4133

42-
You also do not need to adopt everything at once. Most teams improve their setup iteratively over time, adding new practices as they become useful. Doing part of this loop is already better than having no LLM engineering practices at all.
34+
<Callout type="info" title="Who this is for">
35+
- AI engineers and software engineers building LLM applications and agentic systems
36+
- Product managers who need to reason about quality, iteration, and tradeoffs
37+
- Technical and business leaders who need a working understanding of how AI systems are built and improved
38+
- AI agents that support humans in understanding AI engineering concepts and workflows
39+
</Callout>
4340

44-
Let's dive in!
41+
## Why we are publishing this
42+
Langfuse is open source, and we want to open source the conceptual side of AI engineering too. The Academy is our way of making the core ideas, vocabulary, and workflows behind LLM application development easier to access for everyone.

content/academy/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"title": "Academy",
33
"pages": [
44
"index",
5+
"ai-engineering-loop",
56
"---The Loop---",
67
"tracing",
78
"monitoring",

0 commit comments

Comments
 (0)