Skip to content

Commit 80f9fa1

Browse files
authored
Merge pull request #19 from ipbabble/docs/templates-update-for-deep-agent
docs: Deep Agent stack documentation update (August 2026)
2 parents 8b87d5e + bf1a0a9 commit 80f9fa1

36 files changed

Lines changed: 2057 additions & 751 deletions

‎CHANGELOG.md‎

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ All notable changes to the AI Templates documentation site will be documented in
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [1.1.0] - 2026-08-12
8+
9+
### Added
10+
11+
**Deep Agent stack documentation (August 2026)**
12+
13+
- Homepage "What's New" block and updated template cards for Deep Agent merge
14+
- **News** section with layouts and three launch posts (Deep Agent merge, config-as-code, template-ui BFF update)
15+
- **Reference** section: stack architecture, config-as-code, enterprise features matrix, migration guide
16+
- Agent template: rewritten docs + new [Architecture](/templates/agent/architecture/) page
17+
- UI template: rewritten docs + new [Configuration](/templates/ui/configuration/) page (BFF explained)
18+
- MCP template quick-start: `make install` / `make local` workflow and port **5001**
19+
- External resource links (LangGraph, Deep Agents, Agent Skills, MCP, Langfuse) on reference hub
20+
21+
### Changed
22+
23+
- **Agent template docs** — Deep Agents + Aegra, `config/agent/`, LangGraph API on port 5002, Postgres/Redis prerequisites
24+
- **UI template docs** — Fastify BFF, `config/ui/settings.yaml`, `AGENT_HOST`, unified `npm run dev` workflow
25+
- **Guides** — [Agentic AI Workshop](/guides/agentic-ai-workshop/) updated for Deep Agent stack (MCP `make install`, `mcp.json`, LangGraph API, BFF)
26+
- **Reference tables** — aligned with template-mcp-server (OAuth server role, `deployment/openshift/`, MCP Postgres port note)
27+
- Figure caption styling for architecture diagrams (`.figure-caption` in custom CSS)
28+
29+
### Documentation
30+
31+
- Cross-links between templates, reference, news, and workshop guide
32+
- Navigation: News menu item (weight 45)
33+
34+
---
35+
736
## [1.0.0] - 2025-11-05
837

938
### Added
@@ -56,11 +85,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5685

5786
Track upcoming changes and enhancements here as the project evolves.
5887

59-
### Planned for v1.1
60-
- Expand Guides section with tutorials
61-
- Add Reference section with API docs
88+
### Planned for v1.2
6289
- Complete Contribute section placeholders
6390
- Additional tool integrations
91+
- **MCP template quick-start** — `make install` / `make local` on port 5001
92+
93+
### Completed in v1.1
94+
- Guides section workshop (agentic-ai-workshop)
95+
- Reference section (architecture, config, enterprise, migration)
96+
- News section
6497

6598
### Under Consideration
6699

‎CONTRIBUTING.md‎

Lines changed: 47 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,44 @@ cd website
7373
- Go to https://github.com/redhat-data-and-ai/website
7474
- Click "New Pull Request"
7575
- Describe your changes
76+
- Confirm the **Super linter** GitHub Actions check passes (required)
7677

77-
## Documentation Standards
78+
## Before Submitting a Pull Request
79+
80+
This site does **not** use [pre-commit](https://pre-commit.com/) hooks. Validation runs in CI and via Makefile targets.
81+
82+
### Required checks
83+
84+
```bash
85+
# Production Hugo build — must complete without errors
86+
hugo --gc --minify
87+
```
88+
89+
Confirm the **Super linter** workflow passes on your pull request. That job runs on every PR and is the lint gate for this repository.
90+
91+
### Optional local checks
92+
93+
```bash
94+
# Super Linter (same as CI)
95+
make super-linter
96+
97+
# Link checker (htmltest — also runs on a nightly schedule)
98+
make test
99+
100+
# Spell check
101+
make spellcheck
102+
```
103+
104+
**Apple Silicon Macs:** `make super-linter` often fails locally with `no image found ... architecture "arm64"` because the slim Super Linter image is x86-only. Use the PR's GitHub Actions result instead.
105+
106+
### Checklist
107+
108+
- [ ] `./serve.sh` — preview looks correct in the browser
109+
- [ ] `hugo --gc --minify` — builds without errors
110+
- [ ] Super linter CI check passes on the PR
111+
- [ ] Commands and paths in docs match the current template repositories
112+
- [ ] Code examples tested where applicable
113+
- [ ] No emojis in headings (see [Documentation Standards](#documentation-standards))
78114

79115
### Writing Style
80116

@@ -139,11 +175,12 @@ content/
139175

140176
### Before Submitting
141177

142-
- [ ] Test locally with `./serve.sh`
143-
- [ ] No build errors (check Hugo output)
144-
- [ ] All links work
145-
- [ ] Code examples are tested
146-
- [ ] Spelling checked
178+
- [ ] Preview with `./serve.sh`
179+
- [ ] `hugo --gc --minify` completes without errors
180+
- [ ] Super linter CI check passes (use GitHub Actions if `make super-linter` fails on Apple Silicon)
181+
- [ ] Commands and links verified against current template repos
182+
- [ ] Code examples tested
183+
- [ ] Spelling checked (`make spellcheck` optional)
147184
- [ ] Follows style guide
148185

149186
### PR Description Template
@@ -159,9 +196,10 @@ Brief description of changes
159196
- [ ] Documentation structure change
160197

161198
## Checklist
162-
- [ ] Tested locally
163-
- [ ] No build errors
164-
- [ ] Links verified
199+
- [ ] Previewed with `./serve.sh`
200+
- [ ] `hugo --gc --minify` succeeds
201+
- [ ] Super linter CI check passes
202+
- [ ] Links and commands verified
165203
- [ ] Follows style guide
166204
```
167205

‎README.md‎

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,35 @@ brew install hugo asciidoctor
2121
### Building
2222

2323
```bash
24-
# Build static site
25-
hugo --cleanDestinationDir
24+
# Production build (run before opening a PR)
25+
hugo --gc --minify
2626

2727
# Output in public/ directory
2828
```
2929

30+
### Before Opening a Pull Request
31+
32+
This repository does **not** use pre-commit hooks (unlike the template repos). CI runs **[Super Linter](https://github.com/super-linter/super-linter)** on every push and pull request.
33+
34+
Run these checks locally before you push:
35+
36+
```bash
37+
# 1. Production Hugo build (required — fast, works on all platforms)
38+
hugo --gc --minify
39+
40+
# 2. Super Linter (matches CI — see note for Apple Silicon below)
41+
make super-linter
42+
43+
# 3. Optional: link checker (nightly in CI, not PR-gated)
44+
make test
45+
```
46+
47+
**Apple Silicon (M-series Mac):** `make super-linter` may fail locally because the slim Super Linter container image has no `linux/arm64` build. In that case, rely on the **Super linter** check on your pull request in GitHub Actions.
48+
49+
**Development preview:** `./serve.sh` is for browsing changes at http://localhost:1313/ — it does not replace the production build step above.
50+
51+
See [CONTRIBUTING.md](CONTRIBUTING.md#before-submitting-a-pull-request) for the full checklist.
52+
3053
## Repository Structure
3154

3255
```

‎config.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ menus:
5656
- name: Reference
5757
url: /reference/
5858
weight: 40
59+
- name: News
60+
url: /news/
61+
weight: 45
5962
- name: GitHub
6063
url: https://github.com/redhat-data-and-ai
6164
weight: 50

‎content/_index.md‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ title: "AI Templates"
66

77
Go beyond demos and proofs of concept. AI Templates deliver battle-tested, production-ready components for building AI applications on Kubernetes, following best practices.
88

9+
{{< info title="What's New" >}}
10+
**Deep Agent update (August 2026):** The Agent and UI templates have moved to [LangGraph Deep Agents](https://github.com/langchain-ai/deepagents). **template-agent** is now a config-as-code Deep Agent runtime (orchestrator, subagents, skills, MCP integration). **template-ui** has been updated to work with the new Deep Agent streaming API, including HITL interrupts, task progress, and markdown-first rendering. [Read the announcement →](/news/)
11+
{{< /info >}}
12+
913
## What are AI Templates?
1014

1115
AI Templates are reusable, modular components that accelerate your AI development journey. Each template is designed to work independently or as part of a complete AI application stack:
1216

1317
- **[MCP Server Template](/templates/mcp-server/)** - Build Model Context Protocol servers that extend AI agent capabilities
14-
- **[Agent Template](/templates/agent/)** - Create LangGraph-based AI agents with enterprise security and observability
15-
- **[UI Template](/templates/ui/)** - Deploy modern chat interfaces that work seamlessly with our agent template
18+
- **[Agent Template](/templates/agent/)** - Deep Agent orchestration with config-as-code, subagents, skills, and enterprise observability
19+
- **[UI Template](/templates/ui/)** - React chat UI for the Deep Agent streaming API
1620

1721
## Why Use AI Templates?
1822

@@ -38,7 +42,7 @@ Deploy anywhere - OpenShift, EKS, GKE, or any Kubernetes cluster.
3842

3943
{{< mermaid >}}
4044
graph TD
41-
A[User Interface<br/>template-ui] --> B[AI Agent Layer<br/>template-agent]
45+
A[User Interface<br/>template-ui BFF] --> B[AI Deep Agent Layer<br/>template-agent]
4246
B --> C[MCP Server<br/>template-mcp-server]
4347
C --> D[External Systems<br/>Databases, APIs, Services]
4448

‎content/contribute/contributing-docs.md‎

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ content/
2424
│ ├── agent/ # Agent guides
2525
│ └── ui/ # UI guides
2626
├── tools/ # Tool setup guides
27-
├── guides/ # Tutorials (placeholder)
28-
└── reference/ # Technical reference (placeholder)
27+
├── guides/ # Tutorials and workshops
28+
└── reference/ # Stack architecture, config, enterprise features
2929
```
3030

3131
## Writing Guidelines
@@ -68,17 +68,26 @@ graph TD
6868

6969
## Testing Changes
7070

71-
Before submitting:
71+
This site does **not** use pre-commit hooks. Run these before opening a pull request:
7272

7373
```bash
74-
# Run local server
74+
# Preview in the browser
7575
./serve.sh
7676

77-
# Check for broken links
78-
# Verify formatting
79-
# Test on multiple screen sizes
77+
# Production build (required)
78+
hugo --gc --minify
79+
80+
# Super Linter — same as CI (may not run on Apple Silicon; check the PR workflow)
81+
make super-linter
82+
83+
# Optional: broken-link scan (nightly in CI)
84+
make test
8085
```
8186

87+
On **M-series Macs**, `make super-linter` can fail because the container image has no ARM build. Confirm the **Super linter** check passes on your pull request in GitHub Actions instead.
88+
89+
Also verify formatting in the browser and test at multiple screen sizes.
90+
8291
## Submitting Changes
8392

8493
1. **Create a branch**: `git checkout -b fix/improve-docs`

‎content/guides/_index.md‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Comprehensive guides for building production-ready AI applications.
77

88
## Workshops
99

10-
- [Zero to Production: Agentic AI Workshop](/guides/agentic-ai-workshop/) - Build a complete AI application using all three templates
10+
- [Zero to Production: Agentic AI Workshop](/guides/agentic-ai-workshop/) — Run the full MCP → Deep Agent → UI stack locally (updated August 2026)
1111

1212
## Quick Starts
1313

@@ -17,13 +17,20 @@ Get started quickly with individual templates:
1717
- [Agent Template Quick Start](/templates/agent/quick-start/)
1818
- [UI Template Quick Start](/templates/ui/quick-start/)
1919

20+
## Reference
21+
22+
Stack-wide architecture, configuration, and migration:
23+
24+
- [Stack Architecture](/reference/architecture/)
25+
- [Config-as-code](/reference/config-as-code/)
26+
- [Enterprise Features](/reference/enterprise-features/)
27+
- [Migration from pre-Deep Agent](/reference/migration-deep-agent/)
28+
2029
## Planned Guides
2130

2231
We're working on additional guides including:
2332

24-
- End-to-end tutorials
25-
- Architecture patterns
26-
- Integration guides
33+
- Integration patterns beyond the workshop
2734
- Best practices across templates
2835

2936
For questions, visit [GitHub Discussions](https://github.com/redhat-data-and-ai/website/discussions).

0 commit comments

Comments
 (0)