Lecture 7. AI tools
The landscape · Four scenarios: a question, research, code, automation · Models and benchmarks
Question
What developers used in 2026:
Stack Overflow Developer Survey 2026, published October 6, 2026 (lecture 1)
First, the landscape: model providers and the products built around them. Then, four core scenarios — each with a concrete example and the tools that solve it.
Answer a question
Chat assistants.
Example: counting primes with a given digit sum.
Do research
Deep research and academic literature tools.
Example: the best-known lower bounds on circuit size.
Write code
Coding agents, editors and app builders.
Example: a chess game in the style of Minecraft.
Automate
Agents, workflow builders, and custom code via APIs.
Example: a daily arXiv paper digest in Telegram.
Wrap-up: model leaderboards and a quick quiz.
Five full-stack providers, open models, third-party developer tools, and self-hosted environments
| USA | OpenAI GPT · Anthropic Claude · Google Gemini · xAI Grok · Meta Muse |
| China | DeepSeek · Alibaba Qwen · Moonshot Kimi · Zhipu GLM · MiniMax |
| Europe | Mistral |
The frontier leaderboards are dominated by OpenAI, Anthropic, and Google. Mistral and the Chinese labs publish weights for many models, enabling local deployment.
Many products let you choose the model. GitHub Copilot used 47 different models in September. Junie works with Claude, GPT, Gemini, Grok, or local Qwen. In JetBrains Air you choose the agent and the model for each session.
Two products powered by the same model can behave completely differently.
Let’s examine the major providers one by one.
Arena and Artificial Analysis leaderboards, November 2026 · GitHub Octoverse 2026 · JetBrains documentation

OpenAI release notes and API changelog; TechCrunch, VentureBeat · November 2026

Anthropic product pages and release notes · November 2026

Google: Gemini release notes and the Keyword blog; 9to5Google · November 2026
Mistral provides an independent European ecosystem that organizations can deploy entirely on-premise.
Operates under French jurisdiction with EU data centers. Open weights allow air-gapped deployment with zero internet connectivity.
Primary sectors: banking, public administration, and defense.
Mistral product pages and documentation · November 2026

xAI news; Mobile World Live, Teslarati · November 2026
| Family | Models | What is notable |
|---|---|---|
| DeepSeek | DeepSeek V4 Pro and V4 Flash | Open weights. First-party chat at chat.deepseek.com. |
| Kimi Moonshot | Kimi K3 | Open weights. Chat at kimi.com; available in GitHub Copilot. |
| Qwen Alibaba | the open Qwen3.8 family; Qwen4-Max | Qwen3.8 is open-weight; Qwen4-Max is proprietary via API. Chat at chat.qwen.ai. |
| Gemma | the Gemma family | Google’s open-weight models alongside Gemini. No official chat interface. |
| Muse Meta | Muse Spark Open, Muse Glimmer | Meta’s 2026 open models (successors to Llama). Glimmer under Apache 2.0; Spark Open under custom license. |
“Open” here means open weights: anyone can download and run them locally.
Harnesses for code, research, and automation come from third-party tools.
DeepSeek, Moonshot, Alibaba Cloud and Google announcements; Meta: Muse Spark Open; The Decoder, Caixin, TechNode · November 2026
| Scenario | Tools | Whose models they use |
|---|---|---|
| Code | Cursor, GitHub Copilot, Junie, JetBrains Air, OpenCode, LM Studio Bionic | Claude, GPT, Gemini, Grok; OpenCode and Bionic also run local models |
| Research | Perplexity, Elicit, Undermind | Perplexity uses Sonar, Claude, GPT, Gemini; Elicit and Undermind combine retrieval agents with frontier models |
| Automation | n8n | Any provider via your API keys, plus self-hosted local models |
These companies build the harness and workflow around the model.
We’ll examine each tool across our four scenarios.
Vendor documentation: cursor.com, github.com/features/copilot, junie.jetbrains.com, jetbrains.com/air, opencode.ai, lmstudio.ai, perplexity.ai, elicit.com, undermind.ai, n8n.io · November 2026
| 1Models with open weights | Qwen, DeepSeek, Kimi, Mistral, Gemma, Muse |
| 2Runtime engine executes the model | LM Studio or Ollama on desktop; vLLM or llama.cpp on servers |
| 3Harnesses & tools for the four scenarios |
|
With open weights, the entire stack runs on your own hardware — zero data leaves your machine.
Chat assistants
Example: how many primes below 107 have digit sum 20?
“How many primes below 107 have digit sum 20?”
| The model through the API, no tools | A chat assistant | A coding agent |
|---|---|---|
| ✗Confidently hallucinates a wrong number. | ✓Writes a script, runs it in a sandbox, answers 16,614. | ✓Writes and runs a local script, answers 16,614. |
All three use the exact same underlying model.
The chat and agent equip the model with code execution — on its own, it can only guess.
ChatGPT, Claude, Gemini, Vibe, and Grok share most of these capabilities.
Feature names and details vary by provider.
| Images | Video | Where you use it | |
|---|---|---|---|
| OpenAI | GPT Image | — (Sora closed in 2026) | ChatGPT, Work, Codex |
| Nano Banana | Omni and Veo | Gemini app | |
| Anthropic | — | — | Generates diagrams, charts, and slides via code |
| Mistral | — | — | Voxtral (speech), Mistral OCR (documents) |
| Specialized | Midjourney, FLUX | Kling, Runway | ElevenLabs (speech) |
Need a diagram or plot? Ask the assistant for code (SVG, Mermaid, matplotlib).
Code is inspectable, precise, and easily corrected.
Vendor announcements; TestingCatalog, TechRepublic, TechCrunch · November 2026
Deep research and academic literature tools
Example: the best-known lower bounds on circuit size
Live demonstration · launching five tools in parallel
“What is the best-known lower bound on the Boolean circuit size of an explicit function over the full binary basis? Give the chain of improvements with primary sources, in one table.”
Identical prompt submitted to each tool with default settings.
The assistant works on a question for 5 to 45 minutes: running dozens of searches, reading source pages, and compiling a structured report with citations.
| ChatGPT · deep research | Claude · Research | Gemini · Deep Research | Vibe · deep research | |
|---|---|---|---|---|
| Search scope | Web and connected apps | Web, Google Workspace, MCP connectors | Web, Gmail, Google Drive | Web, internal docs, connectors |
| Also available in | Work tab, Codex | Multi-step chat tasks | Gemini API (Interactions API) | Work mode |
All four follow the same loop: plan → search → read → synthesize.
They differ in accessible data sources and search depth.
Our demo runs the first three on the exact same question.
OpenAI, Anthropic, Google and Mistral product and help pages · November 2026
An AI search engine that synthesizes answers with inline citations. Every statement links directly to its source for immediate fact-checking.
Its agent, Computer, carries out multi-step tasks across models from multiple providers. Deep research is built into Computer. Perplexity also builds Comet, a browser with native AI integration.
Perplexity help center; TechCrunch · November 2026
Indexes 140M+ papers and trials. Screens literature against criteria and extracts structured data into comparative tables.
Research Agent performs systematic reviews; Routines track new publications on schedule.
Autonomous discovery agent for scientific literature. Runs 5–15 minute exploration loops, iteratively searching papers and tracing citations.
Uncovers obscure or cross-disciplinary papers missed by keyword queries. Integrates natively with ChatGPT and Claude.
Both search curated academic indices instead of the open web, avoiding SEO spam and forum noise.
Elicit excels at structured extraction into tables; Undermind excels at exhaustive paper discovery.
elicit.com, undermind.ai · November 2026
Google’s research tool strictly grounded in your own materials. Upload PDFs, web pages, YouTube videos, and audio recordings into a notebook.
Answers exclusively from uploaded sources with clickable citations. Can generate summaries, podcast-style Audio Overviews, video recaps, slide outlines, and quizzes.
Ideal for studying a specific course or dense papers without risk of external hallucinations.

Google: the Keyword blog on Gemini Notebook (July–October 2026)
| Tool | What it is |
|---|---|
| Google Scholar | Scholar Labs (semantic topic search) and Quick Read (paper takeaways & caveats) over Scholar's full index. |
| Consensus | Answers questions from peer-reviewed papers; computes consensus percentage across studies. |
| Scite | Analyzes citation context: classifies citations as supporting, contrasting, or mentioning. |
| Semantic Scholar | Academic search engine and citation graph built by the Allen Institute for AI. |
| alphaXiv | arXiv layer featuring open peer discussion and an interactive paper assistant. |
Different tools index different corpuses: combining two tools yields far better coverage than relying on one.
scholar.google.com, consensus.app, scite.ai, semanticscholar.org, alphaxiv.org · November 2026
Measurements from 2026 show
Why does deeper search hurt accuracy? Context stuffing: dozens of pages flood the context, diluting attention.
Models rarely invent URLs now, but real sources often don’t support the claim. Always verify citations.
Rao, Wong, Callison-Burch, arXiv:2604.03173 (April 2026) · Onweller et al., arXiv:2605.06635 (May 2026)
Coding agents, editors and app builders
Example: a chess game in the style of Minecraft
“Make a chess game in the style of Minecraft. It must run in the browser without installing anything.”
Generates the entire game as a single HTML file with an artifact preview.
Result: one self-contained file.
Scaffolds, builds, and deploys the app to the cloud automatically.
Result: a live hosted URL.
Creates a structured multi-file repository with unit tests for game rules.
Result: a testable codebase.
Validate all three identically by playing: piece movement, castling, en passant, promotion, and checkmate.
Full-repo coding agents: inspect the repository, edit files, run tests, and open pull requests.
| In the terminal | In a desktop app | In the cloud | |
|---|---|---|---|
| Codex OpenAI | Codex CLI (open source) | ChatGPT desktop app | Cloud tasks; GitHub pull request reviews |
| Claude Code Anthropic | claude CLI | Claude desktop app | claude.ai/code; Slack and GitHub Actions triggers |
| Antigravity, Gemini CLI | agy CLI; Gemini CLI | Antigravity desktop IDE (editor & agent graph) | Autonomous Google Cloud agents |
| Vibe Code Mistral | Vibe CLI (open source) | — | Remote agents that open pull requests |
Codex, Claude Code, Antigravity and Mistral Vibe changelogs · November 2026
| Tool | What it is | Models |
|---|---|---|
| Cursor AI-native IDE | VS Code fork built around AI. Multi-file edits, project indexing, and background cloud agents. | Proprietary models; xAI, Anthropic, OpenAI, Google |
| GitHub Copilot VCS & PR agent | Completion, chat, and GitHub PR agents. Reviews pull requests and assigns issues to background agents. | Multi-model; Fusion routes each prompt automatically |
| Junie Deep IDE context | JetBrains IDE agent leveraging deep project knowledge: PSI code index, debugger, and test runners. Runs in IDE, CLI, and CI. | Claude, GPT, Gemini, Grok, or local Qwen |
| Air Multi-agent orchestrator | Multi-agent workspace (ACP protocol). Runs competing agents in parallel git worktrees to compare results. | Inherits models from connected agents |
| OpenCode Open-source agent | Provider-agnostic open-source agent. Runs in terminal, desktop, and browser interfaces. | Any provider via API key, or local models |
| LM Studio Bionic Local offline engine | Local model engine. Bionic is its agent application for offline code, documents, and research. | Open-weight local models |
Three distinct approaches: deep IDE context (Cursor, Copilot, Junie), multi-agent orchestration (Air), and open/local execution (OpenCode, LM Studio).
Vendor documentation and changelogs of the six tools · November 2026
| Tool | What it is |
|---|---|
| Kiro AWS | Spec-driven IDE and CLI agent for structured implementation. |
| Devin Cognition | Autonomous cloud software engineer + Devin Desktop IDE (formerly Windsurf). |
| Cline, Aider, Pi, Goose | Open-source agents: Cline (in-editor); Aider, Pi, Goose (terminal). |
| Zed | High-performance editor supporting external agents via Agent Client Protocol (ACP). |
| Lovable, v0, Bolt, Replit | App builders: generate and deploy functional full-stack web apps from a prompt. |
App builders deliver immediate running applications.
You validate them by interacting with the UI — code inspection is secondary.
Vendor pages: kiro.dev, devin.ai, cline.bot, aider.chat, zed.dev, lovable.dev, v0.app, bolt.new, replit.com; Pi and Goose on GitHub · November 2026
Agents and schedules, workflow builders, your own code through the API
Example: a daily digest of new arXiv papers in Telegram
The example: every morning a digest of yesterday’s new arXiv papers on our topic arrives in Telegram.
↑ each level requires less human intervention per run
We implement the digest in three ways: scheduled prompt, workflow builder, and custom code via API.
Higher automation means zero manual oversight per run: verification must be automated.
A scheduled task runs a prompt automatically at set times and delivers the result. For our digest, a single prompt is enough:
“Every morning at 8:00, find yesterday’s new arXiv papers in cs.CC. Keep the ones about circuit complexity and send me the list, with one line on each paper.”
| ChatGPT | Scheduled tasks: executes in the cloud; delivers results into ChatGPT chat. |
| Claude | Scheduled tasks: cloud execution with failure alerts and retry logs. |
| Gemini | Scheduled actions: centralized dashboard of timetable triggers in Google Workspace. |
The fastest path to an automated digest — zero infrastructure.
However, execution is non-deterministic: the model re-plans its steps each day.
OpenAI, Anthropic and Google release notes and help pages · November 2026
Visual workflow automation platform. A workflow connects triggers (cron schedules, webhooks) with nodes that call APIs, run code, query LLMs, or execute agents.
Deterministic execution: every run is logged. You can inspect exact inputs and outputs per node, pinpointing failures immediately.
Self-hostable via Docker or available via n8n Cloud. Connects to any model provider via your API keys and supports MCP tool servers.

n8n release notes and blog
Live demonstration · arXiv digest in n8n
every morning
yesterday’s papers in cs.CC
keep or skip each paper, with a one-line reason
the digest in our chat
| Scheduled task in an assistant | Workflow in n8n | |
|---|---|---|
| What you write | one prompt | four nodes and a prompt |
| The steps | the model re-plans every run | deterministic pipeline; the model only filters papers |
| When it breaks | silent failure (empty or malformed digest) | exact node failure with logged inputs and error trace |
| The keys | vendor-managed accounts | your own API keys and bot tokens |
Connects 7,000+ business apps. Zaps trigger actions across services, with AI agents as intermediate steps. AI Copilot builds workflows from plain-language prompts.
Visual drag-and-drop scenario builder. Make AI Agents support MCP tools and sub-agents. Maia AI designs scenarios interactively through chat.
Both are fully hosted cloud platforms — zero server maintenance.
Trade-off: data transits through third-party infrastructure.
Zapier and Make blogs and product pages · November 2026
Direct API integration: send prompts and receive text. Scheduling, arXiv queries, and Telegram delivery stay in regular, testable code.
papers = fetch_arxiv("cs.CC", yesterday)
kept = []
for p in papers:
answer = model("Keep or skip? Give one reason.\n" + p.abstract)
if answer.startswith("keep"):
kept.append((p, answer))
send_telegram(format_digest(kept))
A sketch in Python. Here model is one call to the API.
Agent SDKs provide standard reasoning and execution loops: OpenAI Agents SDK, Claude Agent SDK, Google ADK lecture 4
MCP standardizes tool and resource connections lecture 6
You own the entire operational stack: code, API keys, hosting, and error handling.
Requires the most engineering effort, but delivers total control: fully testable, version-controlled, and observable.
GitHub/GitLab event triggers agent
analyzes test failure & relevant code
runs tests in sandbox to verify
includes diff & explanation
approves, merges, or rejects
| Where to configure | JetBrains Air automation with GitHub/GitLab triggers; Claude Code or Codex inside GitHub Actions |
| Key difference | The digest runs on a timer. This agent is event-driven — the highest tier of automation. |
The output is an isolated pull request: human review acts as the gatekeeper before production merges.
Headless coding agent execution in JetBrains Air. Runs the same agents as your IDE (Junie, Claude Code, Codex) triggered by events, with no human at the keyboard.
Triggers include schedules, webhooks, or VCS events (GitHub, GitLab, Jira). Output actions range from read-only reports to automated commits, branches, and pull requests.
Includes built-in templates for automated code review, issue triage, and release notes.
Read-only report automations are the safest way to start before enabling write access.

JetBrains: Air documentation, Automations; “Introducing Air Teams” (September 2026)
| Agent | Where it works | What it does |
|---|---|---|
| dots OpenAI | Dedicated cloud VM with a browser | Runs persistently 24/7. Accepts tasks via ChatGPT, Slack, or Teams and works asynchronously. |
| Cowork Anthropic | Local filesystem and connected services | Executes multi-step workflows. Integrated directly into Claude chat and activates when needed. |
| Tasks Google | Background execution in Gemini | Runs concurrent multi-step tasks across Google Workspace (formerly Spark). |
| Manus | Stateful cloud VM | Browses the web, writes/executes code, and delivers artifacts; triggers via email or webhook. |
OpenAI, Anthropic and Google release notes; manus.im; TechCrunch, VentureBeat · November 2026
| Agent | What it does |
|---|---|
| Claude in Chrome | Browser extension automating clicks and typing; side panel inspects live agent actions. |
| Gemini in Chrome | Native Chrome integration for web navigation and data entry with action limits. |
| GitHub Copilot | Desktop app driving Chrome or Edge in dedicated tab groups (opt-in preview). |
| Perplexity Comet | AI-native browser with built-in research and navigation agents. |
Browser agents process everything rendered on screen.
Untrusted web pages can contain prompt injections — supervise agents carefully on open sites.
Anthropic, GitHub changelog (November 17, 2026), 9to5Google, TechCrunch
For reference: where to compare models, and how to read a leaderboard
Leaderboard rankings fluctuate weekly — consult live sites rather than memorizing numbers.
Always inspect the exact model version, agent harness, and benchmark release.
Stanford IRIS project: an agent analyzes execution traces to optimize harness prompts and tools. The underlying model is frozen.
“Agentic Harness Engineering”: algorithmic search for optimal scaffolding around a fixed model.
Version 2.1 corrected 28 flawed tasks out of 89. Claude Code with Opus 4.6 jumped from 58.0% to 70.1% without changing the agent.
Top leaderboard spots are held by automated harness tuning on a fixed model.
A 15–18 point jump demonstrates that scaffolding matters just as much as model weights.
Terminal-Bench 2.0 leaderboard · Meta-Harness, arXiv:2603.28052 · Agentic Harness Engineering, arXiv:2604.25850
A quiz on six tasks
Question 1
| Task | Scenario | Two tools to try |
|---|---|---|
| Understand a proof in a 40-page paper; you have the PDF | chat | a chat with the PDF attached, or Gemini Notebook |
| Find every paper since 2020 that improves a known bound | research | deep research mode + Elicit or Scholar Labs (complementary paper indices) |
| Change a module in a 200,000-line repository that has tests | code | terminal or IDE coding agent (Claude Code, Codex, Junie, Copilot) |
| Make thirty similar dependency updates in different repositories | code | parallel cloud agents (Codex cloud tasks, Copilot agent, JetBrains Air) |
| Every Monday, collect new papers on a topic for the lab’s chat | automation | scheduled prompt in an assistant, or an n8n workflow |
| Draw an exact diagram of an algorithm for a slide | chat | chat assistant generating TikZ, Mermaid, or matplotlib code |