Agent Wranglers

AIF-81Recommended

Write a short card for every AI feature

Keep a card next to each AI feature's code. It names the model versions, the data read, the intended use and uses out of scope. It also holds the latest eval scores, known limits and an owner.

How to do it

The success spec in define success before you build says what the feature must do. The card says what it does now. Support, legal and the next developer read it when a user complains or a provider changes a model. Fill the scores from the latest eval report in CI, not by hand. List each model with its retirement date from track the retirement date of every model you call. Models you train yourself get the full model card.

Examples

TypeScript example

const CARD_SECTIONS = ['Models', 'Data read', 'Intended use', 'Out of scope', 'Eval scores', 'Known limits', 'Owner'];

export function missingCardSections(cardMarkdown: string): string[] {
  return CARD_SECTIONS.filter(section => !cardMarkdown.includes(`## ${section}`));
}

Python example

CARD_SECTIONS = ["Models", "Data read", "Intended use", "Out of scope", "Eval scores", "Known limits", "Owner"]

def missing_card_sections(card_markdown: str) -> list[str]:
    return [section for section in CARD_SECTIONS if f"## {section}" not in card_markdown]

How to check

A CI script finds a card for every feature in the gateway's prompt list. It fails when a card lacks any of the seven sections, or when its scores differ from the latest eval report.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-features/deciding-to-use-a-model/ai-feature-card">Agent Wranglers AI features playbook</a>. In code you write, add a comment next to it with the same link.