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
Runnable code examples that accompany articles on [agentpatterns.tech](https://www.agentpatterns.tech).
4
+
5
+
This repository is a practical companion to the main project: each article can include a small, focused example you can run locally and adapt for your own use cases.
6
+
7
+
## What lives here
8
+
9
+
-`examples/` contains article-aligned examples.
10
+
- Each example is grouped by topic, then by language/runtime.
11
+
- Examples are intentionally minimal: clear logic, fast setup, easy to remix.
12
+
13
+
## Current structure
14
+
15
+
```text
16
+
examples/
17
+
write-your-first-agent/
18
+
python/
19
+
```
20
+
21
+
## Quick start (Python example)
22
+
23
+
```bash
24
+
cd examples/write-your-first-agent/python
25
+
python3 -m venv .venv
26
+
source .venv/bin/activate
27
+
pip install -r requirements.txt
28
+
export OPENAI_API_KEY="sk-..."
29
+
python main.py
30
+
```
31
+
32
+
## Relation to agentpatterns.tech
33
+
34
+
- Articles explain concepts and patterns.
35
+
- This repo provides runnable implementations for those materials.
36
+
- As new articles are published, matching examples are added here.
0 commit comments