loOkiYar Academy — from zero to building agents

New to AI? Start at step 1. Each step prepares you for the next.

Where should I start?

Quick Assessment: 10 minutes, free. Then you’ll know which lesson to start with.

Quick assessment

Start from zero — 7 days, 10 minutes a day

Never used AI before? Start here.

Start from zero

  1. Have your first AI chat · 6 min

    AI is a helper you talk to. Ask it a simple question and improve the answer with a second message.

  2. How to ask for a better answer · 6 min

    Say three things: what you want, who it's for, and what shape it should take.

  3. Show it a photo and talk to it · 7 min

    You don't always have to type. Send a photo, talk with your voice, and check what the AI sees.

  4. AI makes mistakes too: how to spot them · 7 min

    AI is sometimes confidently wrong. Learn to check its numbers and claims yourself.

  5. Ten things to keep out of AI chats · 7 min

    Passwords, SMS codes, card details and a few more never go into a chat. Learn to ask without them.

  6. Make your first AI image · 8 min

    Make a picture with a few simple sentences, then check it and fix what's wrong.

  7. Hand over a recurring task · 7 min

    Write one fixed instruction and only change the blanks each week.

How does AI work? — Just as much as you need

Seven short lessons on what happens behind an AI answer.

How does AI work?

  1. Tokens, Context Windows and Cost · 7 min

    Measure tokens, understand what fills the context window, and estimate the cost of a recurring task, with attention to Persian text.

  2. Context Management: What to Give and What to Leave Out · 7 min

    Select necessary, authoritative, fresh and permitted context, order long documents well, separate data from instructions and manage history.

  3. Anatomy of an Actionable Prompt · 7 min

    The six parts of an actionable prompt and how to turn a vague request into one whose output you can check.

  4. Why Models Fail and How to Catch It Early · 7 min

    Seven common failure patterns of language models, their causes, and three quick checks to catch errors before they reach your work.

  5. Skills, Plugins and Connectors: Adding Capability and Access to Your Assistant · 8 min

    Tell whether a job lacks a repeatable method (skill), access to another app or data (connector/app), or both (plugin or a combination); set the permission ceiling from the real task, understand what MCP and SKILL.md do and do not make portable, and answer five questions before connecting anything.

  6. Choosing the Tool: Assistant, Template, Automation or Agent? · 7 min

    For each opportunity pick the simplest sufficient form: assistant chat, prompt template, automated workflow or agent, and know what extra complexity costs.

  7. Data, Privacy and Confidentiality · 7 min

    Classify and minimize data before using AI; separately verify training, retention, human access, third parties, and organizational permission.

Build! — Sites, videos, assistants and bots with AI

Order it, check what you get, get it fixed. No coding.

Build sites and apps — No coding

  1. Build Your First App by Talking (Vibe Coding) · 7 min

    Learn how to turn a plain-language Persian prompt into your first interactive web app, test it like a customer, and ask AI to fix defects without writing code.

  2. Project: Build Your Business Website in 30 Minutes · 10 min

    Use a structured four-part brief to generate a clean, Persian right-to-left one-page website for your business and strip out AI placeholder content.

  3. Check Your AI-Built Site: 5 Essential Spots · 8 min

    Before sharing your website link, inspect the five failure points AI tools most commonly leave behind: mobile layout, Persian RTL/fonts, forms, links, and speed.

  4. Code Broke? How to Ask AI to Fix It · 7 min

    When your site breaks or throws an error, learn the four-part bug report method to get AI to diagnose the root cause without breaking working features.

  5. Git and GitHub for Builders · 8 min

    Version workflows, scripts and prompts with Git, change them through branches and pull requests, and handle a leaked key in the right order.

  6. Configuration, Environments and Secrets · 9 min

    Separate config from code, refuse to start on bad config, keep secrets out of logs and images, and have a rotation path for each secret.

  7. Project: Build a Mini-Tool for Your Own Daily Work · 10 min

    Build a private, single-file Persian mini-tool for one repetitive daily task with browser persistence, Jalali dates, and backup export.

Make videos and ads — Photos, film, motion

  1. Ownership, Disclosure, Bias and Law for Professionals · 55 min

    Separate licensing from copyright, disclose AI use appropriately, test bias and assign accountable review.

Build your own assistant — No code, with ChatGPT, Gemini or Claude

  1. Stable Instructions: From a One-off Prompt to a Fixed Assistant · 50 min

    Write standing instructions for a recurring task (mission, scope, tone, red lines, examples, behavior under ambiguity) and keep them in a tool-independent assistant spec.

  2. Assistant Knowledge Files: What to Give and What Not To · 50 min

    Choose the minimum knowledge, label each file with source, owner, date and sensitivity, write a data dictionary, and pass a privacy and injection checklist before uploading.

  3. Testing and Versioning an Assistant + Project · 50 min

    Build 8–10 test cases including hard, edge, red-line and attack cases, log results honestly with evidence, treat every change as a new version and rerun everything, then deliver a complete assistant package.

Build bots and smart assistants — By telling, not coding

  1. From Manual Procedure to Automation Design · 56 min

    Design before building: trigger, steps, decisions, human approval, error paths, duplicate prevention, monitoring.

  2. Your First Deterministic n8n Workflow · 62 min

    Build a complete workflow without AI: trigger, HTTP request, splitting items, a condition and output; then test, schedule and publish it.

  3. Credentials, HTTP Request and Pagination · 60 min

    Keep keys in credentials, call any API with the HTTP Request node, read every page with built-in pagination, and surface error responses.

  4. Human Approval and Action Boundaries · 60 min

    Decide which actions need approval, bind approval to the exact draft, approver role and deadline, and handle approve, reject and timeout.

  5. Messaging Channels: Telegram and Bale Bots · 60 min

    Build a channel-agnostic bot that processes each update once, keeps its token safe, respects platform limits and treats user text as data.

  6. Errors and Debugging in n8n · 60 min

    Choose per-node error behavior, enable retries only where they help, build an error workflow with alerts, and debug failed runs with their own data.

Speed up your daily work — Study, work, your Instagram page

  1. AI for Content Creators and Marketers · 60 min

    Assess ten marketing AI tasks, compare three source-aware editorial workflows, and produce a reviewable multi-channel content package from a controlled brief without auto-publishing.

  2. AI for Managers and Business Owners · 60 min

    Classify ten managerial AI use cases, compare three controlled workflows, and prototype and test an approval-gated request triage process using synthetic data.

  3. AI for Teachers and Educators · 60 min

    Map ten educational tasks to appropriate AI support, compare three pedagogically constrained workflows, and build a Socratic exercise and assessment package with independent learning checks.

  4. Mapping Repetitive Work and Valuing Opportunities · 48 min

    Break work into testable tasks, evaluate net time including verification and errors, and shortlist two evidence-based AI pilots while considering risk and non-AI alternatives.

  5. Repeatable Procedures: Templates, Checklists and Quality Criteria · 48 min

    Turn a selected opportunity into a versioned, auditable procedure with scope, permitted sources, steps, output contract, quality checks, exceptions, human approval and retesting.

  6. Delegating to Ready-Made Agents and Auditing the Result · 44 min

    Choose a ready-made agent type from the job (research, file work, browser or code), write a six-part mission with a definition of done and permission boundary, and audit the result with independent evidence: counts, units, sources and actions.

  7. Effective Learning with AI: Retrieval, Spacing and Tutoring · 55 min

    Use active retrieval, adaptive spaced practice, evidence-based feedback and bounded hint-based tutoring while measuring unassisted retention.

For pros — Deeper lessons

For going deeper: APIs, multi-agent systems, servers and teams.

The Common Language of Software: HTTP, JSON and APIs

  1. HTTP Requests and Responses for Workflow Builders · 58 min

    Learn the parts of an HTTP request and response, call a practice API and read what happened from the status code.

  2. JSON and Data Structures · 58 min

    Read and write JSON, find paths to nested fields, spot syntax and semantic errors, and flatten nested data into table rows.

  3. Authentication and Key Management · 58 min

    What an API key is, where it must and must not live, reading it from the environment, one least-privilege key per job, and what to do after a leak.

  4. Errors, Rate Limits and Retries · 60 min

    Classify errors, retry only retryable ones with exponential backoff and jitter, honour Retry-After, cap attempts, and use idempotency keys for POST.

  5. Webhooks: When Services Call You · 60 min

    Let services notify you instead of polling: verify webhook signatures, handle duplicate deliveries, acknowledge fast and do heavy work later.

  6. Calling LLM APIs with Provider Abstraction + Project 2 · 90 min

    Call a language model over its API behind a provider-neutral interface, with output validation and an error policy; deliver Project 2.

Connecting Models to Knowledge: RAG, Persian Search and Memory

  1. Knowledge Files, Long Context or RAG? Chunking and Citations · 60 min

    Choose among simple knowledge files, long context and retrieval-augmented generation; design context-preserving chunks and mechanically auditable evidence citations using local synthetic documents.

  2. Persian Search: Normalization, Embeddings, BM25 and Reranking · 60 min

    Design Persian-aware hybrid retrieval with tested normalization, lexical BM25, semantic retrieval, rank fusion and reranking; perform an offline exercise without pretending to run an embedding model.

  3. RAG Failure Modes and Evaluation · 60 min

    Diagnose retrieval and generation failures separately, measure recall and ranking, audit citations and stale evidence, and build an offline evaluation suite without fictitious accuracy guarantees.

  4. Agent Memory, Access Control, Personal Data and Capstone Project · 75 min

    Design scoped short- and long-term agent memory, enforce consent, per-user authorization, expiry and deletion, and complete an offline capstone testing cross-user isolation and memory poisoning.

Infrastructure Basics for Builders

  1. Docker and Compose · 60 min

    Package a service as an image and run several services with Compose: networking, healthchecks and volumes that keep data beyond containers.

  2. A Secure VPS: SSH, Firewall, Reverse Proxy and TLS · 75 min

    Secure a fresh server in order: key-only SSH, a firewall without locking yourself out, auto updates, and services published only via a TLS reverse proxy.

n8n in Production

  1. Deploying n8n with Docker: Backups and Upgrades · 75 min

    Deploy n8n with PostgreSQL, external task runners and a TLS proxy, keep the encryption key right, take restore-tested backups and upgrade pinned versions.

  2. Securing an n8n Instance · 60 min

    Threat-model an n8n instance and independently control webhooks, credentials, community nodes, model outputs, permissions, auditing and unauthorized actions.

  3. Preventing Duplicate Actions and Keeping Data Consistent · 60 min

    Treat duplicate deliveries and half-finished runs as normal: idempotency keys, deduplication, a step ledger and reconciliation before repeating an action.

  4. Monitoring, Alerting and Workflow Versioning · 75 min

    Three layers: an error workflow for failures, heartbeats and an outside watcher for silence and outages, and Git exports to undo changes.

AI Inside Workflows

  1. LLM Workflow Patterns · 58 min

    Know the four common model tasks in workflows, place each in a deterministic chain with checks and error paths, and prefer simple patterns.

  2. Structured Output and Validation in n8n · 60 min

    Structured model output in n8n with parsers or Information Extractor, parse failures on an error path, then deterministic value checks.

  3. A Chatbot with Memory + Project 3 · 84 min

    Build a chatbot with isolated sessions, a bounded history window, masking before storage and a forget path; deliver Project 3.

  4. Cost, Latency and Model Choice in Workflows · 60 min

    Compute real step cost from tokens, retries, human review and fixed cost, measure latency, and choose hosted or local models with numbers.

  5. Project 4: Email Assistant with Human Approval · 120 min

    Build an email assistant that dedupes, skips automated senders, validates drafts in code and sends only the approved text, exactly once.

Agents: From Concept to First Build

  1. Agent Design Patterns · 58 min

    Compare five workflow composition patterns and four complementary agentic design dimensions; choose the simplest viable architecture and write a constrained tool and stopping specification for a later build workshop.

Evaluating and Hardening Agents

  1. Agent Evals: Outcome, Trajectory and Regression · 46 min

    Build a test suite for a multi-step agent that checks both the final outcome and the trajectory (required and forbidden tools, arguments, stopping); put deterministic graders before model and human judges, separate hard gates from averaged scores, and run regression after every change.

  2. Agent Monitoring and Reliability · 43 min

    Build a trace log for an agent, set step, retry and budget limits and stop-on-forbidden-action before running, catch silent failures with four monitoring layers, and report rates without hiding unevaluated runs.

  3. The Real Cost and Value of an Agent · 42 min

    Compute the full cost per run (model, tools, judge, infrastructure, human review and errors), measure net value and ROI with explicit assumptions, see why human review usually costs more than tokens, and decide when an agent is worth it versus a deterministic workflow.

  4. Agent Governance, Permissions and Action Boundaries + Project · 43 min

    Review your agent's risks with the OWASP Top 10 for Agentic Applications, build an action-based permission matrix (read, draft, write, send, delete, pay), apply least agency, and deliver a complete assurance pack for one agent.

Multi-Agent Systems: When and When Not

  1. Single Agent, Workflow, or Multi-Agent? Economics and Compound Error · 50 min

    Choose the least complex justified architecture using task decomposition, dependencies, costs, and evidence; explain compounding errors and benchmark limits.

  2. Coordination Topologies: Orchestrator, Handoff, and Blackboard · 55 min

    Design and compare three coordination topologies via control/state ownership, message contracts, versioning, field ACLs, and stopping rules.

  3. Supervisors, Judges, Inter-Agent Attacks, and Capstone Project · 75 min

    Design a synthetic multi-agent capstone with deterministic gates, bounded judges, untrusted-message handling, human approval, and six explicit test cases.

Agents in Organizations

  1. Process Redesign and Build/No-Build Decision Before Agents · 55 min

    Redesign workflows and data contracts first; make an evidence-based build, no-build, or redesign decision before agent implementation.

  2. Agent Ownership, Versioning and Incident Management · 60 min

    Define accountable owners, composite releases, incident response, shutdown and human handoffs without conflating operational governance with technical telemetry.

  3. Team Adoption, Change Management and New Roles · 50 min

    Plan real adoption with case-mix-aware metrics, human roles, reviewer training and observable change-management activities.

  4. Project: Organizational Readiness Dossier and Stop Criteria · 75 min

    Build a seven-axis organizational readiness dossier with evidence, stop conditions and an auditable scoped GO/HOLD/NO-GO decision.

AI Data Analysis Without Numerical Errors

  1. Why LLM Arithmetic Fails: Formulas and Code Instead of Free-Text Math · 50 min

    Calculate synthetic sales with explicit KPI definitions, spreadsheet formulas, independent checks, and qualified reporting.

  2. Cleaning Persian Data: Letters, Digits, Jalali Dates and Rial/Toman · 55 min

    Normalize Persian text, digits, Jalali dates and monetary units with traceable, reversible quality controls.

  3. Statistical Literacy and Honest Charts · 55 min

    Audit center, percentiles, denominators, subgroup reversals and honest visualization on transparent synthetic data.

  4. Project: Auditable Sales Analysis · 75 min

    Complete a fully synthetic, auditable sales-analysis pipeline from raw CSV to reconciled numbers and a qualified management report.

Thinking and Learning with AI

  1. Think First: Cognitive Offloading and Cognitive Debt · 50 min

    Distinguish immediate deliverables from durable skills; use a think-assist-recall protocol and test independent performance.

  2. Jagged Frontier: Centaur and Cyborg Collaboration · 50 min

    Test task-specific AI capabilities against independent references, then design bounded centaur or cyborg collaboration.

  3. Project: A Personal Learning System Without Dependence · 60 min

    Build a 14-day learning evidence system with independent baseline, guided feedback, adaptive review and honest planned-versus-completed tracking.

From Prompt to Reliable Output

  1. Examples, Roles and System Instructions · 52 min

    Control format and tone with a few good examples, put fixed rules in a system instruction, and know what role prompting does and does not do.

  2. Task Decomposition, Prompt Chains and Reasoning Models · 52 min

    Break complex work into checkable steps, inspect each output before the next, and decide when a reasoning model is worth its cost and latency.

  3. Structured Output: Tables, JSON and Schemas · 58 min

    Get output a program can read: tables and JSON, an output contract with JSON Schema, provider structured-output modes and three-level validation.

  4. Testing and Versioning Prompts + Project 1 · 90 min

    Build a test set for a prompt, compare versions with numbers, catch regressions, and deliver Project 1: a structured prompt assistant.

Understand Generative AI

  1. Persian and Language Models: Cost, Accuracy, and Formatting · 55 min

    Measure Persian-specific tokenization and answer-quality issues; build and test a safe contract for Persian characters, currency, Jalali dates and bidirectional display.

Verification, Safety and Responsible Use

  1. Project: Team AI Use Policy · 60 min

    Create a seven-part AI-use policy, risk register and permission matrix, then test five failure scenarios.

Ready files — Take it and use it (the loOkiYar library)

Ready skills, workflows and prompts. Take one and use it now.

Which AI for which job?

  1. Choosing Models and Providers · 58 min

    Choose a model from task requirements, not hype: criteria, terms and data policies, open-model licenses, and a small evaluation on your own task.

A guide to n8n building blocks (nodes)

  1. What n8n Is, Where to Run It, and What Its License Allows · 58 min

    Get to know n8n, choose between Cloud and self-hosting with reasons, run it locally with Docker, and know what its license allows.

  2. Data in n8n: Items, Expressions and Mapping · 60 min

    Reach current-item and earlier-node data with expressions, map fields with Edit Fields, and know when item linking helps or breaks.

  3. Flow Logic: Branches, Loops, Aggregation and Sub-workflows · 62 min

    Route items with If and Switch, combine with Merge and Aggregate, batch with Loop Over Items and Wait, and reuse logic in sub-workflows.

Ready files · Tools by task · Workflow gallery

Academy guide

  • AI Foundations for Real Work

    Accurate, safe and verifiable work with AI for everyone: mental model, prompting, verification and repeatable procedures.

  • AI Automation

    Build verifiable recurring workflows with HTTP, n8n and LLMs, with error handling, human approval and safe deployment.

  • Building Software with Coding Agents

    Build and ship small software with coding agents, using specs, tests, review and permission control.

  • Agent Engineering

    From understanding agents and design patterns to evaluation, multi-agent systems and deploying agents in organizations.

Ready files