From a repeated task to a tested AI workflow.
20 modules and 60 lessons in 4 stages. Every lesson has real Python practice that runs in your browser and a short quiz. The course is free and open to everyone. For students, builders, and small teams. Start with basic Python variables, dictionaries, lists, functions, and loops. Use the Python course foundations if these are new to you. No AI or automation experience is assumed.
Start the first lessonBefore you begin: prerequisites, tools, and learning plan
For students, builders, and small teams. Start with basic Python variables, dictionaries, lists, functions, and loops. Use the Python course foundations if these are new to you. No AI or automation experience is assumed.
Each module has two lessons and one guided practical. Run a worked example, implement a function, pass input and failure checks, and answer two quiz questions. Plan 3 to 5 hours each week, plus time for six larger projects.
Required exercises use standard Python in the browser with fictional records and simulated AI responses. No paid account, API key, or external automation service is required. The first run downloads Python. Notebooks also work locally. An optional visual workflow plan can be mapped to a tool you already use, such as n8n or Make.
The lab does not call a live AI model, send messages, or connect your accounts. Simulations teach workflow logic, not measured model quality. Before a live pilot, add provider-specific authentication, durable state, evaluation, access controls, and approval for external actions.
Review Python foundationsWorkflow foundations
Modules 01 to 05
Find the right work to automate
Map a repeated task, choose a useful goal, and decide where AI belongs.
- Triggers, steps, and outcomes
- Rules, AI, and human decisions
- Practical: Measure a useful starting point
Work with records and decisions
Use small Python functions to clean inputs and route work.
- Clean a text field
- Build a new record
- Practical: Route a small request queue
Exchange and validate JSON
Read structured messages and reject invalid input before it spreads.
- Parse a JSON message
- Check required fields and types
- Practical: Separate valid and invalid intake
Handle triggers and duplicate events
Filter event types and prevent repeat deliveries from creating repeat work.
- Select events deliberately
- Keep the first delivery
- Practical: Build an event inbox
Understand APIs and HTTP
Represent requests and interpret responses without making live calls.
- Describe an API request
- Interpret response statuses
- Practical: Simulate an API adapter
AI inputs and outputs
Modules 06 to 10
Write prompts for repeatable tasks
Define the task, separate source data, and make missing information visible.
- Make the output contract explicit
- Separate instructions from source text
- Practical: Build a reusable prompt template
Validate AI output
Treat generated labels and JSON as proposals that must pass checks.
- Accept only known labels
- Check a structured prediction
- Practical: Parse, validate, then route
Build an AI-assisted triage flow
Compare a simple baseline with simulated predictions and review uncertain work.
- Start with a rule baseline
- Set an explicit review threshold
- Practical: Measure routing coverage
Extract facts with evidence
Preserve missing values and connect extracted fields to source text.
- Represent an unknown value
- Attach a source quote
- Practical: Check an extraction packet
Ground answers in approved sources
Retrieve relevant material, respect access, and abstain when support is missing.
- Retrieve a simple source
- Filter sources by access
- Practical: Abstain without supporting evidence
Reliable automation
Modules 11 to 15
Control tool use and agent loops
Validate tool proposals and bound the work an AI agent can request.
- Allow only named tools
- Bound the agent loop
- Practical: Build a restricted tool dispatcher
Add meaningful human approval
Tie approval to the exact draft and keep changed or expired work on hold.
- Require an explicit decision
- Bind approval to a version
- Practical: Enforce an approval gate
Recover from failures
Use bounded retries and separate temporary failures from permanent problems.
- Plan a backoff delay
- Classify retryable errors
- Practical: Finish or escalate a retry run
Save state and resume work
Track durable outcomes and design replay-safe steps.
- Resume from a checkpoint
- Choose an idempotency key
- Practical: Simulate an operation ledger
Schedule and batch work
Use explicit time zones and prepare bounded batches and useful digests.
- Compare aware timestamps
- Split a queue into batches
- Practical: Prepare a daily operations digest
Testing and delivery
Modules 16 to 20
Evaluate the whole workflow
Measure errors, review load, and regressions with fixed examples.
- Calculate exact-match accuracy
- Measure false automatic routes
- Practical: Compare a candidate with a baseline
Track cost and operational health
Set budgets, record useful logs, and notice when a workflow degrades.
- Estimate a run cost
- Keep useful, minimal logs
- Practical: Stop when a budget or error limit is reached
Protect data and action boundaries
Treat external text as data and keep sensitive fields out of unnecessary steps.
- Select the minimum model input
- Ignore actions embedded in model output
- Practical: Enforce a destination allowlist
Move from a lab to a small pilot
Map the workflow into visual tools and prepare a controlled release.
- Map logic to visual workflow nodes
- Choose a release mode
- Practical: Review a pilot readiness record
Deliver an automation capstone
Combine the course ideas into a tested workflow and a clear handover.
- Orchestrate a draft workflow
- Report test evidence honestly
- Practical: Finish the workshop assistant
Free, open and run by a nonprofit.
This page is part of AI Automation, a free course of 20 modules and 60 lessons in the engineering.fit( ) Learning Lab. The Learning Lab is built and run by engineering.fit( ), a nonprofit founded by Abdullateef Opeyemi Bakare that helps African engineering students gain research experience. You do not need an account or pay a fee to learn.