Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
231c5c7
universal: ChapterMap (18-chapter visual sitemap with current highlight)
sunilp May 13, 2026
334a893
universal: ProgressReader (scroll-driven progress bar, CSS-only)
sunilp May 13, 2026
76e36a8
universal: NextPrev (chapter pagination footer)
sunilp May 13, 2026
9156250
layout: ChapterLayout (Reader + sticky ChapterMap + NextPrev + cross-…
sunilp May 13, 2026
35eddab
route: dynamic /book/[slug] using ChapterLayout
sunilp May 13, 2026
eb30cd0
content: port 00a-how-llms-work to MDX (Foundations)
sunilp May 13, 2026
33cdf2b
content: port 00b-00e Foundations to MDX
sunilp May 13, 2026
187d4dd
content: port 01-what-agentic-means to MDX (Part I opener)
sunilp May 13, 2026
a45ece6
content: port chapters 02-13 as stubs (URL stability, content drafts)
sunilp May 13, 2026
5853d7a
layout: PatternLayout (whenToUse + whenNotToUse + anti-pattern + used…
sunilp May 13, 2026
9ebaf03
route: /patterns/[slug] + /patterns/ magazine index
sunilp May 13, 2026
ab2766a
content: author 12 patterns (workflow-first, hub-and-spoke, verifier-…
sunilp May 13, 2026
92cde6f
page: /start/ audience routing (new / building / running tracks)
sunilp May 13, 2026
5278aab
page: /book/ TOC with 18 chapters organized by Part
sunilp May 13, 2026
e9e5d37
build: integrate @astrojs/sitemap for SEO
sunilp May 13, 2026
8cce715
docs: README updated to Astro 5 build instructions
sunilp May 13, 2026
451704e
ci: switch to Astro deploy on push (delete mkdocs gh-deploy)
sunilp May 13, 2026
0dfc3c8
ch03: hyphenate decision-making for grammar
sunilp May 13, 2026
e6f8fc7
ch01: fix chapter-number references in roadmap (Ch 4β†’6 evaluate, Ch 5…
sunilp May 13, 2026
24946af
ch12: fix companion code path src/ch12/ β†’ src/ch12_memory/
sunilp May 13, 2026
6cfc453
pattern-layout: lookup reverse links by entry.id (matches mapper conv…
sunilp May 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/astro-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Astro Build & Deploy (manual in W1)
name: Astro Build & Deploy

on:
workflow_dispatch: # ONLY manual trigger during W1-W3.
# W4: add `push: branches: [main, master]` to auto-deploy.
push:
branches: [master, main]
workflow_dispatch:

permissions:
contents: read
Expand Down
53 changes: 0 additions & 53 deletions .github/workflows/deploy.yml

This file was deleted.

55 changes: 46 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,57 @@ Thirteen chapters across four parts, covering the full lifecycle of building pro

**[Read the free sample chapter](docs/book/01-what-agentic-means.md)** or **[get the full book on Amazon](https://www.amazon.com/dp/B0GVG6848F)**.

## Getting Started
## Local Development

Requires Node 22+ and pnpm.

```bash
pnpm install
pnpm dev # http://localhost:4321/agentic-ai/
pnpm build # produces dist/
pnpm preview # serves dist/ at the same URL
pnpm test # 11 unit tests (cross-links + reading-time)
pnpm astro check # type check
```

## Stack

- **Astro 5** β€” static site generator
- **MDX content** β€” Content Collections + Zod schemas
- **Svelte 5** β€” interactive islands (TraceReplay, TraceViewer, EvalRubric, ArchitectureToggle, D3Chart, CommandPalette)
- **Pagefind** β€” static search
- **Houdini paint worklet** β€” brand ink stamp (with SVG fallback)
- **View Transitions API** β€” page navigation
- **GitHub Pages deploy** β€” via `.github/workflows/astro-deploy.yml`

## Content Types

Content lives under `src/content/` as MDX with Zod-validated frontmatter:

- **chapters/** β€” 5 Foundations + 13 chapters
- **fieldNotes/** β€” twice-weekly observations (Thursdays + Sundays)
- **recipes/** β€” buildable-in-an-afternoon walkthroughs (Wednesdays)
- **projects/** β€” case-study teardowns of 7 reference systems
- **evidence/** β€” measured eval data backing the homepage stats
- **labs/** β€” empirical Lab Reports (every 2-3 weeks)
- **patterns/** β€” cross-cutting agent patterns

## Code Examples

Working Python implementations for every chapter also live in this repo:

```bash
# Install
make install
# Run Document Intelligence Agent (Ch02-03)
python -m project.doc_intelligence_agent

# Run tests
make test
# Run Incident Runbook Agent (Ch04-05)
python -m project.incident_runbook_agent

# Run the Document Intelligence Agent
make run
# Run Memory-Augmented Agent (Ch12)
python -m project.memory_agent

# Run the eval harness
make eval
# Run the evaluation harness (Ch06)
python -m src.ch06.eval_suite
```

Copy `.env.example` to `.env` and add your API key before running.
Expand Down
2 changes: 2 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import svelte from '@astrojs/svelte';
import sitemap from '@astrojs/sitemap';

// https://astro.build/config
export default defineConfig({
Expand All @@ -14,6 +15,7 @@ export default defineConfig({
integrations: [
mdx(),
svelte(),
sitemap(),
],
vite: {
build: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"dependencies": {
"@astrojs/mdx": "^4.3.0",
"@astrojs/sitemap": "^3.7.2",
"@astrojs/svelte": "^7.2.0",
"astro": "^5.7.0",
"d3": "^7.9.0",
Expand Down
58 changes: 58 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading