Artificial Intelligence (AI)

Concepts, Environments, and Collaboration

Brian Yandell (byandell.github.io)

2026-06-17

Perspectives & Environmental Impact

How Might We Think About AI?

Tools Reshaping Us

“We shape our tools and thereafter they shape us.”
Marshall McLuhan (via John Culkin)

  • Deeply engaging with AI is a process, not just pushing a button.
  • Treat it as a collaboration rather than just a passive tool.

Social Collaboration

Jaron Lanier’s There is no AI reframes AI as a medium for human cooperation, emphasizing data dignity and creator credit.

The Disrupted & Rethought Workforce

Workforce Transformation

  • Early success is seen in AI-agent-native startups.
  • Legacy companies experience shifts in workforce dynamics.
  • Focus is shifting from replacing people to rethinking how we collaborate.

Ethics & Environmental Impact

Environmental Footprint

  • Rapid growth of data centers strains local power and water resources.
  • Efficiency of algorithms is improving, but resource demand is rising.
  • Increasing focus on protecting natural resources and supporting indigenous lands.

Call for Guardrails

Scientists warn in Nature that uncritical adoption of AI in science requires urgent regulatory guardrails.

Ethics Resources:

Data Center Resources & Efficiency

Energy & Water Reports

  • UN Report: Details footprints of carbon, water, and land usage.
  • Texas HARC & UT News: Reviews data center boom and water usage in Texas.
  • LBNL: U.S. Data Center Energy Usage Report.
  • Data Center Map: Tracker for infrastructure.

Best Practices & Forecasts

  • Microsoft: Sustainable datacenter designs using zero water for cooling.
  • Google: Climate-conscious cooling commitments.
  • Salish Tribal Alliance: Zero Edge cloud data sovereignty.
  • Micro Data Centers: Shift toward Modular Edge Computing.

AI Environments

Connected Development Environments

Model Context Protocol (MCP)

  • Open protocol introduced by Anthropic.
  • Allows LLMs to interact securely with local/cloud tools and codebase context.
  • Enables AI agents to read files, run commands, and edit code under user guidance.

Interactive Workflow

Rather than copying and pasting code, the AI agent directly reads and modifies local code blocks based on natural conversations.

Cloud Educational Environments

Enable students and teams to build and test code without complex local setup:

  • GitHub Codespaces: Cloud-hosted container integrated with GitHub and Copilot.
  • Google Colab: Interactive Python/R notebooks with Gemini integrations.
  • CyVerse Discovery Environment: Advanced biology and geospatial platform.
    • Integrates AI assistants (Roo / Cline) into its VS Code IDE workspace.
    • AI Verde: API tunnel providing access to high-performance LLMs.
  • NSF ACCESS: High-throughput computing via Jetstream2, HTCondor, and PATh.

Google Gemini & Antigravity

Antigravity 2.0 Suite

Launched May 2026 with four primary tools: - Antigravity 2.0: Multi-agentic code platform. - Antigravity CLI: Command line terminal tool. - Antigravity SDK: Building custom agent apps. - Antigravity IDE: Workspace-integrated assistant.

Transition Note

IDE version 2.0 does not carry over history automatically. See Recovering Antigravity Conversations for step-by-step help.

Gemini Resources:

Standalone AI IDEs & Tools

AI-native environments have quickly expanded beyond standard editor integrations:

  • Claude Code: Anthropic’s terminal-based coding agent.
  • OpenAI Codex: Deeply integrated code generation models.
  • Positron: Posit’s next-generation IDE built for R and Python data science.
  • Windsurf: Standalone AI editor optimizing code editing workflows.
  • Cursor: Advanced fork of VS Code featuring native MCP tool support.

Caution

Be careful when using terminal-based interactive interpreters (like radian) alongside background AI terminal execution.

Agentic AI & Multi-Agent Orchestration

Orchestrating Agent Teams

  • Modern developers orchestrate multiple agents to tackle complex tasks.
  • Each agent holds its own role, persona, and technical skills.
  • Commercial frameworks exist in Claude, ChatGPT, and Antigravity.

Open Source Platforms

  • OpenClaw & Hermes: Open orchestration engines.
  • OASIS ScienceClaw: ESIIL-developed clone of OpenClaw acting as a digital twin for scientific working groups.
  • SOUL.md: Markdown-based configuration files defining agent personalities.

Large Language Models (LLMs)

Neural Network Weights

  • LLMs are massive transformer networks predicting the next token in a sequence.
  • Neural weights are frozen after training, but context windows hold conversation state.
  • Mixture of Experts (MoE): Activates only a subset of network layers for each query to save compute.

Encoders & Decoders

  • Tokenization: Splitting text into tokens.
  • Encoding: Converting tokens into embeddings.
  • Contextualization: Processing context layers.
  • Decoding: Predicting and generating tokens.
  • Detokenization: Rendering back to text.

Open Source LLM Specifications

Key characteristics of open-source models available viaCyVerse AI Verde:

  • Context Window: Max input token limit (ranging from 32k, 128k, up to 1M+).
  • Quantization Level: Bit-depth (e.g., FP16, INT8, 4-bit) defining the RAM memory requirements.
  • Developer & License: Lineage (Google Gemma, Meta Llama, Qwen, GLM) and licensing restrictions (Apache 2.0 vs Llama licenses).
  • Modalities: Support for text-only versus multimodal inputs (images, audio, video).

Prompt & Context Engineering

Prompt Engineering Fundamentals

Documenting the Trail

  • Prompt engineering designs inputs to guide an AI’s output.
  • Always save your prompts to a file (e.g., prompts.md) to retain your workflow.
  • Ask the AI agent to update prompts.md and walkthrough.md as you code.

Prompts to Organize Workflows

Split complex workflows into human-sized, manageable chunks:

  1. Extract Functions: Move heavy operations to a helper R file (functions.R).
  2. Setup Notebook: Create a clean Quarto document (workflow.qmd) that sources functions.R.
  3. Handle Deliverables: Configure the workflow to output figures and data tables (PDF/CSV).
  4. Build Documentation: Present the workflow in clear source and rendered forms.

Note

Check out ESIIL’s Three Rivers working group AI Prompt Engineering docs for examples.

Context Engineering

Managing Attention Budgets

  • Every turn fills the agent’s context window.
  • Excessive background context or giant documents cause hallucination or crash.
  • Best Practice: Request the agent to summarize files, then save and pass the summary to subsequent chats.

Context Inflation

Avoid oversized onboarding files. Keep repository rules focused to preserve conversation token budget.

Context: AGENTS.md vs Agent Skills

AI coding assistants (Claude Code, Antigravity, Cursor) leverage two core standards to organize context:

Feature AGENTS.md Agent Skills (SKILL.md)
Purpose Static repository context (coding standards, project layout). Procedural knowledge and automation recipes (deployment, tests).
Scope Bound to a single repository. Reusable/portable across projects.
Structure Single Markdown file in root. Folder with SKILL.md + scripts.
Trigger Loaded automatically. Activated dynamically on keywords.

AGENTS.md (Repository Context)

Acts as the onboarding handbook for an AI agent entering a repository:

  • Directory Layout: Highlights where components, hooks, or styles live.
  • Design & Coding Standards: Strict rules (e.g., “Prefer existing Button components”).
  • Layered Rules: Nested AGENTS.md can layer constraints on specific sub-folders.

Real-world Examples:

Agent Skills & SKILL.md

Agent Skills represent a portable toolbox extending what an agent can perform:

  • Trigger Actions: YAML frontmatter defines triggers for specific command hooks.
  • TDD Workflows: Anti-rationalization rules prevent agents from skipping steps (e.g. bypassing test suites).
  • Automation Scripts: Scripts (Node, Python, Bash) execute complex deployment routines.
---
name: vercel-deploy
description: Deploy my web app to Vercel production.
---
# Deploy Skill
...