Engineering · State of Agrikit · October 2026

Agrikit: from component library to delivery platform

Where the library stands, what's next, how the MCP and AI toolkit fits in, two real consumers and how we hand off work.

Latest
v21.15.3
Components
72
Releases
325
MCP tools
10

Presented by Agrikit Engineering

Agenda · 30 minutes

Six parts, demos in the middle

  1. State of Agrikit 5 min

    Numbers, what shipped, quality gates

    GitHub release page for v21.15.3 with its overview and change table
  2. Upcoming 4 min

    Dark mode v2, remote MCP

    CbAppShell page in dark mode
  3. MCP & AI toolkit 6 min

    Server, installer, agents, skills

    tools/list · consumer workspace
    get_component
    list_components
    get_theme_tokens
    validate_accessibility
    scaffold_app_component
  4. Live demos 8 min

    cobank-app-starter, shd-design

    CbPage template with breadcrumbs, title, actions and cards
  5. Developer handoff 4 min

    Current, ideal, next steps

    today   Figma · prototype · component-first
    ideal   context → Cb names → spec
            ⛔ review → story
    next    3 asks
  6. Q&A 2 min

    Resources and asks

    Next steps: Best Practices, Product Playbook and How to Contribute
01 · State of Agrikit

One React library, six entry points, one theme

CoBank Design System Get Started page with Pattern Library, Development Guide and Product Playbook
design.cobank.net: guidelines, Figma libraries, the development guide and the product playbook
Entry points: optional peers stay out of your bundleimport { CbButton }
  from '@cobank-acb/shd-agrikit-ui-lib';
import { CbDataGridPremium } from '…/premium';
import { CbDateRangePickerPro } from '…/pro';
import { CbPrintToPDF } from '…/pdf';
import { CbNotes } from '…/notes';
import { CbOtpInput } from '…/mfa';

Patterns

Common workflows: approvals, notes, MFA, exports

Templates

CbAppShell, CbPage: product chrome and page layout

Components

Buttons, inputs, grids, cards, feedback, entitlements

Foundations

createCoBankTheme(): color, type, spacing, breakpoints as W3C tokens

01 · By the numbers

Broader, better covered, shipping weekly

Components72▲ from 61 in June
Storybook stories476▲ from 351 in June
Visual + axe checked274▲ from 215 in June
Releases, last 90 days31325 tags since v1.0.0
Stories · docs · specs67 · 67 · 66components with each
Contributors in 202625218 commits · 47 features

Components by category

  • Inputs23
  • Data display19
  • Surfaces7
  • Feedback7
  • Entitlements5
  • Navigation5
  • Templates5
CoBank Design System theme: Mui Dark
01 · Shipped since v21 (June 16)

New components and the fixes app teams asked for

  1. CbActionCardClickable card
  2. CbTimelineGrouped activity, large data
  3. CbDateRangePickerProNew /pro entry point
  4. MFA componentsMoved in as /mfa
  5. CbTabs vertical+ CbDatePicker keyboard
  6. CbTile · CbFileUploadNew inputs and surfaces
  7. CbAccountMenu · CbToast · CbAlertSign-out, timeout, banner CTA
  8. CbToolbar+ weekly a11y-fix automation
CbTimeline grouped activity view with search, sort, expand and export
CbTimeline · grouped activity, search, export
CbToolbar at 1500, 900 and 420 pixel container widths
CbToolbar · adapts to its container, not the viewport
CbFileUpload dropzone with uploaded, uploading and failed files
CbFileUpload · progress and error states
01 · Quality

Quality is gated by tooling, not by memory

  1. Pre-commitLint, spec sync, staged drift detection
  2. Pre-pushSpec, story, MDX and test companions
  3. PR CIBuild, Playwright visual + axe
  4. ChromaticVisual diffs approved before merge
  5. Merge to mainsemantic-release → JFrog, MCP published alongside

Accessibility

APCA 60 Lc body, 45 Lc UI text; visible focus; reduced motion

Drift detection

Code, spec, story, docs and exports kept in step

Analytics

Stable data-analytics-id for Pendo

Committed Playwright baseline for the CbAppShell portal story at 1920 by 1080
One of 296 committed Playwright baselines
Accessibility Audit automation: weekly schedule and PR-comment trigger, 14 runs
Weekly accessibility audit agent · 14 runs
Performance Audit automation: weekly schedule and PR-comment trigger, 12 runs
Weekly performance audit agent · 12 runs
02 · Upcoming · Dark mode v2 · issue #259

One theme, light / dark / system, no remount

Consumer APIconst theme =
  createCoBankColorSchemesTheme('system');

<ThemeProvider theme={theme}>…</ThemeProvider>

// anywhere below
const { mode, setMode } = useColorScheme();
Done

Dark palette, contrast harness, persistence and system mode, high contrast, override parity, components on CSS vars, Storybook on the new theme

Remaining

Dark visual regression, switch-performance evidence, light token groups, focus on every button, consumer docs, final gates

CbAppShell in light mode
Light
The same CbAppShell page in dark mode
Dark · same page, one theme
02 · Upcoming · Remote MCP

design.cobank.net/mcp: zero install

  1. Your AI clientVS Code, Cursor, Windsurf, Claude, custom agents
  2. nginx · design.cobank.netStorybook; /mcp proxied to the sidecar
  3. MCP sidecarStreamable HTTP, same pod, same manifest as Storybook
Today · .vscode/mcp.json{
  "agrikit": {
    "type": "stdio",
    "command": "npx",
    "args": ["-y",
      "@cobank-acb/agrikit-mcp"]
  }
}
needs Node + JFrog auth
Planned · illustrative{
  "agrikit": {
    "type": "http",
    "url":
      "https://design.cobank.net/mcp"
  }
}

needs VPN only
Planned · not started
  • Read tools fully remote
  • Scaffolding stays local; falls back to the scaffold_workflow prompt
  • Ships through the existing Storybook pipeline

Target not yet scheduled

03 · MCP & AI toolkit · why

Your assistant knows MUI. It doesn't know CoBank.

Without MCP · "Create a customer card"import { Card, Button, IconButton }
  from '@mui/material';

<Card sx={{ p: '16px', bgcolor: '#fff' }}>
  <img src="/farm.png" />
  <IconButton onClick={…}><MoreVert /></IconButton>
  <Button variant="contained">View</Button>
</Card>
Real output · validate_accessibility on the code aboveIssues found: 5 (2 errors, 3 info)

✕ Line 4  Images must have alt text
          img-alt · WCAG 1.1.1
✕ Line 5  IconButton must have aria-label
          icon-button-label · WCAG 4.1.2
i         Consider Cb-prefixed components
With Agrikit MCP · same prompt// get_component('CbActionCard')
import { CbActionCard }
  from '@cobank-acb/shd-agrikit-ui-lib';

<CbActionCard
  title="Greenfield Growers, Inc."
  subtitle="123456789"
  onClick={openAccount}
  analyticsId="customer-card"
/>
Rendered CbActionCard showing Greenfield Growers, Inc. with an actions menu
Rendered: CbActionCard. Themed, keyboard-accessible, Pendo-tagged.
03 · MCP & AI toolkit · what it is

Three layers, one install

Facts: the MCP server

Live inventory, props, stories, tokens and a11y checks, read from the library itself.

Conventions: instructions + rules

Cb-first selection, MUI path imports, accessibility, ethical UX. Applied by file type.

Workflows: agents + skills

Consumer agent and PR reviewer, plus 31 skills: a11y audit, scaffold, spec-driven development.

Real result · what lands in a consumer repo (from the packed v21 tarball)loan-portal/
├─ .vscode/mcp.json            MCP server via npx
├─ .agrikit-context.json       vite · TS · MUI 7 · Agrikit 21
├─ .github/
│  ├─ agents/        agrikit-consumer · pr-reviewer
│  └─ instructions/  agrikit · consumer-integration
│                    mui · development-standards
│                    web-interface-guidelines
│                    ethical-ux-guardrails · storybook
└─ .agents/
   ├─ rules/         9
   ├─ skills/        31 + workflows/
   └─ references/    a11y · perf · security · testing

Works across tools

VS Code + Copilot natively; adapters for Cursor, Windsurf, JetBrains and Cline.

Workspace-aware

App repos get scaffold_app_component; the library gets contributor scaffold and drift tools.

03 · MCP & AI toolkit · server

10 tools, 3 prompts, workspace-aware

Everyone

list_components get_component get_theme_tokens validate_accessibility

Consumer apps

scaffold_app_component

Library contributors

scaffold_component + 4 drift tools

Prompts

component_spec migration_guide scaffold_workflow

Real output · list_components { category: "templates" }# CoBank Design System Components
Templates · 5 · 5 stories · 5 docs · 5 spec.md

| Component     | Entry | Base MUI      |
|---------------|-------|---------------|
| CbAppFooter   | main  | Link          |
| CbAppHeader   | main  | AppBar        |
| CbAppShell    | main  | useMediaQuery |
| CbPage        | main  | Box           |
| CbPageHeader  | main  | Box           |
Real output · get_component { componentName: "CbActionCard" }# CbActionCard — Component Contract
Base     Card (@mui/material/Card)
Spec ✓  MDX ✓  Stories 6

| Prop        | Type                     |
|-------------|--------------------------|
| title       | string                   |
| subtitle    | string                   |
| onClick     | CbActionCardClickHandler |
| onItemClick | @deprecated              |
| analyticsId | string                   |
03 · MCP & AI toolkit · setup

Two commands, then reload VS Code

Real output · npx install-agrikit-ai$ npm install @cobank-acb/shd-agrikit-ui-lib
$ npx install-agrikit-ai

🔍 Analyzing project...
   ├─ Framework:   vite
   ├─ TypeScript:  Yes
   ├─ MUI:         Yes (^7.3.0)
   └─ Agrikit:     ^21.15.3

✅ Installed instructions
✅ Installed docs · rules · skills
✅ Installed references · agents
✅ Installed .agrikit-context.json
✅ Created .vscode/mcp.json

🎉 Installation Complete!
.vscode/mcp.json (generated){
  "servers": {
    "agrikit": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y",
        "@cobank-acb/agrikit-mcp"],
      "env": { AGRIKIT_LIB_ROOT, … }
    }
  }
}
  • Contributor-only files filtered out
  • Asks which IDEs you use and writes adapters
  • Re-run after upgrading Agrikit
  • Needs JFrog auth in ~/.npmrc
03 · MCP & AI toolkit · workflow

The consumer agent works spec-first, with a human gate

  1. Discoverlist_components, get_component
  2. DecideDirect use, wrapper or custom
  3. SpecReads PRODUCT_CONTEXT.md
  4. ⛔ ReviewYou approve before any code
  5. Implementscaffold_app_component
  6. Verifya11y, keyboard, dark mode
The consumer spec template · sdd-consumer-workflow.md# SPEC: LoanSummaryCard
> Spec Review Status: not yet reviewed

## 0. Agrikit Component Discovery
   direct · wrapper · custom
## 1. Goal & Intent
## 2. Usage & Interface
## 3. Technical Implementation
## 4. Accessibility (WCAG 2.1 AA)
## 5. Implementation Checklist
## 6. Changelog

Cb-first, enforced

Raw MUI controls need a written reason.

No invented components

Only names list_components returned.

Reviewers included

A PR reviewer agent ships to consumers.

TUTORIAL 01 · FROM IDEA TO A CONSISTENT APP

Tutorial: Build a Customer Portal screen with Agrikit

  1. Start from the app template. In /setup, choose Customer Portal or DAX to get the shared shell, routing and theme.
  2. Discover before you design. Use the Agrikit MCP tools list_components and get_component to find supported building blocks and their props.
  3. Describe the user outcome. For example: "Add a loans page with a CbPage, a CbCard summary and a CbDataGrid of loans."
  4. Review the spec before code. Confirm the component choices, scope and accessibility plan at the review gate.
  5. Verify the result. Check keyboard use, narrow layouts, light and dark themes, and imports from the Cb component set.
Agrikit application shell showing a branded customer portal interface
Start with the shared app shell, then build with Agrikit components.

Make the request specific

Name the user task and the components the assistant discovered. Review its written plan before accepting an implementation.

TUTORIAL 02 · EXTEND AN EXISTING PRODUCT

Tutorial: Extend an approval workflow without rebuilding its UI

  1. Read the repository guidance. Check AGENTS.md and .github/instructions/ for local conventions, test commands and boundaries.
  2. Trace the existing flow. Follow the approval-package task through its screens, then use get_component to inspect the Agrikit components already in use.
  3. Extend, don't duplicate. Reuse the discovered components and layout patterns; for MUI-based screens, keep established imports and use Stack gap for spacing.
  4. Validate the change. Run validate_accessibility, test keyboard interaction and responsive states, then add a focused regression test.
  5. Close real gaps upstream. If no component fits, document the missing pattern and file an Agrikit issue instead of creating a one-off copy.
Agrikit data grid with sortable columns and structured records
A reusable data-grid surface can support a larger product workflow.

Keep the product's rules intact

Agrikit supplies consistent interface building blocks; the product team remains responsible for its approval and business logic.

05 · Developer handoff · current state

Today it depends on which team you're on

Teams start from different places: some translate Figma handoffs, others prototype in app-starter. An approved spec gives both paths the same production target.

Most rework

Figma-first

  • Frames handed over, then interpreted
  • Props guessed, not looked up
  • Drift found in QA
Fast, then stuck

Prototype-first

  • App-starter forks, already Agrikit
  • No agreed path to production
  • Specs optional
Least rework

Component-first

  • Requirements name Cb components
  • Props looked up via MCP
  • Not yet the documented default
05 · Developer handoff · ideal state

One documented path, with Agrikit names from the start

  1. Product contextProduct + UX keep it current
  2. Name Cb partsIn stories and designs
  3. Discover & decideDirect, wrapper or custom
  4. ⛔ Spec reviewDev + design approve
  5. Build + storyFork or product repo
  6. Review & feed backGaps filed with Agrikit
Artifact 1 · the spec (real: CbToolbar.spec.md)# SPEC: CbToolbar
✓ Approved with amendment · 2026-10-07

## 0. Component Discovery
Checked list_components (70 entries).
Reuse: CbButton · CbChip · CbSelect
Raw-MUI exceptions, each with a reason.
## 1. Goal & Intent
A responsive, accessible toolbar for
CbDataGrid, usable standalone.
## 3–9. Behavior · Accessibility · Analytics …
What everyone agrees to before code exists
CbToolbar responsive layouts story in Storybook with controls
Artifact 2 · the story: what design, dev and review all look at
05 · Developer handoff · next steps

Three asks

We'll know it worked when new features merge with an approved spec.

Install the toolkit

Every repo that uses Agrikit runs npx install-agrikit-ai and commits the output.

Each team · next sprint

Pilot the path

Two volunteer teams run the ideal handoff for one sprint, then a retro.

Volunteer in chat today

Close the loop

File gaps as Agrikit issues, not local one-offs. Ask questions in the Teams channel.

UI/UX Component Library channel

Questions and resources

Q&A