-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
84 lines (75 loc) · 2.46 KB
/
Copy pathdocker-compose.yml
File metadata and controls
84 lines (75 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Shared configuration using YAML anchors
x-common-env: &common-env
BAND_REST_URL: ${BAND_REST_URL}
BAND_WS_URL: ${BAND_WS_URL}
OPENAI_API_KEY: ${OPENAI_API_KEY}
OPENAI_MODEL: ${OPENAI_MODEL:-gpt-4o}
# Note: Agent-specific API keys are in agent_config.yaml (mounted as volume)
x-common-build: &common-build
context: .
services:
# LangGraph Examples - Basic Integration (01-03)
langgraph-01-simple:
build:
<<: *common-build
target: langgraph
environment:
<<: *common-env
volumes:
- ./agent_config.yaml:/app/agent_config.yaml
command: ["uv", "run", "--extra", "langgraph", "python", "examples/langgraph/01_simple_agent.py"]
langgraph-02-custom-tools:
build:
<<: *common-build
target: langgraph
environment:
<<: *common-env
volumes:
- ./agent_config.yaml:/app/agent_config.yaml
command: ["uv", "run", "--extra", "langgraph", "python", "examples/langgraph/02_custom_tools.py"]
langgraph-03-custom-personality:
build:
<<: *common-build
target: langgraph
environment:
<<: *common-env
volumes:
- ./agent_config.yaml:/app/agent_config.yaml
command: ["uv", "run", "--extra", "langgraph", "python", "examples/langgraph/03_custom_personality.py"]
# LangGraph Examples - Composition (04-06)
langgraph-04-calculator:
build:
<<: *common-build
target: langgraph
environment:
<<: *common-env
volumes:
- ./agent_config.yaml:/app/agent_config.yaml
command: ["uv", "run", "--extra", "langgraph", "python", "examples/langgraph/04_calculator_as_tool.py"]
langgraph-05-rag:
build:
<<: *common-build
target: langgraph
environment:
<<: *common-env
volumes:
- ./agent_config.yaml:/app/agent_config.yaml
command: ["uv", "run", "--extra", "langgraph", "python", "examples/langgraph/05_rag_as_tool.py"]
langgraph-06-sql-agent:
build:
<<: *common-build
target: langgraph
environment:
<<: *common-env
volumes:
- ./agent_config.yaml:/app/agent_config.yaml
command: ["uv", "run", "--extra", "langgraph", "python", "examples/langgraph/06_delegate_to_sql_agent.py"]
langgraph-09-research-ops:
build:
<<: *common-build
target: langgraph
environment:
<<: *common-env
volumes:
- ./agent_config.yaml:/app/agent_config.yaml
command: ["uv", "run", "--extra", "langgraph", "python", "examples/langgraph/09_research_ops_orchestrator.py"]