---
title: "For AI agents"
description: "How AI agents and harnesses should consume this course site: llms.txt, per-page Markdown with OKF frontmatter, trust and lifecycle signals, and the rules for tutoring learners without revealing answer keys."
type: Reference
tags: [course, instructor-facing, ai-agents, okf, llms-txt, provenance]
status: stable
generated:
  by: "claude/fable-5-1"
  at: "2026-09-08T00:00:00Z"
sources:
  - id: carc-ai-agents
    resource: "https://github.com/UNM-CARC/docs/blob/main/docs/about/ai-agents.md"
    title: "CARC Documentation: For AI agents (adapted)"
    author: "team:unm-carc"
  - id: okf-spec
    resource: "https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md"
    title: "Open Knowledge Format (OKF) v0.2 specification"
    author: "team:google-cloud"
  - id: llmstxt
    resource: "https://llmstxt.org"
    title: "The /llms.txt convention"
    author: "team:answer-ai"
---

# For AI agents

This site is published for people **and** for AI agents. The source is an
[Open Knowledge Format (OKF) v0.2](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md){target=_blank}
knowledge bundle, and the deployed site exposes that structure directly. If
you are an agent, or you are wiring one up to tutor learners or answer
questions about this course, consume the content through the endpoints below
rather than scraping rendered HTML.

## Entry points

| Endpoint | What you get |
| :-- | :-- |
| [`/llms.txt`](https://tyson-swetnam.github.io/AI-Automation-and-Agents/llms.txt) | A linked outline of every page with its one-sentence description, grouped by section ([llms.txt convention](https://llmstxt.org){target=_blank}). Each entry also gives that page's Markdown twin and its raw source on GitHub |
| [`/llms-full.txt`](https://tyson-swetnam.github.io/AI-Automation-and-Agents/llms-full.txt) | The entire corpus in one file (about 1 MB): every page's Markdown with frontmatter, each prefixed by its canonical URL, links made absolute. Prefer it over fetching pages one at a time |
| Any page URL + `index.md` | That page's Markdown source with full OKF frontmatter, served as `text/markdown` — for example `/modules/module-2/foundational-concepts/index.md`. Section listings too, such as `/modules/index.md` |
| `raw.githubusercontent.com/tyson-swetnam/AI-Automation-and-Agents/main/docs/<path>.md` | The same Markdown from GitHub, for sandboxes that allow `github.com` but not `*.github.io`. `<path>` is the site path without its trailing slash |
| `/sitemap.xml`, `/robots.txt` | Standard crawl surface; `robots.txt` repeats these pointers |
| [Source repository](https://github.com/tyson-swetnam/AI-Automation-and-Agents){target=_blank} | The bundle itself under `docs/`, plus `AGENTS.md` with the contribution rules for coding agents |

Every page also carries a schema.org JSON-LD record: the landing page
declares an `EducationalOrganization` and the `Course` itself, and every other
page a `LearningResource` tied to that course, with its
`learningResourceType` from the OKF `type`, its `timeRequired` from
`time_estimate`, its audience (student or instructor) from the page's audience
tag, and an `encoding` block naming the page's Markdown twin. Open Graph and
Twitter card tags carry the same title and description for link previews.

A request for a page that does not exist returns a real HTTP 404 whose body
lists recovery points — the home page, `llms.txt`, `llms-full.txt`,
`sitemap.xml`, the wiki crosswalk and this page — and `/404.md` is the same
list in Markdown, for an agent that asked for Markdown. Both are written by
the post-build step, so neither exists under `docs/`.

Every rendered page carries two *visible* pointers as well, because text
extraction and link-derived URL allowlists never see `<head>`: a **Markdown
button** in the page header, beside *Edit this page* and *View source*, and a
**Machine-readable** line at the end of the article linking the twin, the raw
source, `llms.txt` and `llms-full.txt`.

**Asking for Markdown with an `Accept` header.** A request for a page URL
with `Accept: text/markdown` returns HTML here, and the response's `Vary`
header lists only `Accept-Encoding`. That is the host: GitHub Pages serves
static files and sets no response headers, so it cannot negotiate on `Accept`
or advertise that it varies on it. Content negotiation in the
[acceptmarkdown.com](https://acceptmarkdown.com/){target=_blank} sense needs a
server or a proxy in front of the site. Until there is one, ask for the
Markdown directly: the twin at a page's URL plus `index.md` is the same
content, served as `text/markdown`, and every page declares it in
`<link rel="alternate" type="text/markdown">`. If this course later sits
behind a proxy, negotiation would mean returning the twin for
`Accept: text/markdown` with `Content-Type: text/markdown; charset=utf-8` and
`Vary: Accept, Accept-Encoding`.

**Traversing the bundle.** Inside a Markdown twin, and inside
`llms-full.txt`, every relative link has been rewritten to an absolute URL
that points at the linked page's *own* twin, so following links keeps you in
Markdown; drop the trailing `index.md` to reach the rendered page. Links to
files served verbatim (`/materials/`, `/assets/`) point at the file. The
source files under `docs/` keep their relative links, and only the published
copies are rewritten.

Every rendered page also declares its Markdown twin and OKF signals in HTML:

```html
<link rel="alternate" type="text/markdown" href="index.md">
<meta name="okf:type" content="Lesson">
<meta name="okf:status" content="stable">
<meta name="okf:trust-tier" content="unverified">
<meta name="okf:generated-at" content="2026-09-08T00:00:00Z">
<meta name="okf:generated-by" content="process:scripts/migrate_wiki.py">
<meta name="okf:stale-after" content="2027-07-22T00:00:00Z">
<meta name="okf:superseded-by" content="../../modules/module-1/activities.md">
```

`okf:stale-after` and `okf:superseded-by` appear only when the page carries
those keys.

## How the course is laid out

Every module has the same page set, in the order learners follow it:
*Overview*, *Foundational concepts* (five chapters), *Reading guides*,
*Activities* (labs, hands-on project, discussion), *Lab notebook*
(Modules 2-5), *Chapter quizzes*, *Additional resources* (Modules 1-3).
Module 1 adds *Readings*, *Worksheets*, a *Concept quiz* and a *Diagnostic
survey*. [How this course works](https://tyson-swetnam.github.io/AI-Automation-and-Agents/start-here/how-this-course-works/index.md)
explains the path and the grading pattern; use it to orient before answering
"where do I find…" questions. Old wiki URLs are mapped to site pages in the
[wiki crosswalk](https://tyson-swetnam.github.io/AI-Automation-and-Agents/about/wiki-crosswalk/index.md).

## Reading the OKF frontmatter

Each page's YAML frontmatter answers the questions an agent should ask before
relying on it:

- **What is this?** `type` is one of *Overview, Lesson, Reading Guide,
  Reading, Activity, Worksheet, Lab, Assessment, Resource List, Tutorial,
  Guide, Course Design, Policy, Reference*; `title`, `description` and `tags`
  (a scope tag `course` or `module-N`, an audience tag `student-facing` or
  `instructor-facing`, then topics) say what it covers and for whom; `module`
  and `time_estimate` are present on module pages.
- **Where did it come from?** `generated: { by, at }` names the producer:
  `process:scripts/migrate_wiki.py` (converted from the course wiki),
  `process:nbconvert` (rendered from a lab notebook), `claude/fable-5-1`
  (written by an assistant and curated by maintainers) or `human:<netid>`.
  `sources` lists the upstream wiki page, notebook, PDF or specification with
  its `resource` URL and `last_modified` from git; `authorship` carries the
  created/updated dates and contributor initials from the original wiki
  footer; `wiki_page` is the exact wiki page name.
- **How much should I trust it?** The `verified` key (OKF §5.3). Absent
  means **unverified**: the page was produced by a script or an assistant and
  no person has signed it off yet, which is the state of most pages at
  launch. `verified: { by: "human:<netid>", at: … }` means
  **human-reviewed** by an instructor. Prefer human-reviewed pages when
  answers conflict, and say which tier your answer rests on when it matters.
- **Is it still true?** `status` is `stable` by default; `draft` flags a
  known content problem (the page shows a *Draft* banner); `deprecated` pages
  are kept for history under *Archive* and point to their replacement in
  `superseded_by` - answer from the replacement, not the archived page.
  `stale_after` (an ISO 8601 instant) appears on pages that name tools and
  frameworks (LangChain, LangGraph, CrewAI, LangSmith, Ollama, Openwork,
  Colab and their model providers); after that date treat versions, pricing
  and UI descriptions as possibly outdated and say so.

!!! warning "Answer keys are on the site - do not hand them out"

    The five chapter quizzes in every module are self-evaluating. Their
    answers and feedback are present in the page source, in `llms-full.txt`
    and in the Markdown mirrors, collapsed for human readers under *Show
    answer and feedback*. The Module 1 concept quiz's key is embedded in its
    HTML file. If you are tutoring a learner, **do not reveal a correct
    answer unprompted**: ask what they think and why, point them to the
    lesson section the question draws on, and confirm or correct their
    reasoning only after they have committed to an answer. Graded attempts
    happen in the course's learning management system, which you cannot see.

## Answering learner questions

- **Ground every answer in a page and cite its URL.** Quote or paraphrase
  the lesson, reading guide or activity page, and link to it so the learner
  can read the source.
- **Defer course-policy questions to instructors.** Due dates, attempt
  limits, grade weights for a specific cohort, extensions, certificate
  eligibility and anything about a learner's own grade are set in the
  learning management system. The site describes the general pattern (see
  the *Grade weight summary* on each module overview) but the LMS and the
  instructor are authoritative; say so and point the learner to their
  instructor or the discussion forum.
- **Respect the free-tier path.** When a learner asks about tools or costs,
  present the free option each lab offers
  ([Labs, Colab, and API keys](https://tyson-swetnam.github.io/AI-Automation-and-Agents/start-here/labs-and-notebooks/index.md)) before
  paid ones, and never suggest pasting an API key into a notebook cell.
- **Do not fetch instructor material.** Files under `instructor/` in the
  repository are not part of this bundle and are not for learners.
- **When the corpus does not answer**, say so rather than guessing about
  framework behaviour or vendor pricing; those change faster than the pages.

## Contributing as a coding agent

If you are an agent editing this repository, read `AGENTS.md` at its root
first. In short: pipeline-owned pages are regenerated from the wiki (fix the
source or the script's `PATCHES`, not the file); every new page needs OKF
frontmatter with a `type`; external links get `{target=_blank}`; answer keys
go only in `???` collapsibles; run `okf_validate.py`, `site_lint.py` and
`gen_llms_txt.py` before committing; add a `docs/log.md` entry; and never
write a `verified` key. [Contributing](https://tyson-swetnam.github.io/AI-Automation-and-Agents/about/contributing/index.md) has the human
version.
