By di end of dis module, you go sabi:
- ✅ How to install and set up AI Toolkit for Visual Studio Code
- ✅ How to waka through di Model Catalog and sabi di different model sources
- ✅ How to use di Playground to test and experiment wit models
- ✅ How to create custom AI agents wit Agent Builder
- ✅ How to compare di performance of models from different providers
- ✅ Di best way to do prompt engineering
Di AI Toolkit for Visual Studio Code na Microsoft main extension wey dey turn VS Code into one complete AI development environment. E dey connect di gap between AI research and practical application development, making generative AI easy for developers wey get any level of skill.
| Feature | Wetin E Do | Wetin E Fit Help You Do |
|---|---|---|
| 🗂️ Model Catalog | Access over 100 models from GitHub, ONNX, OpenAI, Anthropic, Google | Find and choose models |
| 🔌 BYOM Support | Add your own models (local/remote) | Deploy custom models |
| 🎮 Interactive Playground | Test models live wit chat interface | Quick prototyping and testing |
| 📎 Multi-Modal Support | Work wit text, images, and attachments | Build complex AI applications |
| ⚡ Batch Processing | Run many prompts at di same time | Test workflows fast |
| 📊 Model Evaluation | Built-in metrics (F1, relevance, similarity, coherence) | Check model performance |
- 🚀 Fast Development: Move from idea to prototype quick
- 🔄 One Workflow: Use one interface for many AI providers
- 🧪 Easy Testing: Compare models without wahala
- 📈 Ready for Production: Move from prototype to deployment smooth
Step 1: Go Extensions Marketplace
- Open Visual Studio Code
- Go di Extensions view (
Ctrl+Shift+XorCmd+Shift+X) - Search "AI Toolkit"
Step 2: Choose di Version We You Want
- 🟢 Release: Good for production use
- 🔶 Pre-release: Early access to new features
Step 3: Install and Activate
- AI Toolkit icon dey di VS Code sidebar
- Extension don activate
- No installation error dey di output panel
🎯 Goal: Learn how to use di Model Catalog and test your first AI model
Di Model Catalog na di place wey you go find plenty AI models. E dey bring models from different providers together so you fit compare and choose.
🔍 How to Navigate:
Click MODELS - Catalog for di AI Toolkit sidebar
💡 Pro Tip: Look for models wey get di features wey fit your work (e.g., code generation, creative writing, analysis).
How to Choose Model:
- GPT-4.1: Good for complex reasoning and analysis
- Phi-4-mini: Fast response for simple tasks
🔧 How to Set Up:
- Choose OpenAI GPT-4.1 from di catalog
- Click Add to My Models - e go register di model for use
- Choose Try in Playground to open di testing environment
- Wait for di model to initialize (e fit take small time for first setup)
⚙️ Understand Model Parameters:
- Temperature: E control creativity (0 = predictable, 1 = creative)
- Max Tokens: Di longest response wey di model fit give
- Top-p: E dey help make response diverse
Di Playground na di place wey you fit test AI models. Here na how to use am well:
🎨 Prompt Engineering Tips:
- Be Clear: Give di model clear instructions
- Add Context: Put background info wey go help di model
- Use Examples: Show di model wetin you want wit examples
- Refine: Adjust prompts based on di first results
🧪 Testing Scenarios:
# Example 1: Code Generation
"Write a Python function that calculates the factorial of a number using recursion. Include error handling and docstrings."
# Example 2: Creative Writing
"Write a professional email to a client explaining a project delay, maintaining a positive tone while being transparent about challenges."
# Example 3: Data Analysis
"Analyze this sales data and provide insights: [paste your data]. Focus on trends, anomalies, and actionable recommendations."🎯 Goal: Test different models wit di same prompt to see di difference
📋 Instructions:
- Add Phi-4-mini to your workspace
- Use di same prompt for GPT-4.1 and Phi-4-mini
- Compare di response quality, speed, and accuracy
- Write down wetin you find for di results section
💡 Wetin You Go Learn:
- When to use LLM vs SLM
- Di balance between cost and performance
- Di special features of different models
🎯 Goal: Create AI agents wey dey fit specific tasks and workflows
Agent Builder na di place wey AI Toolkit dey shine well. E dey help you create AI assistants wey dey combine di power of large language models wit custom instructions, special settings, and knowledge.
🧠 Agent Architecture:
- Core Model: Di main LLM (GPT-4, Groks, Phi, etc.)
- System Prompt: E dey define di agent personality and behavior
- Parameters: Fine-tune settings for better performance
- Tools Integration: Connect external APIs and MCP services
- Memory: Keep conversation context and session info
🎨 Create Good System Prompts:
# Template Structure:
## Role Definition
You are a [specific role] with expertise in [domain].
## Capabilities
- List specific abilities
- Define scope of knowledge
- Clarify limitations
## Behavior Guidelines
- Response style (formal, casual, technical)
- Output format preferences
- Error handling approach
## Examples
Provide 2-3 examples of ideal interactionsYou fit also use Generate System Prompt to make AI help you create and improve prompts
🔧 Optimize Parameters:
| Parameter | Range We You Fit Use | Wetin E Fit Do |
|---|---|---|
| Temperature | 0.1-0.3 | For technical/factual answers |
| Temperature | 0.7-0.9 | For creative/brainstorming tasks |
| Max Tokens | 500-1000 | For short answers |
| Max Tokens | 2000-4000 | For detailed explanations |
🎯 Mission: Create one Python coding assistant
📋 How to Set Up:
-
Choose Model: Pick Claude 3.5 Sonnet (e dey good for code)
-
Design System Prompt:
# Python Programming Expert Agent
## Role
You are a senior Python developer with 10+ years of experience. You excel at writing clean, efficient, and well-documented Python code.
## Capabilities
- Write production-ready Python code
- Debug complex issues
- Explain code concepts clearly
- Suggest best practices and optimizations
- Provide complete working examples
## Response Format
- Always include docstrings
- Add inline comments for complex logic
- Suggest testing approaches
- Mention relevant libraries when applicable
## Code Quality Standards
- Follow PEP 8 style guidelines
- Use type hints where appropriate
- Handle exceptions gracefully
- Write readable, maintainable code- Set Parameters:
- Temperature: 0.2 (for consistent, reliable code)
- Max Tokens: 2000 (for detailed explanations)
- Top-p: 0.9 (balanced creativity)
Test Scenarios:
- Simple Function: "Write function to find prime numbers"
- Complex Algorithm: "Create binary search tree wit insert, delete, and search methods"
- Real-world Problem: "Make web scraper wey fit handle rate limiting and retries"
- Debugging: "Fix dis code [paste buggy code]"
🏆 Wetin Go Show Say E Work:
- ✅ Code dey run well
- ✅ E get proper documentation
- ✅ E follow Python best practices
- ✅ E explain well
- ✅ E suggest better ways
Check yourself:
- You fit explain di difference between models for di catalog?
- You don create and test custom agent?
- You sabi how to set parameters for different tasks?
- You fit design good system prompts?
- AI Toolkit Documentation: Official Microsoft Docs
- Prompt Engineering Guide: Best Practices
- Models in AI Toolkit: Models in Develpment
🎉 Congrats! You don sabi di basics of AI Toolkit and you ready to build advanced AI applications!
Ready for di next level? Go Module 2: MCP with AI Toolkit Fundamentals wey go teach you:
- How to connect agents to external tools wit Model Context Protocol (MCP)
- How to build browser automation agents wit Playwright
- How to integrate MCP servers wit your AI Toolkit agents
- How to make your agents stronger wit external data and features
Disclaimer:
Dis docu don use AI translation service Co-op Translator take translate am. Even though we dey try make sure say e correct, abeg no forget say automatic translation fit get mistake or no dey accurate well. Di original docu for di language wey dem write am first na di main correct one. For important information, e better make professional human translator check am. We no go fit take blame for any misunderstanding or wrong interpretation wey fit happen because of dis translation.







