You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update documentation links to point to the GitHub repository for various labs, enhancing accessibility and consistency across chapters. This includes updates in the README files for LLM fundamentals, prompt engineering, tools and function calling, RAG, agent architecture, state management, security and governance, observability, cost-latency engineering, data privacy, and production readiness index.
Copy file name to clipboardExpand all lines: book/01-llm-fundamentals/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -399,7 +399,7 @@ Not all models are equally good for agents.
399
399
400
400
**Theory:** See [Appendix: Capability Benchmark](../appendix/README.md#capability-benchmark-characterization) — detailed description of what we test and why it's important.
401
401
402
-
**Practice:** See [Lab 00: Model Capability Benchmark](../../labs/lab00-capability-check/README.md) — ready tool for testing the model.
402
+
**Practice:** See [Lab 00: Model Capability Benchmark](https://github.com/kshvakov/ai-agent-course/tree/main/labs/lab00-capability-check) — ready tool for testing the model.
403
403
404
404
## Common Mistakes
405
405
@@ -492,7 +492,7 @@ Original history (2000 tokens):
492
492
-**Trimming:** Quick one-time tasks, history not important
493
493
-**Summarization:** Long sessions, contextual information important, autonomous agents
494
494
495
-
See more: section "Context Optimization" in [Chapter 09: Agent Anatomy](../09-agent-architecture/README.md#context-optimization) and [Lab 09: Context Optimization](../../labs/lab09-context-optimization/README.md)
495
+
See more: section "Context Optimization" in [Chapter 09: Agent Anatomy](../09-agent-architecture/README.md#context-optimization) and [Lab 09: Context Optimization](https://github.com/kshvakov/ai-agent-course/tree/main/labs/lab09-context-optimization)
496
496
497
497
### Mistake 3: LM Studio — Wrong Prompt Template (role support error)
498
498
@@ -546,7 +546,7 @@ If you don't know something, say "I don't know" or use a tool.`
546
546
-[x] Know how to set `Temperature = 0` for deterministic behavior
547
547
-[x] Understand context window limitations
548
548
-[x] Know how to manage conversation history (summarization or trimming)
549
-
-[x] Model supports Function Calling (verified via Lab 00)
549
+
-[x] Model supports Function Calling (verified via [Lab 00](https://github.com/kshvakov/ai-agent-course/tree/main/labs/lab00-capability-check))
Copy file name to clipboardExpand all lines: book/03-tools-and-function-calling/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -546,7 +546,7 @@ graph TB
546
546
- The model sees the full context (system + user + tool call + tool result)
547
547
- Generates final response: `"nginx is running normally, service ONLINE"`
548
548
549
-
**Note:** For Go implementation examples, see [Lab 02: Tools](../../labs/lab02-tools/README.md) and [Lab 04: Autonomy](../../labs/lab04-autonomy/README.md)
549
+
**Note:** For Go implementation examples, see [Lab 02: Tools](https://github.com/kshvakov/ai-agent-course/tree/main/labs/lab02-tools) and [Lab 04: Autonomy](https://github.com/kshvakov/ai-agent-course/tree/main/labs/lab04-autonomy)
550
550
551
551
### Key Points for Developers
552
552
@@ -570,7 +570,7 @@ graph TB
570
570
571
571
See how to write instructions and examples: **[Chapter 02: Prompting](../02-prompt-engineering/README.md)**
In this lab, we implement **simple RAG** (keyword search). In production, **vector search** (Semantic Search) is used, which searches by meaning, not by words.
Complete example with workflow and state management based on `labs/lab04-autonomy/main.go`:
294
+
Complete example with workflow and state management based on [`labs/lab04-autonomy/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab04-autonomy/main.go):
In `labs/lab05-human-interaction/main.go` confirmations already exist. Extend them for risk scoring:
360
+
In [`labs/lab05-human-interaction/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab05-human-interaction/main.go) confirmations already exist. Extend them for risk scoring:
Complete example with security based on `labs/lab05-human-interaction/main.go`:
378
+
Complete example with security based on [`labs/lab05-human-interaction/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab05-human-interaction/main.go):
Copy file name to clipboardExpand all lines: book/19-observability-and-tracing/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ func generateRunID() string {
94
94
95
95
### Step 3: Logging in Agent Loop
96
96
97
-
Insert logging into the agent loop (see `labs/lab04-autonomy/main.go`):
97
+
Insert logging into the agent loop (see [`labs/lab04-autonomy/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab04-autonomy/main.go)):
In tool execution functions (see `labs/lab02-tools/main.go`) add logging:
215
+
In tool execution functions (see [`labs/lab02-tools/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab02-tools/main.go)) add logging:
Complete example with observability based on `labs/lab04-autonomy/main.go`:
288
+
Complete example with observability based on [`labs/lab04-autonomy/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab04-autonomy/main.go):
Limit the number of ReAct loop iterations (see `labs/lab04-autonomy/main.go`):
67
+
Limit the number of ReAct loop iterations (see [`labs/lab04-autonomy/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab04-autonomy/main.go)):
Use cheaper models for simple tasks (see `labs/lab09-context-optimization/main.go`):
158
+
Use cheaper models for simple tasks (see [`labs/lab09-context-optimization/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab09-context-optimization/main.go)):
In `labs/lab04-autonomy/main.go` add budget check and iteration limit:
243
+
In [`labs/lab04-autonomy/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab04-autonomy/main.go) add budget check and iteration limit:
244
244
245
245
```go
246
246
constMaxIterations = 10
@@ -259,7 +259,7 @@ for i := 0; i < MaxIterations; i++ {
259
259
260
260
### Integration Point 2: Context Optimization
261
261
262
-
In `labs/lab09-context-optimization/main.go` token counting already exists. Add budget check:
262
+
In [`labs/lab09-context-optimization/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab09-context-optimization/main.go) token counting already exists. Add budget check:
Complete example with cost control based on `labs/lab04-autonomy/main.go`:
279
+
Complete example with cost control based on [`labs/lab04-autonomy/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab04-autonomy/main.go):
280
280
281
281
```go
282
282
package main
@@ -864,7 +864,7 @@ if err == context.DeadlineExceeded {
864
864
865
865
### Exercise 1: Implement Token Budget Check
866
866
867
-
Add budget check to `labs/lab04-autonomy/main.go`:
867
+
Add budget check to [`labs/lab04-autonomy/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab04-autonomy/main.go):
Copy file name to clipboardExpand all lines: book/24-data-and-privacy/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ func logWithRedaction(runID string, data map[string]any) {
84
84
85
85
### Integration Point: User Input
86
86
87
-
In `labs/lab05-human-interaction/main.go` sanitize input data:
87
+
In [`labs/lab05-human-interaction/main.go`](https://github.com/kshvakov/ai-agent-course/blob/main/labs/lab05-human-interaction/main.go) sanitize input data:
0 commit comments