Data Science Tutorials
Learn data science and AI with step-by-step tutorials on the DataCamp blog. Master Python, SQL, machine learning, and build your own AI agents.
Discover categories
Training 2 or more people?Try DataCamp for Business
Gemini 3.8 Flash API Tutorial: Thinking Levels, PDF Extraction, and Function Calling in Python
Learn how to use the Gemini 3.8 Flash API in Python: Interactions API setup, thinking_level tuning, PDF-to-JSON extraction, and function calling with code.
Aryan Irani
September 7, 2026
GPT-6 Astra API Tutorial: Build a Release Check Agent With Async Tools and Steering
Use GPT-6 Astra via the OpenAI API to build a Python release check agent with async tools, reasoning controls, Structured Outputs, and cost tracking, then test computer use and steering.
Khalid Abdelaty
September 7, 2026
Agent Harness Engineering Guide: Bridging the Gap Between Models and Action
Learn how to build a custom AI agent harness with Python, ReAct loops, and durable state.
Tim Lu
September 6, 2026
Claude Fable 5.1 API Tutorial: Build a Long-Running Developer Agent in Python
Learn how to use Anthropic’s latest flagship model to build a Python agent that reads a Flask repository before planning a change. Add progress updates, read-only file tools, and cost controls.
Khalid Abdelaty
September 3, 2026
How to Use Unsloth Desktop for Local AI Workflows
Use Unsloth Desktop for local AI workflows, including LLM inference, fine-tuning, vision models, image and video generation, OpenCode coding agents, and local APIs from one desktop application.
Abid Ali Awan
September 2, 2026
How LLM Inference Works: A Practical Guide to Serving and Optimizing Large Language Models
Learn how quantization, KV-cache optimization, batching, speculative decoding, memory bandwidth, and hardware-aware tuning can improve speed, scalability, and cost efficiency when serving large language models.
Abid Ali Awan
September 1, 2026
GLM-5.3-Flash Tutorial: Build a Multi-Agent Stock Analyst
Use GLM-5.3-Flash and CrewAI to build 3 specialist LLM agents covering stock fundamentals, technicals, and news, and merge their findings into a BUY/SELL signal.
Abid Ali Awan
August 31, 2026
How to Run Qwen3.8-Flash-Next Locally as a Coding Agent with OpenCode
Learn how to run Qwen3.8-Flash-Next GGUF locally with llama.cpp on an RTX PRO 6000, then connect it to OpenCode for a fully local agentic coding setup.
Abid Ali Awan
August 28, 2026
Grok Bot Tutorial: Building a Weekly AI Research Agent
Learn how Grok Bot's Bots, shared cloud computer, skills, and routines fit together by building one agent that researches, verifies, and reports every Monday.
Khalid Abdelaty
August 27, 2026
How to Run Qwen3.8-27B Locally on an NVIDIA RTX 5090
Learn how to run Qwen3.8-27B locally with Blackwell-native NVFP4 and MTP speculative decoding, achieving up to 170 tokens per second with llama.cpp.
Abid Ali Awan
August 25, 2026
Grok 4.6 API Tutorial: From First Call to a Tool-Using Agent
Learn how to harness SpaceXAI’s newest frontier model to build intelligent, tool-using agents from scratch. This comprehensive guide walks you through everything from basic API setup to deploying a fully autonomous loop with prompt caching and custom tools.
François Aubry
August 24, 2026
Grok Build vs Claude Code: I Tested Both On a Rigged Dataset
Learn how Grok Build and Claude Code differ in practice: I planted three defects in a dataset and ran the same five-turn conversation through both agents.
Aashi Dutt
August 22, 2026