AI Agent-Assisted Workflow with GitHub Copilot and Claude
Eduard Bukin ebukin@worldbank.org
Distributional Impact of Policies
Fiscal Policy and Growth Department
2026-02-05
In fact, there are many
AI-powered
Integrated
Development
Environments (IDEs)
for coding and data science!
of this seminar is to introduce you to AI-assisted data analysis with Positron IDE and GitHub Copilot | Claude.
There are many IDEs ➔




Those are: Positron | VS Code | Cursor | Claude Code | and more…
Introduce several AI-Concepts (vocabulary)
Share experience of using AI-assisted workflow in Positron with Stata and R
Provide kick-off instructions and resources.
What do we need to know about modern analysis with AI?
Source: Positron: AI Features
Ask AI (Claude 4.5) through Github Copilot
Provides explanations, suggestions, and code snippets.
Integrates with project context, and code.
Learn more:

Executes instructions.
Acts independently
See more in the live demo!

Positron Inline Code Completion: Suggests code snippets as you type.

Positron accesses project metadata. Thus AI ‘knows’:
Why does it matter?
Read more: Positron: AI Context | GH Copilot | Claude | WB AI Responsible Use
MCP is a universal adapter for AI—Anthropic— that connects data flows:
Read more: modelcontextprotocol.io
GitHub Copilot
Choose your LLM:

Sources: Anthropic Claude Sonnet 4.5
🎯 Be specific:
“Write a Stata do-file to …” / “Refactor this R function to …”
🧩 Provide context:
“Goal: X; Dataset: Y variables; Constraints: Z (WB rules, packages, runtime)”
📌 Define expected output:
“Save as regression_results.xlsx, format as APA table” / “Create bar chart with 95% CIs”
🔁 Summarize + clarify first:
“Restate and ask clarifying questions before implementing”, “Explain why …”, “Give alternatives with trade-offs…”
🪜 Iterate in small steps:
“minimal changes”, “refine”
🛑 Set boundaries:
“Don’t use … data”, “Don’t print secrets, ask if in doubt.”, “Don’t change files”.
Tip: Treat the assistant as a collaborator.
⚠︎ Wrong-but-plausible outputs / hallucinations: code runs but logic is wrong
✓ Verify and validate: ask the model to explain and justify the solution
⚠︎ Context limits: not all files/data are in context; too large projects.
✓ Be explicit: state assumptions, expected inputs/outputs, and references
⚠︎ Outdated knowledge: suggested APIs/packages/options may have changed
✓ Teach the model: provide references/links; ask it to learn
⚠︎ Over-reliance: erodes fundamentals; mistakes slip through unchallenged
✓ Keep learning: ask for step-by-step reasoning; request alternatives and trade-offs
⚠︎ Confidentiality / security / privacy
✓ Constrain context: exclude sensitive data; use .copilot-ignore; AI @ WB
⚠︎ Reproducibility: answers can vary across sessions/models/settings
✓ Cutomize agents: save prompts, use Git; create AI agents
Read more: GitHub Copilot Trust Center | AI @ WB: ai.worldbank.org
Why use IDEs, not a web-browser-based workflow?
Why Positron?
Setup the software: follow instructions
Reproduce demos:
Ask AI’s help to learn.
Step out of your comfort zone:
See more slides with additional materials below.
From an old analysis in Stata to an upgraded Stata+R reproducibility package in under 10 minutes!
Download materials here: github.com/WBGGeoPov/seminar-coding-with-ai-demo
Watch the seminar recording: Positron with Stata (recording)
Seminar internal page: link
Tip
💡 Ask AI for help: “How do I download a project from GitHub and open it in Positron IDE? The link is: …”
Note
Full details: Setup Instructions
uv package: pip install uvCtrl+Shift+P > “Ask Positron Assistant”Positron: Modern AI-native IDE for data science
Built by Posit (creators of RStudio)
Supports Stata, R, Python, and others
Watch the introduction video →
Try it yourself with examples in R and Python:
Source: positron.posit.co/features
Make sure prerequisite software is installed (Stata, R, Positron)
Install Python after that the uv package: pip install uv
Install Stata MCP in Positron and configure Stata path and Edition
Create a new Stata do-file, write some code, save it and press run it.

WKPEP Seminar Series | Eduard Bukin | February 2026