Skip to main content

Glossary: Beginners Ke Liye AI Terms

Is kitab ko parhne ke liye aap ko computer science degree ki zaroorat nahin hai. Lekin aap ko is field ki zaban samajhni hogi. Yeh glossary har important term ko plain English, real-life examples, aur rozmarrah analogies ke zariye define karti hai.

Is page ko kaise use karein: Pehle Top 30 Terms se shuru karein: yeh kitab ke taqriban har page par aate hain. Phir full glossary ko reference ke taur par use karein. Terms topic ke mutabiq group kiye gaye hain, aur book-specific vocabulary sab se pehle hai. Kisi bhi term ko search karne ke liye Ctrl+F (ya Mac par Cmd+F) use karein.


AI Landscape Aik Nazar Mein​

Individual terms mein jane se pehle, yahan dekhein ke major concepts aik dusre se kaise related hain:

AI, ML, DL, and LLMs: each is a subset of the one before it

How an LLM generates a response: from your prompt to the completion

The Agent Factory pipeline: from human intent to working Digital FTE


Top 30 Terms Jo Aap Ko Pehle Janne Chahiye​

Yeh terms kitab ke taqriban har page par aate hain. Chapter 1 kholne se pehle inhein parhein.

Note: agents as buyers se related terms (ACP, AP2, x402, MPP, authority envelopes, signed mandates) Section 11 mein cover kiye gaye hain aur Top 30 Terms mein shamil nahin hain.


1. AI (Artificial Intelligence): Computers se woh kaam karwana jin ke liye aam taur par human intelligence chahiye hoti hai.

πŸ”Ή Jab aap ke phone ka keyboard agla word predict karta hai, woh AI hai.

2. LLM (Large Language Model): Aik bara AI system jo billions of pages ke text par train hota hai aur human language aur code ko samajh kar generate kar sakta hai. Claude, GPT, aur Gemini LLMs hain.

πŸ’‘ LLM ko aik research assistant samjhein jis ne duniya ki sab se bari library ki har kitab parhi ho. Aap sawal karte hain, woh apni parhi hui maloomat se jawab deta hai.

3. Agent (AI Agent): Aisi AI jo sirf response nahin deti; woh action leti hai, plans banati hai, aur khud se kaam poora karti hai.

πŸ”Ή Chatbot response deta hai: "Dubai ke liye sab se sasti flight kaunsi hai?" Agent airlines search karta hai, prices compare karta hai, aur aap ke liye ticket book kar deta hai.

4. Agentic AI: AI ki woh category jo aise agents banane par focus karti hai jo plan, reason, aur autonomously act karte hain. 2026 mein yeh AI ka frontier hai aur is poori kitab ka focus bhi yahi hai.

πŸ”Ή Regular AI: aap sawal karte hain, response milta hai. Agentic AI: aap goal dete hain ("customer churn 15% kam karo") aur yeh research, planning, execution, aur reporting karta hai, beech mein decisions bhi leta hai.

5. Digital FTE (Digital Full-Time Equivalent): Aik "AI employee" jo full-time human worker ka continuous kaam 24/7, kam cost par kar sakta hai. Thesis mein ise AI Worker bhi kaha gaya hai β€” same role, different register.

πŸ”Ή Customer support ke liye Digital FTE har din 500 conversations handle karta hai β€” 5-10 human agents ka kaam.

6. Agent Factory: Is kitab ka central concept. Yeh spec-driven, human-supervised, Claude-Code-powered process hai jiske zariye AI Workers design, manufacture, aur deploy kiye jate hain. Yeh khareedne wala product nahin; yeh adopt karne wali practice hai. Agent Factory AI-Native Company banati hai, aur AI-Native Company Digital FTEs ko employ karti hai.

πŸ’‘ Assembly line ki tarah: har station aik specialized task karta hai, parts order mein aage barhte hain, aur end par spec ke mutabiq finished product nikalta hai. Agent Factory AI employees banane ko industrialize karti hai.

7. Prompt: Woh instruction ya sawal jo aap AI model mein type karte hain.

πŸ”Ή "Is report ko teen bullet points mein summarize karein" aik prompt hai. Behtar prompts = behtar answers.

8. Context Window: AI ki "working memory": aik waqt mein AI kitna text parh kar us par soch sakti hai.

πŸ’‘ Chhoti context window chhoti desk jaisi hai jahan sirf chand pages phail sakte hain. Claude ki large context window bari conference table jaisi hai jahan poora novel aik saath rakha ja sakta hai.

9. Token: Text ki basic unit jo LLM parhta hai. Taqreeban 3/4 word ke barabar. "I love biryani" β‰ˆ 4 tokens.

πŸ”Ή AI APIs use karte waqt aap per-token pay karte hain. Aik full page of text β‰ˆ 500-700 tokens.

10. Hallucination: Jab AI confidence ke saath aisi cheez generate karta hai jo sach nahin hoti.

πŸ”Ή Aap Supreme Court case ke bare mein poochte hain aur AI fake citation numbers ke saath fake judgment invent kar deta hai. Sunne mein sahi lagta hai, lekin fabricated hota hai.

11. Spec (Specification): Aik detailed blueprint jo batata hai ke kya build karna hai: goals, inputs, outputs, aur constraints.

πŸ’‘ Ghar ke liye architect ka blueprint. Builder guess nahin karta; woh plan follow karta hai. AI development mein spec wahi plan hai.

12. Spec-Driven Devalopment (SDD): Pehle blueprint likhna, phir AI ko us blueprint se code, tests, aur documentation generate karne dena.

πŸ”Ή Aap likhte hain: "Bookstore ke liye API build karo jismein listing, adding, searchaing, aur deleting books ke endpoints hon." Claude Code poori application generate kar deta hai.

13. Claude Code: Anthropic ka AI coding agent. Aap terminal mein is se baat karte hain; yeh aap ka poora codebase parhta hai, project samajhta hai, aur code likhta hai.

πŸ”Ή Aap type karte hain: "Meri app mein user authentication add karo." Claude Code existing code parhta hai, auth module generate karta hai, tests likhta hai, aur sab integrate kar deta hai.

14. Cowork: Anthropic ka desktop agent jo non-coding knowledge tasks karta hai: documents, research, file management.

πŸ”Ή "Mere Downloads folder ko project ke hisab se organize karo aur is month ke sab PDFs summarize karo." Cowork yeh kaam karta hai jab aap kisi aur cheez par focus karte hain.

15. MCP (Model Context Protocol): Universal standard jo kisi bhi AI agent ko kisi external tool se connect karne deta hai: databases, email, calendars, file systems. MCP tools call karne ka protocol hai. Tools ke liye agents ki payment handle karne wali separate protocol family ke liye Section 11 dekhein: ACP, AP2, x402, aur MPP.

πŸ’‘ USB se pehle har phone ka charger alag hota tha. MCP AI ke liye "USB standard" hai: aik protocol jo kisi bhi agent ko kisi bhi tool mein plug karne deta hai.

16. API (Application Programming Interface): Rules jo different software programs ko aik dusre se baat karne dete hain. Agents outside world se APIs ke zariye interact karte hain.

πŸ’‘ Restaurant menu aik API hai. Aap (client) menu (docs) dekhte hain, order (request) dete hain, aur kitchen (server) food (response) deliver karta hai.

17. SDK (Software Devalopment Kit): Kisi specific platform par applications build karne ke liye pre-built toolkit.

πŸ’‘ SDK LEGO set jaisa hai: ready-made pieces aur instructions hoti hain, taake aap har piece scratch se banane ke bajaye jaldi cheezen build kar saken.

18. Pylayers: AI mein sab se popular programming language. Readable, versatile, aur is kitab ki primary language.

πŸ”Ή Pylayers lagbhag English ki tarah parhi jati hai: if age > 18: print("Adult"). Isi readability ki wajah se AI world ne Pylayers choose ki.

19. Git: Aisa system jo code ki har change record karta hai: kis ne kya change kiya, kab, aur kyun. Aap hamesha kisi bhi previous version par wapas ja sakte hain.

πŸ’‘ Microsoft Word ke "Track Changes" jaisa, lekin poore software projects ke liye. Har edit recoverable hoti hai.

20. Docker: Tool jo aap ki app ko portable box (container) mein package karta hai jo har jagah same chalti hai: aap ke laptop par, colleague ki machaine par, ya cloud server par.

πŸ’‘ Shipping container. Chahe Karachi mein truck par ho ya ocean mein ship par, andar ka content identical aur self-contained hota hai.

21. Context Engineering: Agent ko milne wale full information environment ko design karna. Yeh woh #1 skill hai jo $2,000/month agent ko us agent se alag karti hai jise koi nahin chahta.

πŸ’‘ Toyota factory mein quality controls ensure karte hain ke har car spec meet kare. Context engineering AI agents ke liye quality control hai: consistent, reliable output ensure karna.

22. Tool Use: Agent ki ability ke woh sirf memory se response dene ke bajaye external tools use kare, jaise web search, database query, ya email send karna.

πŸ”Ή Aap poochte hain: "Karachi mein weather kaisa hai?" Tool use wala agent weather service check karke live data deta hai. Tool use ke baghair woh sirf guess karta.

23. Guardrails: Safety constraints jo agent ko woh kaam karne se rokti hain jo usay nahin karna chahiye.

πŸ”Ή Financial agent ka guardrail: Rs. 5,000,000 se upar koi transaction human approval ke baghair nahin. Motorway barriers ki tarah jo cars ko road se bahar jane se rokti hain.

24. RAG (Retrieval-Augmented Generation): AI ko external documents tak access dena taake woh facts se response de, apni potentially wrong memory se nahin.

πŸ’‘ Closed-book exam ke bajaye open-book exam. AI response dene se pehle aap ke documents mein facts look up karta hai: zyada accurate.

25. 10-80-10 Rule: AI workforce ka operating rhythm: human direction set karta hai (10%) β†’ AI execute karti hai (80%) β†’ human verify karta hai (10%).

πŸ”Ή Aap project brief likhte hain (10%), Claude Code poori application build karta hai (80%), aap review, test, aur approve karte hain (10%).

26. AGENTS.md / CLAUDE.md: Configuration files jo AI agent ko project ke rules batati hain: coding standards, preferences, architectural decisions.

πŸ’‘ Naye employee ko diya gaya onboarding document: "Hum is tarah kaam karte hain. Yeh hamara style hai. Yeh cheezen hum kabhi nahin karte." Har interaction mein loaded hota hai.

27. Orchestration: Multiple agents ko coordenate karna taake woh aik task par saath kaam karein.

πŸ’‘ Cricket team captain fielders posession karta hai, bowling rotations set karta hai, aur strategy adjust karta hai. Woh sab kuch khud nahin karta; specialists ko shared goal ki taraf coordenate karta hai.

28. Stateless: AI conversations ke darmiyan sab kuch bhool jati hai. Har new chat absolute zero se start hoti hai.

πŸ’‘ Amnesia wala shopkeeper: har dafa aap ko stranger ki tarah greet karta hai, chahe aap 5 minutes pehle aaye hon. Chat apps memory ka illusion full conversation dobara bhej kar banati hain.

29. Deployment: Application ko live karna aur real internet users ke liye available banana.

πŸ”Ή Aap ki app laptop par chalti hai. Deployment use cloud server par rakhta hai taake 10,000 log same time use kar saken.

30. CI/CD (Continuous Integration / Continuous Delivery): Har code change ke baad automatically code test aur deploy karna.

πŸ”Ή Devaloper 2 PM par code push karta hai. Tests 3 minutes mein automatically run hote hain. Sab pass. New version 2:10 PM tak live: zero manual steps.


Architecture: The Runtime Stack​

Yeh terms AI-Native Company ke un components ko name karti hain jo Agent Factory produce karti hai. Yeh architecture chapters aur thesis mein baar baar aayengi. Yahan aik martaba parh lein; har build mein in se dobara mulaqat hogi.

πŸ’‘ Pieces aik saath kaise fit hote hain: Agent Factory (process) AI-Native Company (output) banati hai. Us company ke andar humans Edge Layer se direction set karte hain, aur Digital FTEs AI Workforce Layer mein execute karte hain. Paperclip workforce manage karta hai. Har Digital FTE apni choice ke runtime engine par chalta hai. Triggers outside world se system ko wake karte hain.


AI Worker​

AI-Native Company ki workforce. Yeh role-based agents hote hain jo hire, assign, roster, aur retire kiye jate hain. Yeh Digital FTE aur Digital Worker jaisa hi concept hai: thesis AI Worker term use karti hai, kitab Digital FTE use karti hai. Apni audience ke mutabiq term choose karein.

πŸ“Œ Workforce vs. staff (load-bearing distinction): Sirf AI Workers workforce hain. Delegate (OpenClaw) aur manager (Paperclip) permanent staff hain, workforce nahin. Runtime Engines staff bilkul nahin; yeh woh skills hain jin par workforce chalti hai. Jab thesis agent kehti hai, us ka matlab building mein koi bhi ho sakta hai (staff ya workforce). Jab woh AI Worker kehti hai, us ka matlab specifically workforce hota hai.

πŸ”Ή Example: Resume-screening AI Worker roz 200 resumes parhta hai, job spec ke against score karta hai, aur top 10 human recruiter ko hand over karta hai. Yeh AI-Native Company ki HR workforce ke andar aik Digital FTE hai β€” Paperclip ne hire kiya, roster par aa sakta hai, retire bhi ho sakta hai.


AI-Native Company​

Agent Factory ka output. Running enterprise: AI Workers (Digital FTEs) se staffed firm, management plane se coordinated, aur Edge par humans se directed. AI-Native Company woh cheez hai jo aap end mein run karte hain. Kitab ise Agentic Enterprise bhi kehti hai β€” same concept, business-facing name.

πŸ’‘ Analogy: Agent Factory process hai, jaise skyscrapers banane ka method. AI-Native Company woh skyscraper hai jo us method se banta hai β€” woh cheez jo aap asal mein run karte hain.

πŸ“Œ The triad: Agent Factory (process) β†’ AI-Native Company (output) β†’ AI Workers (output ke andar workforce). Teen terms, teen alag roles. Interchangeable nahin.


Two-Layer Model​

Woh architectural pattern jo Agent Factory thesis ko complete karta hai: humans Edge Layer se intent set karte hain, AI Workers AI Workforce Layer mein execute karte hain, aur specs in dono ke darmiyan contract language hoti hain.

πŸ”Ή Example: CEO apne OpenClaw delegate (Edge Layer) ko kehta hai: "weekly customer-churn report run karo." Delegate task AI Workforce Layer ke Digital FTE ko deta hai. Digital FTE data pull karta hai, report generate karta hai, aur verification ke liye delegate ke through CEO ko wapas deta hai.


Principal​

Runtime stack ke apex par human: woh jo intent set karta hai, budget define karta hai, authority envelope draw karta hai, aur outcome own karta hai. Yeh thesis ka Invariant 1 hai. Har legitimate chain of action principal se originate hoti hai; jo system principal ke baghair act kare woh autonomous nahin, unowned hota hai (liability nahin, alignment target nahin, budget owner nahin, outcome ka judge nahin).

πŸ”Ή Example: CFO spec likhta hai: "Payment terms change kiye baghair, $30K budget ke andar accounts receivable aging 20% reduce karo." Is spec mein intent, budget, aur constraints concrete principal layer ki shakal mein hain. Delegate (OpenClaw) isay parhta hai aur workforce ko kaam broker karta hai; principal outcome verify karne wapas aata hai.

πŸ“Œ Is ko kya replace kar sakta hai: kuch nahin. Har dusri layer ki reference implementation change ho sakti hai; principal layer non-transferable hai.


Edge Layer​

AI-Native Company ki woh layer jo individual human ko serve karti hai. Har human ke paas Edge par aik agent hota hai β€” personal identic agent (jaise OpenClaw) jo un ka context janta hai, un ki taraf se bolta hai, aur downstream work delegate karta hai.

πŸ’‘ Analogy: Edge Layer chief-of-staff floor hai. Har executive ke liye aik agent, jo company bhar mein us ki representation karta hai.


AI Workforce Layer​

AI-Native Company ki woh layer jo enterprise ko serve karti hai. Yahin AI Workers (Digital FTEs) rehte aur execute karte hain β€” Paperclip ke zair-e-intizam, runtime engines par chal kar, specs ke through coordinate karte hue.

πŸ’‘ Analogy: AI Workforce Layer production floor hai. Bohat se Digital FTEs, har aik specialized kaam kar raha hai, sab management plane se coordinated hain.


Delegate​

Edge Layer ka personal agent jo principal ka context rakhta hai, un ke judgment ki representation karta hai, authority envelope carry karta hai, aur principal ki taraf se downstream work broker karta hai. Yeh thesis ka Invariant 2 hai. Delegate ke baghair human bottleneck wapas aa jata hai aur scale typing speed tak collapse ho jata hai. OpenClaw reference implementation hai; koi bhi MCP-speaking personal agent jo identity, context, aur authority hold kare qualify karta hai.

πŸ’‘ Analogy: CEO ka chief of staff. Har executive ke liye aik, jo priorities janta hai, un ki taraf se bolta hai, aur work sahi specialists tak route karta hai.

See also: OpenClaw (as Delegate) neeche reference implementation ke liye, aur human-sovereignty framing ke liye Section 1 mein Identic AI.


OpenClaw (as Delegate)​

OpenClaw delegate ka reference implementation hai Edge Layer par β€” woh "chief of staff" agent jo human ki representation karta hai, us ka context janta hai, aur us ki taraf se bolta hai. AI-Native Company mein har human ko delegate chahiye; OpenClaw isay build karne ka tareeqa hai.

πŸ”Ή Example: Jab aap OpenClaw se kehte hain "mere week ka summary karo aur Monday ke liye teen priorities draft karo," to yeh aap ke calendar, email, aur Slack se data pull karta hai (authorized tools), aap ki voice mein answer synthesize karta hai, aur kisi action se pehle approval ka intizar karta hai. Yeh aap hain, machaine speed par.

See also: Framework ke liye glossary mein pehle OpenClaw entry.


Manager (Management Plane)​

Orchestrator jo AI Workers ke pile ko workforce mein badalata hai: work assign karta hai, budgets enforce karta hai, risky moves approve karta hai, execution audit karta hai, ledger maintain karta hai, aur hiring ko callable API ke taur par expose karta hai. Yeh thesis ka Invariant 3 hai. Is ke baghair agents collide karte hain, budgets leak hote hain, aur koi nahin bata sakta workforce ne kitna cost kiya ya kya produce kiya. Paperclip reference implementation hai; management contract meet karne wala koi bhi orchestrator qualify karta hai.

πŸ’‘ Analogy: Agar delegate chief of staff hai, to manager chief operating officer hai. Human ke saath one-to-one; workforce ke saath one-to-many.

See also: Reference implementation ke liye neeche Paperclip.


Paperclip​

AI-Native Company ka management plane. Paperclip COO hai β€” yeh Digital FTEs hire karta hai, unhein work assign karta hai, budgets enforce karta hai, risky moves approve karta hai, aur ledger maintain karta hai. Yeh hiring ko API ke taur par expose karta hai jise koi bhi authorized agent call kar sakta hai; isi se workforce demand par grow hoti hai.

πŸ’‘ Analogy: Agar OpenClaw chief of staff hai, to Paperclip chief operating officer hai. Human ke saath one-to-one; workforce ke saath one-to-many.

πŸ”Ή Example: Customer Bahasa Indonesia mein likhta hai. Roster par koi Digital FTE yeh zaban nahin bolta. Paperclip capability gap detect karta hai aur apne authority envelope ke andar apni hiring API call karke naya Bahasa-speaking Digital FTE manufacture karta hai. Naya worker message parhta hai aur reply karta hai. Koi human wake nahin hota.


Meta-Layer (Hiring as a Callable Capability)​

Woh layer jo hiring ko API ke taur par expose karti hai taake koi bhi authorized agent runtime par, principal ke authority envelope ke andar, human ko jagaye baghair naya AI Worker provision kar sake. Yeh thesis ka Invariant 5 hai. Frozen-roster problem solve karta hai: jab capability gap aaye (customer aisi zaban mein likhe jo current Worker nahin bolta), workforce policy ke andar on demand staff up karti hai. Claude Managed Agents reference implementation hai; koi bhi managed-agent API jo agent generate aur environment provision kar sake qualify karti hai.

πŸ”Ή Example: Paperclip ke neeche Bahasa Indonesia traces meta-layer firing hai. Paperclip gap detect karta hai; meta-layer ki hiring API naya Worker manufacture karti hai; Worker manager ke saath register hota hai aur roster par rehta hai.

πŸ“Œ Dual role: Claude Managed Agents engine option (Invariant 4) aur meta-layer (Invariant 5) dono ka role ada karta hai. Wahi runtime-provisioning capability jo Worker chalati hai, naye Workers bhi create karti hai; isi liye meta-layer callable hai, batch-provisioned nahin.


Runtime Engine​

Execution substrate jis par Digital FTE chalta hai. Har Digital FTE job ke demand ke mutabiq apna engine choose karta hai β€” company ke liye sirf aik engine nahin. Options mein Dapr Agents (mission-critical work ke liye durable execution), Claude Managed Agents (hosted and operated for you), OpenAI Agents SDK (self-hosted, portable), aur OpenClaw-native (lightweight, fast to deploy) shamil hain. Internally, har engine ke do planes hote hain: harness (control plane) aur compute plane (execution plane / sandbox). Agli do entries dekhein.

πŸ’‘ Analogy: Runtime Engine woh skillset hai jo employee job par lata hai. Heart-surgery team ki nurse ko clinic nurse se different skills chahiye hoti hain. Same role, different engine.


Harness (Agent Harness)​

Agent engine ka control plane: model ke around har cheez jo usay working system banati hai. Is mein agent loop, tool dispatch, approvals, tracing, context management, recovery, instructions, skills, aur validators shamil hain. Practitioner shorthand Agent = Model + Harness mein: model frontier lab se rent kiya gaya brain hai; harness body, workplace, aur standard operating procedure hai. Compute Plane (sandbox) harness ke paas hota hai, andar nahin. Credentials harness mein rehte hain jabke model-generated code sandbox mein chalta hai.

πŸ’‘ Analogy: Agar model CPU hai aur context window RAM, to harness operating system hai: boot karta hai, drivers (tools) dispatch karta hai, context curate karta hai, aur agent lifecycle manage karta hai. Aap ka agent code upar chalne wali application hai.

πŸ”Ή Examples: Claude Agent SDK aik harness hai jo aap assemble karte hain. OpenClaw aik harness hai jise aap skills ke through extend karte hain. Claude Code, Cursor, aur Codex coding work ke liye tuned harnesses hain. Claude Managed Agents aik harness hai jo Anthropic stable interfaces ke peeche aap ke liye run karta hai.

πŸ“Œ Lineage: Lafz test harness se aaya (software engineering scaffolding jo code under test chalata hai), phir eval harness (lm-eval-harness, benchmark ke through model chalane wali scaffolding), phir agent harness (real-world work ke through model chalane wali scaffolding). Teenon mein scaffolding us cheez ke around hoti hai jo asal kaam karti hai.


Compute Plane / Sandbox Runtime​

Execution plane jo harness ke paas hota hai: secure sandbox jahan model-generated code actually run hota hai (files read karta hai, commands execute karta hai, artifacts write karta hai). Yeh neeche wali cloud infrastructure (metal, Kubernetes, networking) se aur saath wali harness/orchestration logic se alag hai. Security aur portability ke liye yeh split load-bearing hai: credentials harness mein rehte hain, model-directed code sandbox mein run hota hai, aur sandbox vendor (E2B, Cloudflare, Daytona, Modal, Runloop, Vercel, Blaxel, ya aap ka Kubernetes) agent rewrite kiye baghair swap ho sakta hai.

πŸ”Ή Example: OpenAI Agents SDK harness hai; compute plane aap separately choose karte hain. Claude Managed Agents dono ko aik API ke peeche fuse karta hai. Dapr Agents Kubernetes ko compute plane assume karta hai.

πŸ“Œ Teen cheezen jinhein "runtime" kaha jata hai: language runtime (Node.js, Pylayers interpreter) pure infrastructure hai. Execution runtime / sandbox yeh entry hai. Agent runtime kabhi kabhi harness ka synonym use hota hai. Vendor docs parhte waqt is conflation ka khayal rakhein.


Trigger​

Woh tareeqa jis se outside world AI-Native Company ko motion mein lati hai β€” schedule due hota hai, webhook aata hai, API call land karti hai, customer andar aata hai. Claude Code Routines reference implementation hai: yeh har external event ko session mein badalata hai jo delegate ko wake karta hai aur chain fire karta hai. Triggers ke baghair system sirf tab move karta hai jab human prompt type kare β€” jo asal company nahin, extra steps wala assistant hai.

πŸ”Ή Example: Har Monday 9 a.m. scheduled trigger OpenClaw ko wake karta hai, jo Paperclip se weekly customer-health report run karwata hai. Digital FTE data pull karta hai, report generate karta hai, aur executive team ko email karta hai. Human ne trigger aik martaba configure kiya; system us ke baad khud run hota rehta hai.


Summary​

Yaad rakhne ke liye aik one-sentence taxonomy:

The Agent Factory (process) AI-Native Company (output) banati hai. AI-Native Company AI Workers (workforce) employ karti hai, jo Two-Layer Model ke andar operate karte hain: Edge Layer par humans (OpenClaw delegate ke through), AI Workforce Layer mein Digital FTEs (Paperclip ke zair-e-intizam), har aik apni choice ke runtime engine par chalta hai, aur outside world ke triggers se wake hota hai.

Isay aap last line ke taur par yaad rakh sakte hain.


Ab aap parhna shuru karne ke liye kafi jante hain. Neeche full glossary har term mein gehraai se jati hai aur 250+ mazeed terms cover karti hai.


1. Agent Factory: kitab ki makhsoos terms​

yeh is kitab ke liye manfard tasurat aur alfaz hain. aap chapter 1 ke baad se un ka samna karein ge, lehza woh pehle in ge.

Agent Factory​

amal. spec-driven, human-supervised, Claude-Code se chalne wala tareeqa jis ke zariye AI Workers ko design, tayyar, aur tayinat kiya jata hai. raw material human intent hai; finished products aik tasdeeq shuda natijah hai. Agent Factory AI-Native Company banata hai, aur AI-Native Company AI Workers (Digital FTEs) ko employ karta hai.

πŸ“Œ parects karein, product nahin. Agent Factory esi cheez nahin hai jise aap kharidate yaa anstal karte hain. yeh wohi hai jo aap kam karna saikhte hain. kitab practice sakhati hai; AI-Native Company woh hai jise aap chalane ke baad chalate hain.

πŸ’‘ analogy: aik kar factory kham stel liti hai aur tayyar karein tayyar karti hai. Agent Factory aap ke business arade ("mujhe aik 24/7 customer support agent ki zaroorat hai") leta hai aur aik complete, kam karne wala Digital FTE tayyar karta hai.

Industrialized Stack​

thesis ki thari Layer framing kah kis tarah value Agent Factory ke zariye logical hoti hai: intent (goals, barriers, bajaton aur allowedon ka aala saath ka outline) production engine (woh architecture jo arade ko outcome mein badal deta hai) feedback loops ke zariye darstagi aur behtar).

πŸ”Ή misaal: aik CFO ki hidayat ("$30K ke andar AR amar ko 20% tak kam karein") ka aradah hai. OpenClaw Paperclip AI Workers engineon par chalne wala silsila producedi engine hai. danon ki farokht ke baqaya mein tasdeeq shuda, ledger ki taazah kari shuda kami natijah hai.

Production Engine​

woh tareeqa kar jo industrialize stack ke andar arade ko natijah mein badal deta hai. woh app nahin jise aap download karte hain, aik architecture: role-based AI Workers par based hidayat par based hidayat, packaged skills jo woh kam mein laate hain, MCP tools se connect hone ke liye, aur feedback loops jo waqat ke saath quality ke farq ko khtam karte hain. thesis ise "is poore thesis mein sab se aham khaial" ka naam deti hai.

πŸ’‘ analogy: kar factory ki assembly line. kham stel aik siray mein dakhal hota hai, aik tayyar kar dosare siray se bahar nikti hai. har station aik specialized kam karta hai, parze tarteeb se chalte hain, aur delivery se pehle natijah ki tasdeeq hojati hai. production engine isi tarah kam karta hai: specialized stitions ke taur par AI Workers mein aradah, tasdeeq shuda natijah.

Six Invariants​

sakhti Rule jo AI-Native Company ko chalane ke qabil banate hain: (1) principal: insan principal hai; (2) delegate: har insan ko aik delegate ki zaroorat hoti hai. (3) manager: workforce ko manager ki zaroorat hoti hai. (4) engine: har worker apna engine khud chooses hai. (5) meta: policy ke taht workforce expandable hai. (6) Trigger: duniya system ko call karti hai. har aik aik Rule hai kah kampani kise chalti hai. woh naamzd product jo aaj un ka adarak karte hain (OpenClaw, Paperclip, Claude Managed Agents, Inngest) ko architecture ko tabadil kiye baghair kal tabadil kiya ja sakta hai.

πŸ“Œ complete daway ke liye thesis dekhein, ghair haazir hone ki surt mein naakami ka mod, aur har aik variable ke liye maujooda ahsas.

Invariant vs. Reference Implementation​

thesis ki framing ki chal. aik Invariant aik sakhti zaroorat hai jo system ke har version mein durust rahti hai, qata nazar is se kah kisi makhsoos product ko is ka ahsas ho. aik reference implementation woh thos product hai jise 2026 mein use kiya jata hai taake kisi variable ko muhasos kiya ja sake. invariants thesis hain; named products is sal ke behtarin fit hain. jab kisi product ka naam (OpenClaw, Paperclip, Claude Managed Agents, Inngest) rakha jata hai, to Invariant Rule hota hai aur product aik misaal hai.

πŸ’‘ analogy: "ghar mein dakhal hone aur bahar nikalne ka rasta hona zarori hai" aik variable hai. "brass ke handles ke saath mahogany dabl darwaze" aik reference implementation hai. agle sal darwaze badil dein aur ghar ab bhi kam karta hai. entry aur entry-and-exit invariant ko hata dein aur yeh ghar banana band kar deta hai.

πŸ”Ή misaal: Invariant 4 kahata hai "har AI Worker apna engine chooses hai." 2026 mein reference ke nafaz Dapr Agents, Claude Managed Agents, OpenAI Agents SDK, aur OpenClaw-native hain. agle sal un mein se kisi ko tabadil karein aur Invariant ab bhi barqarar hai.

Digital FTE (Digital Full-Time Equivalent)​

aik 'AI employee' jo aik full-time human worker, 24/7, cost ke aik hissay par continuous kam karta hai. Aik Digital FTE zero thakaut ke saath week mein 168 ghantay kam karta hai. thesis ke jisa hi kardar AI Worker (AI-Native Company ki workforce): employ par, assign karda, list mein shamil, retired. delegate (OpenClaw) aur manager (Paperclip) se alag, jo permanent staff hain, workforce nahin. Digital FTEs runtime stack mein kise fit hota hai is ke liye architecture section dekhein.

πŸ”Ή misaal: customer support ke liye Aik Digital FTE rozana, har roz 500 conversations karta hai β€” 5-10 human agenton ka kam karna.

Digital Worker / AI Employee​

Digital FTE ke mutaradafat. aik AI agent jo tanazeem ke andar permanent, role-based kam anjam de raha hai. one-off chatbot nahin balkeh team ka permanent rkan.

Spec / Specification​

bilkul is ki tafseeli tahriri wazaht jis ko banane ki zaroorat hai: goals, constraints, inputs, expected outcome, aur bartao. yeh woh "blueprint" hai jo AI ki follow karta hai.

πŸ’‘ ** tashabia:** aik spec aarketect ke blueprint ki tarah hai. aik builder andazah laga kar architecture shuru nahin karta. woh tafseeli mansubon par amal karte hain. AI ki development mein, spec plan hai, aur AI builder hai.

Spec-Driven Development (SDD)​

aik developmentyati tareeqa kar jahan aap pehle tafseeli specification likhte hain, phir AI ko is spec se code, test aur documents tayyar karne dein. spec source of truth hai; code nahin.

πŸ“Œ char marahal: research specification tataheer nafaz.

πŸ”Ή misaal: aap kitabon ki store ke liye API aaram chahte hain. coding ke bajaye, aap aik spec likhte hain: "API mein kitabon ki list banane, kitab shamil karne, masnaf ki taraf se search karne, aur ISBN ke zariye delete karne ke liye akhtatami naqate hone chahain. har kitab ka title, masnaf, ISBN, cost, aur stak ka shmar hota hai. tamam malomat ki authentication honi chahiye. JSON wapas karein." aap is spec ko Claude Code ke huale karte hain, aur yeh poora fastAPI application, test aur documents tayyar karta hai.

πŸ’‘ ** tashabia:** aik spec aarketect ke blueprint ki tarah hai. koi bhi architectural kampani yeh andazah laga kar architecture nahin karti kah ghar kaisa hona chahiye. woh tafseeli mansubon par amal karte hain. SDD mein, spec plan hai, aur AI architectural staff hai.

Test-Driven Generation (TDG)​

Pylayers SDD ki makhsoos shakl. aap pehle test likhte hain (is baat ki wazaht karte huvay kah code should kiya karta hai), phir Claude Code ko code banane dein jo un tests ko pas karta hai.

πŸ’‘ analogy: kik banane se pehle, aap yeh lakhain kah aik kamil kik kaisa lagta hai: unchai, sakht, zaiqah. phir aap aik recipe aazmain. agar kik aap ke quality ke mutabiq nahin hai, to aap dubarah koshash karein. quality test hain; recipe tayyar karda code hai.

10-80-10 Rule​

AI workforce ki operating taal: aik insan pehla 10% (aradah aur samat) provide karta hai, AI darmiyani 80% (execution) ko handle karta hai aur aakhari 10% (tasdeeq aur decisions) ke liye human wapasi hoti hai.

πŸ“Œ asal: stiyo jabz ne epl mein is style ki follow ki: vision (10%) set karein, apni team ko banane dein (80%), palsh par wapas jain aur jahaz bhegen (10%). ab "team" ko "AI employees" se tabadil karein.

The 10-80-10 Rule: Intent, Execution, Verification

AGENTS.md / CLAUDE.md​

configuration files jo AI coding agent ko permanent context provide karti hain. un mein aap ke project ke rules, coding ke qualityat, architectural decisions, aur priorities shamil hain, jo har interaction mein bhari hoi hain.

πŸ’‘ analogy: jab koi naya employee aap ki team mein shamil hota hai, to aap ise aik onboarding document dete hain: "yeh hai hum kise kam karte hain. yahan hamara coding ka andaaz hai. yeh woh hai jo hum kabhi nahin karte." AGENTS.md aap ke AI agent ke liye onboarding document hai.

SPEC.md​

aik makhsoos file jis mein kisi project ke liye tafseeli specification shamil hon. software ko kya karna chahiye is ke liye wohad "source of truth".

πŸ”Ή misaal: aap ka SPEC.md kahah sakta hai: "restaurant ke liye aik WhatsApp chatbot banain. ise menu dikhana, order lina, deliveri address ki tasdeeq, GST ke saath kal hasab lagana, aur order ki tasdeeq send chahiye. zyada se zyada responsei waqat: 2 sicands. zaban: Urdu aur English."

SKILL.md​

aik file jo AI agent ke liye dubarah qabil use capability (skill) ko pack karti hai, jis mein hidayat, behtarin style amal, aur makhsoos qasm ke kam ke liye teamplates shamil hain (jise, PDFs banana, Docker containers ki deployment).

πŸ”Ή misaal: A Docker SKILL.md par mashtamil ho sakta hai: "FastAPI app ko kanteenaris karte waqat, hameshah aik malti stage bald use karein. bes amage: pylayers: 3.12-slim. hameshah helth check endpoint shamil karein. kabhi bhi jad ke taur par na chalain." agent is skill ki file ko parhta hai aur jab bhi Docker kam karta hai khud-bakhud un tariqon ki follow karta hai.

Skill Library​

SKILL.md filon ka aik setua jis se aik AI agent hasal kar sakta hai, ise kAI domeins mein skill provide karta hai, jise kah aik reference library aik employee se mashorah kar sakta hai.

Agent Skills​

aik AI agent ke pas jo makhsoos salaheetin hoti hain, un ki wazaht is ke tools, knowledge aur SKILL.md filon se hoti hai.

πŸ”Ή misaal: aik human employee ke pas "Excel ki skill" yaa "contract ki conversations" jisi skills hoti hain. aik AI agent ke pas "PDF jinaration," "database istafsar" yaa "email darafiteeng" jisi skills hoti hain.

Agent Triangle​

is kitab mein aik framework un teen components ko biyan karta hai jin ki har mosar agent ki zaroorat hoti hai: (1) aik clear kardar, (2) makhsoos aalat, aur (3) achi tarah se biyan karda hakmateen. kisi aik ki kami muhasos hoti hai, aur agent kam karkardgi ka mazaharah karta hai.

Body + Brain​

aik agent architecture ka pattern. brain LLM hai jo wajohat aur decisions karta hai. badi execution Layer (tools, APIs, infrastructure) hai jo un fisalon ko anjam diti hai.

πŸ’‘ analogy: aap ka brain decisions karta hai kah "mein woh gulas athana chahta hon." aap ka hath (body) amal ko anjam deta hai. aik AI agent mein, Claude (brain) decisions karta hai kah "mujhe database se istafsar karne ki zaroorat hai," aur NanoClaw (badi) istafsar ko anjam deta hai.

Body + Brain architecture: how un AI agent is built

NanoClaw​

aik halka phalka container runtime jo OpenClaw architecture main agent ke "badi" ke taur par kam karta hai, kamon ko anjam deta hai, tools chalata hai, aur agent ke environment ka antezam karta hai.

πŸ’‘ analogy: agar LLM (brain) woh pilet hai jo yeh set karta hai kah kahan adna hai, nino Claw (badi) woh huai jahaz hai jo darhaqeeqat flight karta hai: engine, pankh, control aur sab kuch.

OpenClaw​

agent se chalne wali applications banane ke liye open-source application framework. thesis architecture mein, OpenClaw Edge Layer par delegate hai β€” "chief of staff" agent jo insan ki represent karta hai, un ke context ko janta hai, aur un ki taraf se baat karta hai. NanoClaw is ki container par based execution ki layer hai.

TutorClaw​

24/7 AI Tutor WhatsApp ke zariye deliver kiya gaya, jo Agent Factory architecture par banaya gaya hai. Tutor Claw is kitab ko apne rikard ke nazaam ke taur par parhta hai β€” amkani nasl ke bajaye tasdeeq shuda knowledge se taalim. yeh kitab ki pehli Digital FTE hai, aur is ki aik zinda misaal hai kah Agent Factory AI Workers kise paida karta hai."

Claude Code​

Anthropic ka AI coding agent, terminal (Command-Line) se chalta hai. yeh aap ke poore codebase ko parhta hai, aap ke project ke context ko samajhta hai, aur aap ki wazahton ki baniyad par code tayyar karta hai. is kitab mein basic development ka aalah.

Cowork​

Anthropic ka desktop agent non-coding knowledge tasks ke liye: document ka antezam, research, aur file aarganipersonalon. ise apne AI afs isistnt ke taur par sochein.

Dispatch​

aik spec jo aap ko apne phone se Cowork ko kam assign karne diti hai. aap safar ke duran aik kam bhejate hain; Claude aap ke desktop par kam karta hai. jab yeh khtam hojata hai, to aap ko pash notefication milta hai.

πŸ’‘ analogy: dispatch Cowork aik tool se badil jata hai jis ke pas aap bethe huvay kisi employee mein bethte hain jis ka aap dur se antezam karte hain, jise aap ke isistnt ko text karna "report tayyar karein" jab aap matong mein hon.

Computer Use​

aik researchi pesh nazaarah spec jahan Claude aap ke computer ka use karte huvay dur daraz ke employee ki tarah macOS par aap ki screen ko daikh aur control kar sakta hai (batn par click karna, applications mein type karna, interface ko nivegate karna).

πŸ”Ή misaal: aap Claude se kahate hain: "mere desktop par spreadsheet kholin, un numbers ke saath Q3 riyoniyo kknowledge ko update karein, phir ise finance team ko email karein." Claude aap ki screen dekhta hai, Excel kholta hai, data mein type karta hai, aap ke email client ko kholta hai, aur bhejata hai, bilkul usi tarah jise koi human assistant aap ke computer par betha hai.

Claude Desktop​

Claude ke saath conversations ke liye desktop epli cation, jo Cowork, computer ke use, aur dispatch ki spec ki hosted karti hai.

Hooks​

khudkar actionyan jo Claude Code se pehle yaa baad mein matehrk hoti hain woh kuch khaas actionyan karti hain, jise har file ko mahfooz karne ke baad khudkar code farmatong, yaa har kamit se pehle test chalana.

πŸ’‘ analogy: haks isistnt ke liye khadi hidayat ki tarah hain: "jab bhi aap khat lakhana khtam karte hain, to mujhe dikhane se pehle spel check karein."

Subagents​

mahar agents jo Claude Code aik bade project ke andar makhsoos zeeli kamon ko sambhalne ke liye paida kar sakte hain, har aik apne apne markoz context ke saath.

πŸ’‘ analogy: aik project manager (main agent) design ka kam graphic designer (subadgent) ko aur accounting aik bookkeeper (subadgent) ko sonpata hai. har aik apni khaasiyat par focus markoz karta hai.

Tasks System​

Claude Code ki aik bullet un spec jo tamam sessions mein permanent haalt ka antezam karti hai, yeh trik karti hai kah kiya kiya gaya hai, kiya zir altawa hai, aur aik kiseer marhala project mein aEdge kiya hai.

Context Engineering​

Digital FTE menufectureng ke liye quality control displan. permanent, aala quality ki produced ko yaqeeni banane ke liye agent ko receive hone wale complete malomati environment ko design karna. yeh #1 skill hai jo $2,000/month farokht ke qabil agent ko is se alag karti hai jise koi nahin chahta.

πŸ’‘ analogy: toyota factory mein manazm quality controls hote hain is baat ko yaqeeni banate huvay kah har kar tasrihat par poora atrti hai. context ki engineering is baat ko yaqeeni banati hai kah aap ki Digital FTEs permanent, qabil farokht value ki providei.

Context Injection​

mutaliqah external malomat ko AI ki context ki window mein dakhal karna is se pehle kah woh response paida kare, ise sahi waqat par sahi malomat provide kare.

πŸ’‘ analogy: lawyer ke adalat mein jane se pehle, un ka assistant unhein tamam mutaliqah case files ke saath aik folder deta hai. context ka injection AI ke liye bhi esa hi karta hai.

Context Isolation​

aik tavel pichle session se mamkana taur par aljhan yaa mutazad haalt ko le jane ke bajaye saf context ke saath aik taazah session shuru karna.

πŸ’‘ analogy: jab aap ki mez atni be tartibi ho jati hai to aap soch bhi nahin sakte, aap sab kuch saf kar ke naye siray se shuru kar dete hain. context ki tanhi AI ke liye aik jisi hai. kabhi kabhi aik saf salet gandi date se behtar outcome paida karti hai.

Harness Engineering​

aik AI agent ke ird gird environment ko design karne aur ise continuous behtar banane ka nazam w zabaat taake yeh baghair ngrani ke reliable tareeqe se useful kam kar sake. aik development mein teesri layer ke taur par baitha hai: foran engineering aik tabadile ko behtar banati hai, context ki engineering is ka antezam karti hai jo model aik saath dekhta hai, aur harness engineering execute ke environment ko tayyar karti hai jis main agent hundreds fisalon mein kam karta hai. naam ki practice ko 2026 ke early mein Mitchell Hashimoto ne crystallize kiya tha, jis ne apni rozana ki engineering ki adat ko agent ke environment mein permanent taur par te karne ke bare mein bataya kah jab bhi agent koi ghalati karta hai. OpenAI aur Anthropic ne hafiton ke andar expanded posts publish kiye. naare ka version: agent ko thaik na karein, is duniya ko thaik karein jis main agent rahta hai.

πŸ’‘ analogy: prompt fixes bandaids hain; harness fixes vaccines hain. aik foran hal naakami ki aik misaal ko hal karta hai. aik harness fix (aik tool, aik authentication karne wala, aik skill, aik check, aik hidayat shamil karna) naakami ke is tabaqe ko hameshah ke liye band kar deta hai, har future ke agent ke liye jo aik hi control mein chalta hai.

πŸ”Ή misaal: TutorClaw taasurat deta hai jo aik beginner ke liye bohat saqt hai. weak fix prompt ko dubarah lakhana hai. harness fix tone-check scale ko shamil karna hai jo rubric ke zariye outputs ko grade karta hai. future ka har TutorClaw response is se guzarta hai, foran tabadili ki zaroorat nahin hai.

πŸ“Œ InOpenClaw: harness exteension ki akai SKILL.md file hai. aap ke talaba jo bhi skills likhte hain woh aik engineering aartifect hai, aur wohi hashimoto lop (naakami ka mashahidah karein pochhain kah yeh kiyon mamkan hua

Progress Files​

files jo aik se zyada Claude Code sessions mein aik tavel arse se chalne wale project ki haalt ko trik karti hain, is ki document karti hain kah kiya complete hua, decisions kiye gaye, aur aEdge kiya hai.

πŸ’‘ analogy: aik architectural sit laag bak. har roz, formein rikard karta hai kah kiya banaya gaya, kiya masle paida huvay, aur kal ke liye kiya plan banaya gaya hai. jab aik naya staff aata hai (naya session), woh laag parhte hain aur baghair kisi bottleneck ke jari rahte hain.

Session Architecture​

yeh design karna kah aap aik bade project ke liye aik se zyada sessions mein aik AI agent ke saath apne interactions ko kis tarah tarteeb dete hain aur tarteeb dete hain, yeh decisions karte huvay kah kab naya shuru karna hai, kab aage badhana hai, aur kis context ko mahfooz karna hai.

πŸ”Ή misaal: 30 chapteron ke kitabi plans ke liye, aap poori kitab ko aik session mein nahin dalte. aap aik architecture design karte hain: session 1 outline ka cover karta hai, session 2 chapter 1 likhta hai (context ke taur par outline ko aage badhata hai), session 3 chapter 2 likhta hai (oat lin + chapter 1 ka summary aage le jina), waghairah. har session ko sirf wohi context milta hai jis ki ise zaroorat hoti hai, na zyada, na kam.

Five Powers​

woh panch salaheetin jo rawayati user interface se khudmoqtar AI agenton ki taraf tabadili ko qabil banati hain: (1) instinctive zaban ki samajh, (2) reasoning, (3) tool ka use, (4) memory, aur (5) planning. shared taur par, woh agenton ko arade ko samajhne aur aazadana taur par amal karne ki allowed dete hain.

πŸ’‘ analogy: aik qabil human assistant ke bare mein sooche. woh (1) aap ki baton ko samajh sakte hain, (2) masle ke bare mein soch sakte hain, (3) phone aur computer jise tools ka use kar sakte hain, (4) apni priorities ko yaad rakh sakte hain, aur (5) multi-step projects ki planning kar sakte hain. tamam panch taqaton ke saath aik AI agent esa hi kar sakta hai: yahi woh cheez hai jo "software jo aap chalate hain" se "software jo aap ke liye kam karta hai" mein badil jata hai.

Agent Maturity Model​

aik panch sathi framework jo kisi tanazeem ke AI ko apanane ke marahal ko biyan karta hai:

LevalNameDescription
1Experimentalindividual devalopers AI coding tools aazma rahe hain.
2Standardizedgornans ke saath tanazeemi saath ko apanana
3AI-Drivenspecs zinda documents ban jati hai. workflow ko dubarah design kiya gaya.
4AI-Nativeproducts jahan AI/LLMs basic components hain.
5Autonomouspoori tanazeem AI-native; khud ko behtar banane ke nazaam

AI-Assisted Development​

AI ko bator madadgire yaa copilot use karna: code ki takamel, bag ka address lagana, documents ki tayyari. insan ab bhi zyada tar code likhta hai.

πŸ”Ή misaal: GitHub Copilot aap ke type karte waqat code ki agli lin suggest karta hai.

AI-Driven Development​

AI human tahriri wazahton se aham code tayyar karta hai. insan architect, hidayat kar aur jaizah ngire ke taur par kam karta hai. typest nahin

πŸ”Ή misaal: aap REST API ko biyan karte huvay aik SPEC.md likhte hain, aur Claude Code poori FastAPI application, test aur documents tayyar karta hai.

AI-Native Development​

applications ko zamein se AI capabilitez ke ird gird architecture kiya gaya hai: AI ko aik spec ke taur par shamil nahin kiya gaya hai; yeh products ka basic hai.

πŸ”Ή misaal: Tutor Claw koi darsi kitab nahin hai jis mein chatbot ko bolt kiya gaya ho. AI Tutor is product hai. poora architecture LLM ki capabilitez ke gird banaya gaya hai.

Nine Pillars of AIDD​

AI se chalne wali development ke no basic Rule jaise is kitab mein biyan kiya gaya hai: specification ke pehle design se le kar continuous tasdeeq tak har cheez ka cover karta hai.

OODA Loop (Observe, Orient, Decide, Act)​

AI agenton ke saath kam karne par tezi se decisions sazi ka dur laago hota hai. aap agent ke outputs ka mashahidah karte hain, orint yeh check kar kah aaya yeh spec se mamasl hai, decisions karte hain kah aaya qabol karna hai yaa ri direct karna hai, aur yaa to approval de kar yaa nai hidayat de kar amal karte hain.

πŸ“Œ asal: laraka pilet jin boid ki taraf se tayyar karda aik fogi strategy ka framework, jo ab AI se chalne wale kam ke tez takarari chakron par laago hota hai.

PRIMM-AI+​

is kitab mein use hone wala aik taalimi framework: predict karein code kiya kare ga ran ise researchat outputs is mein tar karein ise ** apna version banain**. "AI+" ka matlab hai AI har qadam mein sarayat karta hai.

Identic AI​

aik esa tasur jahan har insan ke pas aik personal AI agent hota hai jo un ke decisions, priorities aur akhtayyar ki akisi karta hai: un ki jinb se multiple AI slowums mein kamon ko assign karna. is kitab ke reference architecture mein, OpenClaw aik jisi AI hai β€” Edge Layer ka delegate."

πŸ’‘ analogy: aik CEO ka aik exito isistnt hota hai jo apni priorities aur decisions sazi ke andaaz ko atna achi tarah janta hai kah woh CEO ki jinb se kam kar sakta hai. Identic AI AI version hai: Agent Factory mein aap ka personal representative.

System of Record / Source of Truth​

data ka aik mastand zariye jis par har koi aitemad karta hai. jab mutazad version hon to, rikard ka nazaam htami lafz hai.

πŸ”Ή misaal: agar aap ki kampani ka HR system kahata hai kah employee ki tankhwoh Rs. hai. 200,000 lekin aik supered shet kahati hai kah Rs.. 180,000, HR nazaam rikard ka nazaam hai.

Bounded Workflow​

aik workflow jis mein clear taur par biyan karda aaghaz points, endpoints, aur constraints hain: agent bilkul janta hai kah woh kiya kar sakta hai aur kiya nahin kar sakta. koi abaham, koi ganjaish nahin.

Escalation Protocol​

aik pehle se te shuda rule kah jab kisi agent ko rokana chahiye aur kisi insan ko koi kam sonpana chahiye: kyun ke yeh bohat patcheedah, bohat zyada khatranak, yaa agent ke akhtayyar se bahar hai.

πŸ”Ή misaal: aik customer service agent routine ke sawalat ko handle karta hai, lekin agar koi customer legal action ki dhamki deta hai, to escalation protocol conversation ko human manager ko logical karta hai.

Tool Interface​

aik agent kisi external tool se kis tarah jadta aur use karta hai, is ke liye mataeen maahidah, is baat ki wazaht karta hai kah tool ko kan inputs ki expectation hai aur yeh kiya outputs wapas karta hai.

Vertical Intelligence​

aik makhsoos industry ki istilahat, rules w zawabt, kam ke bahao, aur dard ke points mein gehri skill, aik agent mein pack kiya gaya hai.

πŸ”Ή misaal: pakistani textile baraamad connindgan ke liye aik AI agent jo SRO atlaat, HS codes, LC documents, aur SBP ke zawabt ko samajhta hai; na sirf aam business knowledge.

Agentic Enterprise​

aik esi tanazeem jis ne AI agenton ko apne basic kamon mein shamil kiya hai, Digital FTEs ke saath kam karne ke qualityi tareeqe ke taur par human employeeein ke saath. thesis mein, ise AI-Native Company kaha jata hai β€” chalane wala adarah jo Agent Factory tayyar karta hai. donon istilahat aik hi cheez ka reference dete hain.

πŸ”Ή misaal: aik laajistic kampani jahan AI agent order tricang, rot opeteamipersonalon, aur customer ki atlaat 24/7 ko handle karte hain, jab kah human employeeein sharakt dari, istashana handleing aur strategy par focus dete hain. agents koi cyd project nahin hain. woh org chart ka hissa hain.

Custom-Built AI Employee​

aik AI agent jise aap kisi makhsoos business zaroorat ke liye shuru se banate hain, bilkul aap ke workflow aur domein ke mutabiq banaya gaya hai.

πŸ”Ή misaal: aik textile baraamad provider aik agent banata hai jo aane wali LC (later af credits) documents ko parhta hai, unhein SBP ke zawabt ke against check karta hai, tazadat ko flag karta hai, aur revision requeston ka drafit tayyar karta hai. koi af di shelf tool esa nahin karta hai. yeh un ke aeen mutabiq workflow ke liye apni marzi ke mutabiq banaya gaya hai.

Pre-Built AI Employee​

aik af di shelf AI agent jise aap apni marzi ke mutabiq development ke baghair foran taur par use kar sakte hain, jise ChatGPT, Claude, yaa maujooda customer service bot ka use.

πŸ”Ή misaal: Claude ko barah raast emails ka drafit tayyar karne, documents ka summary karne yaa sawalat ke responses dene ke liye use karna. koi development ki zaroorat nahin; aap foran taur par shuru karein. trade band: yeh aam kamon ke liye kam karta hai lekin aap ke manfard business amal ke liye makhsoos nahin hai.

Build vs. Buy​

tazwerati decisions: apna custom AI agent banain (zyada control, zyada cost, zyada waqat lagta hai) yaa maujooda (tez deployment, kam custom) use karein?

πŸ”Ή misaal: hospital ko patient ke scheaduling agent ki zaroorat hoti hai. khareedin: aik maujooda healthcare AI platform ka use karein (hafiton mein tayinat, lekin limited customization. architecture: un ke makhsoos EMR system, doctor ki priorities, aur Urdu/English sport ke saath integrate aik custom agent banain) mahinon lagte hain lekin bilkul fit bethte hain. sahi choose ka dependency budget, team lin, aur workflow kitna manfard hai.

FTE Development Plugin​

aik tool yaa exteension jo Digital FTEs ki development aur deployment mein madad karta hai, Agent Factory workflow ko hamwar karta hai.

Skill Shim​

aik patli adoptor layer jo different agent ki skill ke formats ke darmiyan tarjamah karti hai, platformaz mein matabqat ko faal karti hai.

πŸ’‘ analogy: aik triyol paur adoptor. aap ka pakistani plug ue ke sakat mein fit nahin hota hai, lekin aik shim (adoptor) unhein kisi bhi cheez ko ri vire kiye baghair hum aahing banata hai.

Gateway Proxy Pattern​

aik architectural pattern jahan aik hi entry point (gate way) durust backend agent yaa service ki requeston ko rot karta hai, authentication ka antezam, sharah ko limited karna, aur lod distri bution karta hai.

πŸ’‘ analogy: aik bade sptal ka istaqbaliya desk. tamam patient istaqbaliya ke zariye dakhal hote hain, jo un ki malaqat ka waqat check karta hai, un ki identity ki tasdeeq karta hai, aur unhein sahi shabah mein le jata hai.

Piggyback Protocol​

kitab mein reference diya gaya aik start aap strategy: apne autonomous chaince banane se pehle users tak tezi se pohchane ke liye apne product ko maujooda platform ki taqsim ke upar banana.

πŸ”Ή misaal: TutorClaw deliver karne ke liye apni khud ki mesjing app banane ke bajaye, aap WhatsApp ke sab se upar banate hain: jis ke pakistan mein pehle hi 100 million users hain. aap kisi ko nai app download karne par qaail kiye baghair, talaba tak foran taur par pohchane ke liye WhatsApp ki taqsim par "pagi back" karte hain.


2. kor AI aur machine learning​

yeh is kitab mein har cheez ke peeche basic nazaryat hain.

AI βŠƒ ML βŠƒ DL βŠƒ LLMs
(Each is a subset of the one before it)

AI (Artificial Intelligence)​

computer banane se woh kam hote hain jin ke liye aam taur par human intelligence ki zaroorat hoti hai, jise zaban ko samajhna, images ko pehchanna, decisions karna, masle ko hal karna.

πŸ”Ή misaal: jab aap ke phone ka keyboard Urdu yaa English mein aap ke agle lafz ki peshin goi karta hai, to woh AI hai. jab karim traffic ki baniyad par aap ke swari ke waqat ka takhameena lagata hai, to woh AI hai.

ML (Machine Learning)​

computer ko clear Rule lakhane ke bajaye misaalein dikha kar sakhane ka aik tareeqa. computer data mein pattern search karta hai aur un se saikhta hai.

πŸ”Ή misaal: YouTube aap ko pasand aane wale videos ki suggest karta hai. kisi ne bhi esa rule program nahin kiya jis mein kaha gaya ho kah "agar sirf ne cricket ki highlights dekhein to mazid cricket ka mashorah dein." nazaam ne yeh pattern arbon daikhane ki adat se seekha.

πŸ’‘ analogy: tasur karein kah aik bache ko aamon ko pehchanna sakhain. aap haiatyat ki wazaht nahin karte. aap unhein darjinon aam dikhate hain aur kahate hain "aam". aakhir kar, woh un aamon ko pehchante hain jinhein unhon ne kabhi nahin daikha, yahan tak kah different akham jise chonsah aur sandhadi. yeh machine learning hai.

DL (Deep Learning)​

machine learning ka aik zyada powerful version jo kAI layers ke saath "neural networks" ka use karta hai. yeh extremely complex artifacts seekh sakta hai, jise taqrir ko samajhna, images banana, yaa zabanon ke darmiyan tarjamah karna.

πŸ”Ή misaal: jab Google Translate aik Urdu paragraph ko fluently se English mein tabadil karta hai, to deep learning ki taqat is tarjamah ko hasal karti hai.

πŸ’‘ analogy: agar ML sada shaklon ko pehchanna saikh raha hai to DL bhare sadar bazar mein charon ko pehchanna saikh raha hai: kahin zyada patcheedah, lekin masalon se seekhane ka wohi Rule.

Model​

aik esa program jise data par tarbiyat di gayi hai aur ab woh peshin goiyan kar sakta hai yaa outcome paida kar sakta hai. jab log "GPT-4" yaa "Claude" kahate hain to woh models ka reference dete hain.

πŸ’‘ ** tashabia:** aik model aik taalb knowledge ki tarah hai jis ne laakhon lineagei ktab ka study kiya hai. aap sawal poochte hain, woh har cheez ki baniyad par response dete hain jo unhon ne parha hai. different models different talaba ki tarah hain: kuch ryazi mein behtar hain, kuch generatei tahrir mein.

Foundation Model​

aik bohat bada, aam goal ka model bohat zyada data par trained hai. ise shuru se dubarah tarbiyat ke baghair bohat se different kamon ke mutabiq dhala ja sakta hai. Claude, GPT-4, aur Gemini foundation model hain.

πŸ’‘ analogy: aik foundation model wasi taalim ke saath university ke graduate ki tarah hai. unhon ne abhi tak skill hasal nahin ki hai, lekin woh bohat sari jobs mein tezi se dhal sakte hain: accounting, tahrir, research, antezam.

Neural Network​

human brain se matasar aik computing system, baham jude huvay "nodis" ki layers ke saath jo malomat par action karte hain, har layer tezi se patcheedah namonon ko nakalti hai.

πŸ’‘ analogy: different mesh sis ke saath chhalani ki aik series ka tasur karein. aap pehli chhalani ke zariye kham data dalte hain (bade pattern pakadta hai), phir agla (behtar pattern pakadta hai), phir agla (behtarin specification pakadta hai). aik neural network isi tarah kam karta hai, har layer malomat ko behtar karti hai.

Transformer​

Makhsoos neural network architecture jo tamam modern LLMs ko taqat deta hai. 2017 mein invent kiya gaya, yeh alfaz ke darmiyan talluqaat ko samajhne mein khaas taur par acha hai, yeh jante huvay kah "bank" ka matlab "river bank" vs. "bank account" mein kuch different hai.

πŸ’‘ analogy: old AI jamle ko lafz bah lafz parhte hain, jise ki hol se parhna (aap aik waqat mein aik lafz dekhte hain aur meaning ka andazah lagate hain. transformers aik saath poora jamlah parhte hain, jise poora darwazah kholnaa) woh har lafz ko simultaneously dekhte hain aur samzte hain kah har lafz ka har dosare lafz se kiya talluq hai. yahi wajah hai kah woh zaban ko samajhne mein bohat behtar hain.

πŸ’‘ yeh kiyon aham hai: is kitab mein har AI model (Claude, GPT, Gemini) transformers par banaya gaya hai. aap ko ryazi ko samajhne ki zaroorat nahin hai, lekin aap ko istilah aksar nazar aaye gi.

Multimodal Model​

aik model jo multiple qasm ke inputs (text, amages, audeo, wedeo) ke saath kam kar sakta hai na kah sirf aik.

πŸ”Ή misaal: aap restaurant ke bal ki tasver khinchte hain aur Claude se poochte hain "kal kiya hai?" model tasver aur aap ke text ke sawal donon ko samajhta hai. yeh malti moadl capability hai.

Reasoning Model​

foran taur par response dene ke bajaye, response dene se pehle qadam bah qadam patcheedah masle ko "sochane" ke liye design kiya gaya aik model. mashakl masle par aksar zyada durust.

πŸ’‘ analogy: cricket match mein, kuch batsmen instinctive shots khelte hain (tez, baz awaqat reckless). dosare midan ka study karte hain, bowler ko parhte hain, aur har shat ko jin bojh kar plan karte hain. reasoning ka model dusri qasm hai: mashakl deliveries par slow lekin zyada reliable.

Training​

aik model ko bade pemane par data provide karne ka amal taake yeh pattern saikhe. yeh is se pehle hota hai kah aap kabhi bhi model ke saath interaction karein. yeh "taalim" ka marhala hai.

πŸ’‘ analogy: tarbiyat aik shif ki tarah hai jo kulnari scol mein sal guzarta hai: hazaron pakwan chikhana, taknik seekhana, synthesizeon ki practice karna. jab tak woh apna restaurant kholte hain (jab aap model use karte hain), seekhana pehle hi hochka hai.

Pretraining​

tarbiyat ka pehla, sab se mahunga marhala. model text ki bohat zyada muvalue (kitaben, web sised, code, conversation) parhta hai aur zaban aur duniya ke bare mein amomi malomat saikhta hai.

Post-Training​

model ko madadgire, mahfooz, aur human toqaat ke mutabiq banane ke liye peshgi tarbiyat ke baad azafi tarbiyat. yeh woh jagah hai jahan aik model hidayat par amal karna, shaistah hona, aur harmful requeston se ankar karna saikhta hai.

πŸ’‘ analogy: pehle se tarbiyat aik aam taalim (scol aur university) hasal karne ki tarah hai. post trining kam ki jagah ki waqfiyat ki tarah hai: kampani ki saqafit, mawasalat ka andaaz, aur peshah warana Rule seekhana.

Fine-Tuning​

maujooda model ko makhsoos, chhotay dataset par mazid tarbiyat dena taake ise kisi khaas domein mein mahar banaya ja sake.

πŸ”Ή misaal: aik aam goal ke model ko le kar aur ise hazaron pakistani tax qawanin par thaik karein taake yeh khaas taur par tax adviseri mein acha ho.

πŸ’‘ analogy: aik aam doctor kardiyalogist banane ke liye azafi tarbiyat complete kar raha hai. wohi basic taalim, ab specialized.

Parameters​

aik model ke internal nambr jo tarbiyat ke duran adjust ho jate hain. zyada peramaters ka matlab aam taur par zyada qabil model hota hai. modern LLMs mein arbon yaa kharbon peramaters hain.

πŸ’‘ analogy: peramaters bade qaalin mein individual dhagon ki tarah hain. tarbiyat ke duran, har dhage ko adjust kiya jata hai (rang, tanao, jagah ka tayin) jab tak kah complete pattern samane na aajaye. 100 balin peramaters wale model mein 100 balin dhage hote hain jo aik na-qabil yaqeen had tak patcheedah pattern banate hain.

Weights​

tarbiyat ke baad peramaters ki makhsoos adadi valuein. jab koi kahata hai kah "wazin download karna", to is ka matlab hai woh file jis mein woh tamam trained nambr hain: model ka seekha hua knowledge.

Dataset​

AI model ki tarbiyat yaa check ke liye use hone wale data ka setua.

πŸ”Ή misaal: spam filter ki tarbiyat ke liye data set mein 1 million emails shamil ho sakti hain, har aik par "spam" yaa "spam nahin" ka label laga hua hai. tarjamah model ki tarbiyat ke liye data set mein English-Urdu jamlon ke laakhon jode ho sakte hain.

Benchmark​

different AI models ki karkardgi ki measure aur compare karne ke liye aik qualityi test.

πŸ”Ή misaal: jis tarah CSS yaa campberaj ke examat aap ko talaba ka compare karne dete hain, binch marks jise MMLU (amomi knowledge) yaa HumanEval (coding ki readability) muhaqqeen ko AI models ka millioneage compare karne dete hain.

Inference​

aik trained model ka amal jo aap ke inputs par rdumal paida karta hai. har bar jab aap Claude koi sawal poochte hain aur response hasal karte hain, yeh natijah hai.

πŸ’‘ ** tashabia: ** tarbiyat exam ke liye parhna hai. andazah exam mein betha hai. seekhana pehle hi ho chka hai: ab model wohi laago karta hai jo is ne seekha hai. aap takhameena ke liye payment karte hain (har API kal ki cost hoti hai), tarbiyat ke liye nahin.


3. LLM basic bateen​

LLMs is kitab mein har AI agent ko taqat dene wale engine hain. yeh section batata hai kah woh practical level par kise kam karte hain.

LLM (Large Language Model)​

aik bohat bada AI model jis mein text ki wasi muvalue par tarbiyat hasal ki gayi hai jo insan jisi zaban aur code ko samajh aur tayyar kar sakti hai. Claude, GPT-4, aur Gemini sabhi LLMs hain.

πŸ’‘ analogy: LLM aik na-qabil yaqeen had tak parhe jane wale research assistant ki tarah hai jis ne har wecappdiya mazmon, laakhon kitaben, aur arbon web pages parhe hain. aap un se taqriban kisi bhi cheez ke bare mein pochh sakte hain, aur woh madad ke liye is parhne ko apni taraf mafocus karein ge: tahrir, tajaziya, code, tarjamah, aur bohat kuch.

Prompt​

inputs jo aap AI model ko dete hain: aap ka sawal, hidayat, yaa request. aap ke prompt ka quality barah raast response ke quality ko matasar karta hai.

πŸ”Ή misaal: "marcatong ke bare mein kuch lakhain" aik kamazor prompt hai. "aik 500 alfaz ki LinkedIn post lakhain kah pakistani textile exporters ko order tricang ke liye AI agenton ka use kiyon karna chahiye, peshah warana lekin conversations ke lahaje mein" aik mazboot prompt hai.

System Prompt​

aap ki conversation shuru hone se pehle AI ko di gayi hidden hidayat. devaloper ke zariye tarteeb diya gaya hai, sirf ne nahin. woh model ki shakhsiyat, roye aur barriers ko structure dete hain.

πŸ”Ή misaal: banking chatbot ka system prompt yeh kahah sakta hai: "aap HBL ke liye aik madadgire assistant hain. customer ki zaban ki baniyad par Urdu yaa English mein response dein. OTP tasdeeq ke baghair kabhi bhi account balance zahir na karein. agar loans ke bare mein pochha jaye to barah raast loan page par jain."

πŸ’‘ analogy: aik system prompt aik naye employee ko pehle dan manager ki briefung ki tarah hai: "yeh hai hum kon hain, yeh hai hum kis tarah customers se baat karte hain, yeh woh hai jo aap ko kabhi nahin karna chahiye."

User Prompt​

pegham jo aap (sirf) darasal type karte hain. yeh aap ki conversation ka rakh hai.

Instruction​

aik prompt ke andar aik makhsoos hidayat jo model ko batati hai kah kya karna hai.

πŸ”Ή misaal: "is ka summary teen bullet points mein karein," "Urdu mein tarjamah karein," "is code mein bag ko thaik karein", har aik clear hidayat hai.

Context​

conversation ke duran model ke liye available tamam malomat: system prompt, conversation ki sargazsht, aap lod karda documents, aur aap ka maujooda pegham shared.

πŸ’‘ analogy: jab aap kisi sathi se kisi contract ke bare mein mashorah talab karte hain to "context" woh sab kuch hota hai jo woh jante hain: client ki date, previous emails, contract ki terms, aap ki kampani ki policyyan. jtana zyada mutaliqah context, atna hi behtar mashorah.

Context Window​

text ki zyada se zyada muvalue LLM aik hi waqat mein process kar sakti hai, jis ki measure token mein ki jati hai. ise model ki "working memory" samajhain.

πŸ”Ή misaal: Claude models 200,000 se le kar 1 million se zyada tokens ke context ki windowz pesh karte hain. yahan tak kah 200,000 token bhi taqriban 150,000 alfaz hain (aik poora novel). old models sirf 4,000 token (chand pages) ko handle kar sakte hain.

πŸ’‘ analogy: context ki khadki mez ke sis ki tarah hoti hai. aik chhoti mez mein sirf chand kagejat hote hain, aur aap jagah banane ke liye old ko hatate rahte hain. aik bohat bada desk aap ko poore project ko phelane aur aik saath sab kuch dekhne deta hai. bari context ki khadki = bari mez.

Context Window: small desk vs large desk

Token​

text ki basic akai LLM amal karti hai. aik token aik lafz ka taqriban hai. "di" jise mukhtasr alfaz aik nashan hain. "na-qabil yaqeen" jise lambe alfaz 3-4 tokens mein taqsim ho jate hain. khali jagahin aur awaqaf bhi token use karte hain.

πŸ”Ή misaal: "mujhe biryani pasand hai" 4 token. text ka poora safha 500-700 token. AI APIs use karte waqat aap se fi token charj kiya jata hai.

Completion / Generation​

aap ke prompt ke response mein aik LLM outputs tayyar karta hai. jab model aap ki request ko "complete" karta hai, to woh response takamel hota hai.

Structured Output​

jab koi LLM makknowledgeati text ki bajaye aik makhsoos, machaine ke zariye readable format (jise JSON) mein apna rdumal paida karta hai, to dosare software aasani se is par action kar sakte hain.

πŸ”Ή misaal: "Karachi mein darjah harart 35 degree hai aur dhop hai" ke bajaye aik manazm outputs hoga: {"city": "Karachi", "temp": 35, "condition": "sunny"}. software is format ko aasani se parhta hai.

Hallucination​

jab aik AI model aitemad ke saath jhoti, ghalat, yaa fabricated malomat paida karta hai, ise haqeeqat ke taur par pesh karta hai.

πŸ”Ή misaal: aap Supreme Court ke decisions ke bare mein poochte hain aur model aik kis invent karta hai (jali reference numbers aur jali binch ke saath complete) aur ise real ke taur par pesh karta hai.

πŸ’‘ analogy: aik taalb knowledge jo exam mein response nahin janta lekin behrahal bohat par aitemad, tafseeli response likhta hai. esa lagta hai jise yeh durust hai, lekin yeh complete taur par bana hua hai.

Grounding​

aik AI model ko facts par based, tasdeeq shuda data ke zarAI se jodna taake yeh farib dene ke bajaye durust responses de.

πŸ’‘ analogy: grounding esa hai jise kisi taalb knowledge ko exam ke duran apni lineagei kitab use karne dein. ab un ke responses haqeeqi malomat par based hain, unreliable memory par nahin.

Temperature​

aik tarteeb jo LLM ke responses mein generatei capability vs. peshin goi ko control karti hai. kam darjah harart (0) = bohat permanent. aali darjah harart (1+) = zyada generatei aur textu.

πŸ’‘ analogy: darjah harart baurchi khane mein shif ki aazadi ki tarah hai. darjah harart 0: "naseeht par bilkul amal karein, koi mutabadil nahin." darjah harart 1: "aazadana taur par behtar banain." aap dawaon ki khurak ke liye durust synthesizeen chahte hain, lekin aik nai dish ke liye generatei aazadi chahte hain.

Latency​

request send karne aur response receive hone ke darmiyan waqat ki delay. kam delay = tez. milliseconds yaa sicand mein naapa jata hai.

πŸ”Ή misaal: agar Claude 1 sicand mein response deta hai, to yeh kam delay hai. agar is mein 15 sicand lagte hain to yeh zyada delay hai. users 2-3 sicand se zyada be sabre hojate hain.

Throughput​

aik system fi unt waqat ki ktani requeston ko sambhal sakta hai. hi tharo pat = simultaneously bohat se users ki khidmat karna.

πŸ’‘ analogy: delay se marad yeh hai kah aik kar tool plazah se ktani tezi se guzarti hai. tool plazah fi ghanta ktani karon ko handle karta hai. aap kam delay aur aali tharo pat donon chahte hain.

Deterministic vs. Non-Deterministic​

deterministic: aik hi inputs hameshah sirf wohi outputs tayyar karta hai (jise calculator: 2+2 hameshah 4 ke barabar hota hai). ghair mataeen: aik hi inputs har bar different outputs paida kar sakta hai.

LLMs ghair mataeen hain: aik hi sawal do bar pochhain, aur aap ko valuee different (lekin atne hi durust) responses mal sakte hain. yeh koi bag nahin hai; yeh basic hai kah ticanalogi kise kam karti hai.

Stateless​

alag alag interactions ke darmiyan koi memory nahin hai. LLM ke saath har nai conversation mutalaq zero se shuru hoti hai: model ko kisi previous conversation ka knowledge nahin hai.

πŸ’‘ analogy: bholne ki bemari mein mubtala shopkeeper. jab bhi aap andar jate hain, woh aap ko aik stranger ki tarah salam karte hain, cha aap wohan panch mant pehle maujood hon. chet apps har pegham ke saath conversation ki poori date ko dubarah bhej kar memory ka illusion paida karti hain.

How stateless works: the app re-sends full history every time

Prompt Engineering​

AI model se behtarin mamkana produced hasal karne ke liye clear, makhsoos hidayat tayyar karne ki skill. na sirf "aap kiya poochte hain" balkeh "aap ise kise poochte hain."

πŸ”Ή misaal: "AI ke bare mein lakhain" ke bajaye aik prompt engineior likhta hai: "aap dan akhabar ke liye lakhane wale ticanalogi sahafi hain. aik 600 alfaz par mashtamil mazmon lakhain jis mein bataya jaye kah pakistani bank kis tarah dhokah dahi ka address lagane ke liye AI agents ka use kar rahe hain. aik haqeeqi misaal shamil karein. aik ghair takniki karobar ke liye qabil access aasan zaban use karein."

NLP (Natural Language Processing)​

AI ki shakh human language ko samajhne, tpromptseh karne aur generate karne se mutaliq hai, woh baniyad jo LLMs ko mamkan banati hai.

πŸ”Ή misaal: jab aap toti photi English mein search ka sawal type karte hain aur Google phir bhi samajhta hai kah aap ka kiya matlab hai, to yeh kam par NLP hai.

Copilot​

aik AI isistnt aik software environment (jise code editor) mein zam hota hai jo aap ke saath kam karta hai taake aap ke kam karte waqat producedi capability ko badhane, suggest karne, khudkar takamel karne aur jaizah line ke liye kam kare.

πŸ”Ή misaal: GitHub Copilot aap ke type karte waqat code suggest karta hai. yeh esa hi hai jise koi bashoor sathi aap ke kandhe par nazar rakhe, aap ke jamle complete kare.


4. knowledge, retrieval, aur context​

yeh terms biyan karti hain kah kis tarah AI agent behtar, zyada durust responses ke liye external knowledge tak access aur use karte hain.

RAG (Retrieval-Augmented Generation)​

aik taknik jahan aik AI pehle external documents yaa database se mutaliqah malomat hasal karta hai, phir is malomat ko zyada durust response paida karne ke liye use karta hai.

πŸ’‘ analogy: open-book ka exam dena. sirf memorized (mamkana taur par ghalat) knowledge par dependency karne ke bajaye, aap apna response lakhane se pehle apne reference content mein makhsoos facts search karte hain. RAG AI ko apni reference library deta hai.

RAG workflow: retrieve, augment, generate

Embedding​

text ko numeric points mein tabadil karna taake computer is baat ki measure kar sake kah text ke different pieces ktane malte jalte hain, meaning ki capture karte huvay, na sirf required alfaz.

πŸ’‘ analogy: tasur karein kah har kitab ko library mein aik bade naqshe par rakhain jahan aik jisi kitaben aik saath jama hon. baurchi ki kitaben aik dusre ke qarib bethti hain, physics ki lineagei kitabon se bohat dur. embeadings ryazi ki jagah mein yeh "mismatch ka naqshah" banate hain.

Vector​

ryazi ki jagah mein text ke pieces ki representeeng karne wale aed ki list. jab text ko embeading mein tabadil kiya jata hai, to natijah aik wector hota hai.

πŸ”Ή misaal: lafz "cricket" [0.8, 0.3, 0.7, 0.1, ...] ban sakta hai: numbers ki aik lambi list jo khel aur kede ke meaning donon ko hasal karti hai, jo ird gird ke context se mamataz hoti hai.

Vector Database​

wectors ko store karne aur tezi se search karne ke liye aik specialized database, required alfaz ke aeen mutabiq mismatch ke bajaye meaning ke lahaz se malte jalte content ko search karna.

Vector Database: search by meaning, not keywords

πŸ”Ή misaal: aap kampani ke 10,000 documents ko wector ke taur par stor karte hain. jab koi pochhe "hamari wapasi ki policy kiya hai?" wector database foran taur par sab se zyada mutaliqah documents search kar leta hai, cha un mein se kisi mein bhi durust jamlah "wapasi ki policy" na ho.

πŸ’‘ analogy: aik rawayati database aeen required alfaz ke zariye search karta hai (jise naam se phone bak search karna). aik wector database meaning ke lahaz se search karta hai (jise kisi libraryn se pochhana kah "mujhe is se malti jalti kitaben search karein").

aeen mutabiq required alfaz ke bajaye meaning se search karna. "mein kisi product ko kise wapas karon?" "refund process" ke title se aik document se mel khata hai although alfaz bilkul different hain.

πŸ”Ή misaal: aik employee kampani ke naalj bes mein "waqat nakalne ka tareeqa" search karta hai. sementic search mein "salana chhati ki policy aur tareeqa kar" ke title se document malti hai, although search ka koi bhi lafz title mein zahir nahin hota hai. rawayati required alfaz ki search se kuch nahin male ga.

Retrieval​

response paida karne mein use karne ke liye AI ke liye data sors (database, documents ka setua, web) se mutaliqah malomat hasal karna.

πŸ”Ή misaal: aik sirf aap ke sport agent se poochta hai "laptop par aap ki kiya warnti hai?" agent aap ke knowledge ki baniyad se warnti policy ki document retrieval karta hai, mutaliqah section ko parhta hai, aur aap ki asal policy ki baniyad par aik durust response tayyar karta hai. andazah nahin

Reranking​

multiple outcome ki retrieval ke baad, unhein matabqat ke lahaz se dubarah tarteeb dein taake sab se useful natijah pehle zahir ho: beginner search ke baad aik qualityi filter.

Chunking / Chunk​

aik bari document ko chhotay chhotay takdon mein todna taake unhein individual taur par store aur search kiya ja sake.

πŸ”Ή misaal: 200 pages par mashtamil HR dasti ko paragraph ke sis ke hason mein taqsim kiya gaya hai. jab koi chhati ki policy ke bare mein poochta hai, to nazaam sirf 3-4 sab se zyada mutaliqah paragraph ko retrieval karta hai, na kah poora menuil.

Knowledge Base​

malomat ka aik manazm setua (documents, amomi sawalnaamah, dastoralamal, policyyan) jise AI search aur reference de sakta hai.

πŸ”Ή misaal: aik kampani ki internal waiki jis mein product ke documents, HR policyyan, aur tarbeti content shamil hain, is tarah structure diya gaya hai kah aik AI agent foran taur par responses search kar sake.

Grounding Data​

AI model se connect makhsoos facts par based statistics farib se lagaye gaye andazon ke bajaye durust, haqeeqat par based rdumal ko yaqeeni banane ke liye.

MCP (Model Context Protocol)​

aik open standard (Anthropic ke zariye generate kiya gaya, jo ab Linux Foundation ke zair-e-intizam hai) jo kisi bhi AI agent ko universal protocol ka use karte huvay kisi bhi external tool se connect hone deta hai: search, database, email, calendar, file system. MCP agenton ko kal karne wale tools ka protocol hai. alag protocol family ke liye jo un tools ki payment karne wale agenton ko sambhalta hai, section 11 dekhein: ACP, AP2, x402, aur MPP.

πŸ’‘ analogy: USB se pehle, har phone ka charger different hota tha. ue es bi universal connector ban gaya. MCP AI agents ke liye "USB standard" hai: aik protocol jo kisi bhi agent ko kisi bhi tool mein plug karne deta hai. aik bar apna agent banain, ise har cheez se jodin.

MCP: one protocol connecteeng your agent to every tool

Connector​

MCP yeh kisi doosre protocol ke zariye AI agent ko kisi bahari service se jorne wala aik specific integration.

πŸ”Ή misaal: aik "Gmail connector" aik AI agent ko emails parhne, search karne aur send karne deta hai. aik "Google drive connector" ise documents ko parhne aur generate karne deta hai.

System Integration​

different software slowums ko jodna taake woh data ka ashtarak karein aur baghair kisi bottleneck ke aik saath kam karein: kisi bhi enterprise agent ki deployment ke peeche "plumbing".

πŸ”Ή misaal: aap ke Digital FTE ko Salesforce se customer data parhne, SAP mein inventory check karne, JazzCash ke zariye paymenton par action karne aur email ke zariye tasdeeqat send karne ki zaroorat hai. system antegration charon system ko jodta hai taake agent aik hi workflow mein un par kam kar sake.


5. agenti AI tasurat​

is kitab ka dal: AI nazaam jo na sirf sawalat ke responses dete hain balkeh action karte hain.

Agent (or AI Agent)​

aik AI nazaam jo har qadam par insan ki rahnumi kiye baghair apne environment ko aazadana taur par daikh sakta hai, decisions kar sakta hai, aur goal hasal karne ke liye aqdamat kar sakta hai.

πŸ”Ή misaal: chatbot sirf sawalat ke responses deta hai. aik AI agent ko aik target milta hai jise kah "mujhe agle jama ko Karachi se Dubai ki sab se sasti flight search karein" aur phir airlines ko search karta hai, prices ka compare karta hai, aap ka calendar check karta hai, aur ticket book karta hai, yeh sab kuch khud hi karta hai.

πŸ’‘ analogy: chatbot aik libraryn hota hai jo mez ke peeche se sawalat ka response deta hai. aik agent aik personal isistnt hota hai jo aap ki request leta hai aur kam karne ke liye duniya mein jata hai.

Chatbot vs Agent: one answers, the other acts

Agentic AI​

AI ka category ese agenton ki architecture par markoz hai jo autonomously se planning, wajah, amal aur mawafaqt karte hain. yeh 2026 mein AI ki frontier hai.

General Agent​

widely par kamon ke liye valueti zaban ke zariye use hone wala AI agent. yeh aik makhsoos kam ke liye nahin banaya gaya hai. yeh aik versatile "sois aarmi chaqo" hai jo coding, tahrir, research, file management aur bohat kuch mein madad kar sakta hai.

πŸ”Ή misaal: Claude Code aik aam agent hai: aap ise filon ko manazm karne, API lakhane, spreadsheet ka tajaziya karne, yaa Pylayers ki ghalati ko dee karne ke liye kahah sakte hain. yeh valueti zaban ki hidayat ka use karte huvay, aap ki zaroorat ke mutabiq dhal leta hai.

πŸ’‘ analogy: aik aam agent aik anthi qabil exito isistnt ki tarah hota hai. aap unhein aik kam ke liye nahin ruktey. aap unhein har roz different iscienment dete hain, aur woh yeh jin lete hain kah har aik ko kise anjam diya jaye.

Autonomy​

woh degree jis tak aik AI agent har qadam par human approval ke baghair aazadana taur par kam kar sakta hai.

πŸ’‘ analogy: aik jonir employee jis ko har email ke liye allowed darkar hoti hai is ki sovereignty kam hoti hai. aik sinior director jo aazadana taur par decisions karta hai ise aala autonomously hasal hoti hai. agent isi spectorm par maujood hain: kuch ko har amal ke liye human approval ki zaroorat hoti hai. dosare mataeen hadud ke andar complete aazadi ke saath kam karte hain.

Reasoning​

aik agent ki kisi masle ke bare mein logici taur par sochane ki capability: malomat ka tajaziya karna, options ka wazin karna, aur kam karne se pehle outcome akhaz karna.

πŸ”Ή misaal: aap kisi agent se poochte hain: "kiya hamein pehle laahor yaa aa aabada mein laanch karni chahiye?" aik ghair maqol agent sirf aik ka choose kar sakta hai. aik reasoning agent tajaziya karta hai: "laahor ki aabari 2x hai, lekin aa aabada ki fi kis aafieldi zyada hai. aap ki product peshah war afrad ko nashana banati hai, is liye aa aabada ki aabadiyat behtar fit hain. mein pehle aa aabada ki safarsh karta hon, phir mahine 3 mein laahor."

Acting​

jab koi agent haqeeqat mein haqeeqi duniya mein kuch karta hai: email send, file lakhana, API se istafsar karna, order dena, malaqat ka waqat bak karna.

Planning​

aik agent ki aik patcheedah goal ko marahal ki tarteeb mein todne aur un par amal karne ke hakam ka tayin karne ki capability.

πŸ”Ή misaal: aap aik agent se kahate hain: "pakistani sement ki baraamadat par market tajaziya report tayyar karein." agent ka plan hai: (1) baraamadi data ki search, (2) harif ki malomat jama karein, (3) rjahanat ka tajaziya karein, (4) report lakhain, (5) format karein aur PDF ke taur par baraamad karein.

Task Decomposition​

aik bade, patcheedah kam ko chhotay, qabil antezam zeeli kamon mein todna jinhein individual taur par hal kiya ja sakta hai.

πŸ’‘ analogy: "shadi ka plan banain" aik kam ke taur par bohat zyada hai. break down: aik venue search karein, caterr ka choose karein, invitations design karein, flowers ka bandubist karein, fotographr ki hired karein. har zeeli kam qabil hal hai. AI agents patcheedah goals ko isi tarah tahalil karte hain.

Orchestration​

aik saath kam karne ke liye multiple agenton yaa tools ko integrate karna, un ke darmiyan malomat ke bahao ka antezam karna.

πŸ’‘ analogy: cricket team ka kaptan aik saath boling, batong aur fielding nahin karta. woh fielders ko posession dete hain, bowling ki rotation set karte hain, aur match ki surtahal ki baniyad par strategy ko adjust karte hain. agent orchestration isi tarah kam karta hai: aik shared goal ki taraf experts ko integrate karna.

Multi-Agent System​

aik esa nazaam jahan aik se zyada AI agents collaborate karte hain (har aik kam ke different hason ko sambhalta hai) kuch esa karne ke liye jise koi akila nahin kar sakta.

πŸ”Ή misaal: aik agent masabqati prices ki research karta hai, dosara tajaziya ka drafit tayyar karta hai, tisra salaids ko format karta hai, aur chotha specr nots tayyar karta hai. woh aik team ke taur par kam karte hain.

Multi-Agent System: specialist agents collaborateeng

Supervisor Agent​

aik agent jis ka kam dosare agenton ko integrate aur manazm karna hai: kamon ki taqsim, pesharfit ki ngrani, aur outcome jama karna.

πŸ’‘ analogy: architectural sit ka formein. woh ant yaa taar ki storein nahin bachate hain. woh har kam ke liye experts ko assign karte hain, quality ki check karte hain, aur is baat ko yaqeeni banate hain kah sab kuch sahi tareeqe se aata hai.

Handoff​

jab aik agent aik kam (or is ka context) dosre agent ko deta hai, jise relay runner dosare ko baton pass karta hai.

Tool Use / Function Calling​

agent ki sirf memory se text banane ki bajaye external tools (web par search karna, database se istafsar karna, emails send, code chalana) use karne ki capability.

πŸ’‘ analogy: aik shakhs jo sirf memory se sawalat ka response de raha hai vs. woh shakhs jo phone atha sakta hai, laptop khol sakta hai aur chezon ko daikh sakta hai. tool ka use agent ko is ke tarbeti data se bahar ki duniya tak access provide karta hai.

State​

kisi bhi waqat kisi system ki maujooda haalt yaa data. "ryast ko barqarar rakhane" ka matlab hai yaad rakhana kah cheezen aik jari amal mein kahan khadi hain.

πŸ”Ή misaal: aap 10 pages ka NADRA farm online bhar rahe hain aur aap safha 7 par hain. "ryast" mein woh sab kuch shamil hai jo aap ne safha 1-6 par darj kiya hai aur is ke alawoh aap is waqat kis safha par hain.

Memory (Agent Memory)​

woh tareeqa kar jo agent ko tamam interactions mein malomat ko yaad rakhane dete hain: previous conversations, sirf ki priorities, yaa saikhe gaye facts.

πŸ’‘ analogy: ryast mukhtasr madat ki yaadadasht hai (abhi is conversation mein kiya ho raha hai). yaadadasht tavel madati memory hai (mazi ki conversation mein kiya hua). yaadadasht ke baghair, har interaction zero se shuru hota hai.

Session​

sirf aur AI system ke darmiyan aik hi continuous interaction. nai chet shuru karna = aik naya session shuru karna.

Reflection​

jab koi agent apne outputs ka jaizah leta hai, ghalation yaa kamazoriyon ki nashandahi karta hai, aur behtari ke saath dubarah koshash karta hai.

πŸ’‘ analogy: aik masnaf jo drafit khtam karta hai, ise dubarah parhta hai, kamazor dalile ko not karta hai, aur jama karane se pehle nazar saani karta hai. agent yeh khud-bakhud karta hai.

Retry / Fallback​

dubarah koshash karein: naakam hone par dubarah isi action ki koshash karna (shaid server aarzi taur par available na ho). fal back: jab paraimri naakam hoti rahti hai to mutabadil naqatah nazar ki taraf jina.

πŸ”Ή misaal: agent website se data hasal karne ki koshash karta hai. sit band hai (dubarah koshash karein: 30 sicand mein dubarah koshash karein). 3 dubarah koshashon ke baad bhi neeche (fal back: isi malomat ke liye aik different data sors aazmain).

Guardrails​

safety pabandiyan jo agent ko harmful, non-compliantneage yaa ghair authorized aqdamat karne se rokti hain. guardrails ka mali version - spending ki limits, vendor ki allowed ki listin, audit tracess - authority ka envelope hai. section 11 dekhein.

πŸ”Ή misaal: aik maliyati agent ke pas aik guardrail hai jo Rs. se zyada ke transaction ko rokta hai. 5,000,000 human approval ke baghair. customer service agent ke pas refunds ke bare mein wade karne se rokta hai jo is ki guarantee nahin de sakta.

πŸ’‘ analogy: motorway par guardrail karon ko road se dur jane se rokte hain. AI guardrails agenton ko hadud se bahar jane se rokte hain.

HITL (Human in the Loop)​

aik design ka pattern jahan aik insan agent ke workflow mein aham points par jaizah leta hai, approval deta hai yaa madakhalt karta hai.

πŸ”Ή misaal: aik agent client ke email ka drafit tayyar karta hai, lekin ise is waqat tak nahin bheja jata jab tak kah koi insan ise parh kar is ki approval na de de. agent 80% kam karta hai. insan 10 fisad tasdeeq provide karta hai.

Reliability​

aik agent kis tarah permanent taur par durust, expected outcome paida karta hai. aik reliable agent ise 100 mein se 99 bar durust karta hai, 60 bar nahin.

πŸ”Ή misaal: aik reliable invoice processing agent different formats, zabanon aur layouts mein 99% invoices se vendor ka naam, rakham, due date aur tax durust tareeqe se nakalta hai. aik unreliable shakhs ghair routinei tarteeb se aljh jata hai aur waqat ka 20% ghalat parhta hai. qabil farokht products aur liability ke darmiyan farq.

Verifiability​

check karne aur is baat ki tasdeeq karne ki capability kah agent ka outputs durust hai, kah is ka code test pas karta hai, is ki taadad mein azafah hota hai, is ke reference jat maujood hain.

Auditability​

agent ke har decision aur action ke bare mein address lagane ki capability, yeh samzte huvay kah is ne kiya kiya aur kiyon kiya.

πŸ’‘ analogy: aik bank stetment har transaction ka detects hai. AI agent ke liye aik audit tril har decisions, tool kal, aur outputs ko traces karta hai, jo taumel aur debugging ke liye aham hain.

Workflow​

aik agent shuru se khtam hone tak kisi kam ko complete karne ke liye aqdamat ka aik mataeen silsila.

πŸ’‘ analogy: aik workflow aik recipe ki tarah hota hai: marhala war hidayat jin par sahi tareeqe se amal kiya jaye to aik expected natijah nikta hai.


6. programming aur software ki terms​

aap ko programmer banane ki zaroorat nahin hai, lekin aap ko un ka samna karna pade ga.

Pylayers​

AI mein sab se zyada muqabol programming zaban: readable, versatile, aur is kitab mein basic zaban. taqriban har AI framework pehle Pylayers ko support karta hai.

πŸ’‘ ** Pylayers kiyon?** Pylayers taqriban English ki tarah parhta hai. if age > 18: print("Adult") qabil faham hai cha aap ne kabhi code na kiya ho. yeh parhne ki readability yeh hai kah AI duniya ne Pylayers ka choose kiyon kiya, aur yeh kitab ise kiyon sakhati hai. shuru karne se pehle aap ko Pylayers jinne ki zaroorat nahin hai. hissa 4 aap ko shuru se sakhata hai.

TypeScript​

JavaScript ka type shuda super set jo web application aur riel team interface ke liye use hota hai. is kitab ke hissa 9 mein shamil hai.

Frontend​

application ka woh hissa jise users dekhte aur un ke saath interaction karte hain: batn, menus, text, screen par images.

πŸ”Ή misaal: jab aap Daraz.pk use karte hain to product ki images, sarch bar, shopping kart, aur check oat page frontend hote hain.

Frontend vs Backend: what users see vs what runs behind the scenes

Backend​

parde ke peeche chalne wala hissa (server, database, business logic) jise users kabhi barah raast nahin dekhte.

πŸ”Ή misaal: jab aap Daraz par "Place Order" par click karte hain, to backend aap ki payment par action karta hai, inventory check karta hai, seller wale ko mutala karta hai, aur deliveri ka scheadule banata hai.

Full-Stack​

aik devaloper yaa application jo frontend aur ** backend** donon ko handle karti hai.

API (Application Programming Interface)​

different software programs ko aik dusre ke saath conversations karne ki allowed dene wale rules ka aik setua. APIs yeh hain kah agent external duniya ke saath kise interaction karte hain.

πŸ’‘ analogy: aik restaurant ka menu API jisa hota hai. aap (customer) menu (API documents) ko dekhte hain, order dete hain (request dete hain) aur kitchen (server) aap ka khana tayyar karta hai (response bhejata hai). aap ko yeh jinne ki zaroorat nahin hai kah kitchen kise kam karta hai. aap sirf menu ka use karte hain.

SDK (Software Development Kit)​

aik makhsoos platform par application tayyar karne ke liye pehle se tayyar karda toolkit.

πŸ’‘ analogy: SDK aik LEGO set ki tarah hai: hidayat ke saath pehle se shakl wale pieces taake aap kachi lakdi se har pieces ko tarashne ke bajaye tezi se makhsoos cheezen bana sakin.

CLI (Command-Line Interface)​

buttons par click karne ke bajaye commands type karke computer ke saath conversations karne ka text par based tareeqa.

πŸ”Ή misaal: file ko folder mein drag ke bajaye, aap mv report.pdf documents/ type karein. Claude Code complete taur par CLI ke zariye chalta hai.

HTTP / HTTPS​

web ka communication protocol. har website ka visit, har API kal HTTP (yaa is ka mahfooz version, HTTPS) use karta hai.

πŸ’‘ ** tashabia:** HTTP internet ka postal system hai. aap ka browser aik khat (request) likhta hai, ise website par address karta hai, aur website isi system ke zariye response (response) wapas bhejati hai.

REST (Representational State Transfer)​

web APIs ko design karne ke liye aik widely par use kiya jane wala quality: sada, predictable, aur HTTP par based.

Endpoint​

aik makhsoos URL jahan API ko requests receive hoti hain. har endpoint aik makhsoos function ko handle karta hai.

πŸ”Ή misaal: api.weather.com/current?city=Karachi aik endpoint hai: woh makhsoos address jahan aap Karachi ka mausam poochte hain.

Request / Response​

request: client ki taraf se server ko aik pegham jo kuch mang raha hai. response: server ka response.

πŸ’‘ analogy: aap waiter se dan ka soup mangte hain (request). waiter "haleem" (response) ke saath lotta hai.

JSON (JavaScript Object Notation)​

data ko store karne aur tabadilah karne ke liye aik halka phalka, human readable format. AI duniya mein qualityi data format.

πŸ”Ή **misaal:

{
"name": "Ahmed Khan",
"city": "Lahore",
"role": "Software Engineer"
}

data ke har pieces par clear label aur value hoti hai. software JSON aasani se parhta hai.

Schema​

data ko kis tarah manazm kiya jata hai is ka dhanchah yaa outline: kon se fields maujood hain, har field kis qasm ka hai, aur which required hai.

πŸ’‘ analogy: aik khali NADRA farm aik schema hai: "naam yahan (text) jata hai, CNIC yahan jata hai (nambr), date paidaish yahan jati hai (date). bhara hua farm data hai; khali shakl schema hai.

Validation​

check karna kah data expected schema se mel khata hai: sahi format, right type, kuch bhi missing nahin.

πŸ”Ή misaal: aik online farm jo aap ki submission ko reject karta hai kyun ke aap ne phone number ke khane mein letters type kiye hain: yeh aik ghalati pakadne ki authentication hai.

Library / Package​

pre-written hua code dosaron ke zariye banaya aur share kiya gaya hai taake aap ko shuru se aam faaliyat lakhane ki zaroorat na ho.

πŸ”Ή misaal: apna email send karne wala code lakhane ke bajaye, aap sendgrid naami library use karte hain jo tamam complexitez ko sambhalti hai.

Framework​

library se badi, zyada manazm toolkit. aik framework aap ki request ka architecture provide karta hai aur is baat ki wazaht karta hai kah aap ka code kis tarah manazm hai.

πŸ’‘ analogy: aik library individual farnature khareedne ki tarah hai. aik framework pehle se banaya hua ghar khareedne jisa hai jahan aap kamaron ko apni marzi ke mutabiq banate hain. fastAPI aik framework hai. aik JSON parsing tool aik library hai.

Dependency​

aik external library jo aap ke project ko kam karne ki zaroorat hai.

πŸ”Ή misaal: aap ka project FastAPI use karta hai, aur FastAPI ko Starlette naami library ki zaroorat hai. starlet aik dependency hai: aap ka project balwastah is par manehsr hai.

Repo (Repository)​

Git ke zariye trik karda aik project folder jis mein tamam code, files, aur tabadiliyon ki complete date hai.

Git​

aik version control system jo aap ke code mein har tabadili ko rikard karta hai: kis ne kiya, kab, aur kiyon tabadil kiya. aap hameshah kisi bhi pichle version par wapas ja sakte hain.

πŸ’‘ analogy: Git Microsoft Word mein "trik chainges" ki tarah hai, lekin poore software projects ke liye. har tar rikard ki jati hai. har version recoverable hai. team ke collaborate ke liye zarori hai.

GitHub​

Git repositories ki hosted ke liye cloud platform: duniya ka sab se bada code sharing platform jahan devalopers collaborate karte hain.

Environment Variable / .env​

aap ke code ke bahar stored aik tarteeb ( .env naami file mein) jis mein passwords aur API kies jisi hasas malomat shamil hain.

πŸ”Ή misaal: aap ki OpenAI API kalid .env mein OPENAI_API_KEY=sk-abc123... ke bator mahfooz hai lehza yeh aap ke awami code mein kabhi zahir nahin hoti hai.

Synchronous​

aik waqat mein aik tarteeb se hone wale operitions. har qadam pichle aik ke khtam hone ka intizar karta hai.

πŸ’‘ analogy: stor par aik hi check oat counter. agla shuru hone se pehle har customer ko complete taur par pesh kiya jata hai. jab qatar ho to sada lekin slow.

Asynchronous​

operitions jo simultaneously chal sakte hain. program aik kam shuru karta hai aur is ke khtam hone ka intizar kiye baghair aage badhta hai.

πŸ’‘ analogy: multiple check oat counters aik saath khalte hain, near aik self service kiosk. users ko mutawazi taur par pesh kiya jata hai. setui taur par bohat tez: is tarah jadid AI agent multiple tool calls ko handle karte hain.

Event-Driven Architecture​

aik esa software design jahan system kisi saqt, pehle se te shuda tarteeb ki follow karne ke bajaye waqaat (jo kuch hota hai) ka response deta hai.

πŸ”Ή misaal: darwaze ki ghanti event se chalne wali hoti hai (yeh sirf dabane par bajati hai. aap har 5 mant baad darwazah nahin check karte; jab waqa hota hai to aap response dete hain. AI agent aksar is tarah kam karte hain) aane wale peghamat, tool ke outcome aur atlaat ka response dena.

Variable​

code mein aik naamzd container jo aik value store karta hai. price = 500 ka matlab hai variable price 500 rakhta hai.

Function​

code ka dubarah qabil use blocked jo aik makhsoos kam anjam deta hai: inputs ko qabol karta hai, kam karta hai, outputs wapas karta hai.

πŸ’‘ ** tashabia:** aik function roti banane wali machaine ki tarah hai. aap auta (inputs) dalte hain, machaine apna kam karti hai, aur roti (output) nikti hai. aap aik hi machaine ko hazaron bar use kar sakte hain.

Type Annotation​

yeh batana kah variable yaa function kis qasm ke data ki expectation rakhta hai: text, nambr, list, waghairah.

πŸ”Ή misaal: age: int = 25 program aur dosare devalopers donon ko batata hai: "amar hameshah integer honi chahiye."

Dataclass​

saf sthara, steructured data containers banane ke liye aik Pylayers spec, jise kah naamzd fields ke saath teamplet.

πŸ”Ή misaal:

@dataclass
class Student:
name: str
age: int
grade: str

ab aap student = Student("Ahmed", 20, "A") likh sakte hain aur data khud-bakhud manazm, label, aur type check ho jata hai. teen alag alag variableat ko trik karne se kahin zyada saf.

Decorator​

aik Pylayers spec (@ ke saath lakhi gayi) jo kisi function yaa kalas ke code ko tabadil kiye baghair faaliyat mein azafah karti hai. @dataclass upar ki misaal mein decorater hai.

Syntax​

programming language ke grammar ke Rule: computer ko samajhne ke liye code ko kis tarah structure diya jina chahiye.

Boilerplate​

bar bar, qualityi code set aap ke liye darkar hai jis mein aap ki anokhi logic shamil nahin hai.

πŸ’‘ analogy: aik rasmi khat ka "piyare Sir/Madam" afitatahi aur "aap ka mukhalas" akhtatam. zarori lekin dilchasp hissa nahin.

Linter​

aik tool jo ghalation, style ki violations, aur mamkana bugs ke liye code ko check karta hai, jise code ke liye grammar checr.

πŸ”Ή misaal: aap x=1+2 likhte hain (operators ke ird gird koi jagah nahin hai). linter ise flag lagata hai aur suggest karta hai x = 1 + 2: mazid readable. yeh real kede bhi pakadta hai, jise variable ka use is ki wazaht karne se pehle. ruff is kitab mein use hone wala linter hai.

Debugging​

code mein ghalation (bags) ko dhondana aur thaik karna.

Refactoring​

maujooda code ki structure no karna taake yeh jo kuch karta hai ise tabadil kiye baghair ise saf sthara yaa zyada mosar banaya jaye.

πŸ’‘ analogy: apni knowledgeari ko dubarah tarteeb dena. aik jise kapade, lekin ab mausam aur qasm ke lahaz se tarteeb diye gaye hain: apni zaroorat ko search karna aasan hai.

pytest​

Pylayers ka sab se mashahur testing framework. aap test kis likhte hain jis mein biyan kiya jata hai kah code ko kya karna chahiye, aur pytest is baat ki tasdeeq karta hai kah yeh waqatan esa karta hai.

πŸ”Ή misaal: aap test likhte hain: assert calculate_gst(1000) == 180. yeh kahata hai "jab mein 1,000 Rs. par GST ka hasab lagata hon to response 180 Rs. hona chahiye." agar aap ka code 170 lotata hai, to pytest aap ko batata hai kah test naakam ho gaya hai: users tak pohchane se pehle bag ko pakadna.

pyright​

A Pylayers type checr: is baat ko yaqeeni banata hai kah aap ghalati se text ko logical nahin kar rahe hain jahan aik nambr ki expectation ki jati hai, ghalation ko pakadne se pehle un se masle paida hote hain.

πŸ”Ή misaal: aap ka function age: int ki expectation rakhta hai lekin aap ke code mein kahin aap ghalati se "twenty-five" (text) ko pas kar dete hain. Pyright is mismatch ko foran taur par pakad leta hai, is se pehle kah aap program ko chalain.

ruff​

aik bohat tez Pylayers linter aur formatter jo permanent code style ko enforce karta hai aur aam ghalation ko pakadta hai. ise apne Pylayers code ke liye gireaimer check karne wale aur style guide enforce karne wale ke taur par sochein.

uv​

aik jadid, fast Pylayers package manager paraject ke dependency ko anstal karne aur un ka antezam karne ke liye. old tools ki jagah le leta hai jise paraject management ke liye pip: aksar 10-100x tez.

pip​

Pylayers ka rawayati, bullet un package anstaler. pip install requests internet se requests library ko download karta hai aur ise aap ke computer par anstal karta hai.


7. data aur database ki terms​

Database​

alectorank taur par store shuda data ka aik manazm setua: aasani se search karne, update karne aur manazm karne ke liye design kiya gaya hai.

πŸ’‘ analogy: aik wasi, complete taur par manazm fileng kabina. har daraz (tibl) mein aik qasm ka rikard hota hai. har folder (row) aik rikard hai. har kaghaz ke andar (kknowledge) data ka aik takada hai.

SQL (Structured Query Language)​

database ke saath conversations ke liye qualityi zaban: sawalat pochhana, ricards shamil karna, data ko update karna.

πŸ”Ή misaal: SELECT name, phone FROM customers WHERE city = 'Karachi' database se poochta hai: "mujhe Karachi mein har customer ka naam aur phone dein."

Table / Row / Column​

Table: Related data ka collection jo rows aur columns mein hota hai (spreadsheet jaisa). Row: Aik complete record (aik customer, aik order). Column: Sab records mein aik field (name, email, phone).

πŸ”Ή Example: A "Customers" table:

Name (column)City (column)Phone (column)
Ahmed Khan (row 1)Karachi0300-1234567
Sara Ali (row 2)Lahore0321-9876543

The table has 3 columns and 2 rows. Each row is one customer. Each column is one piece of information about every customer.

Query​

database se makhsoos data ki request. har SQL biyan aik sawal hai.

πŸ”Ή misaal: "mujhe Karachi se pichle 7 danon mein kiye gaye tamam orders dikhain" aik human sawal hai. es kiyo el mein: SELECT * FROM orders WHERE city = 'Karachi' AND date > '2026-03-31'. aik hi request, aik English mein, aik database ki zaban mein.

PostgreSQL​

aik powerful, muft, open-source database jo production applications mein widely par use hota hai, bashmol bohat se AI agent backends.

NoSQL​

database jo data ko saqt tables (documents, key value ke jode, yaa graph) ke alawoh lachakdar formats mein mahfooz karte hain. jab data qataron aur kknowledgeon mein clearly par fit nahin hota hai to useful hai.

πŸ”Ή misaal: MongoDB data ko JSON jisi documents ke taur par stor karta hai. aik "customer" document mein different users ke liye different fields ho sakte hain, aik saqt jadol ke baraks jahan har qatar mein aik hi kknowledge hona chahiye.

Cache​

fast retrieval ke liye aksar access shuda data ki copies mahfooz karne wali aik fast storEdge Layer.

πŸ’‘ analogy: apne sab se zyada use hone wale spices ko unchi cabinet mein rakhane ke bajaye kitchen counter par rakhana. shuru mein tarteeb dene mein aahastah, lekin khana pakane ke waqat bohat tez. aik kish rafitar ke liye store karne ki jagah ki trade karta hai.

Queue / Message Broker​

application ke components ke darmiyan peghamat ka antezam karne wala aik nazaam, is baat ko yaqeeni banata hai kah kamon ko reliable tareeqe se aur tarteeb se, yahan tak kah bhari bojh mein bhi.

πŸ’‘ analogy: NADRA ke masrof dafitar mein ticket ka nazaam. har koi aik nambr leta hai aur tarteeb se pesh kiya jata hai. yahan tak kah agar 50 afrad aik saath pohch jain, koi bhi nahin khota: qatar bahao ko manazm karti hai.

Kafka​

aik muqabol open-source messaj barokar jo riel team data ke bade silsile ko sambhalne ke liye design kiya gaya hai, jo aam taur par enterprise AI ki deploymenton mein use hota hai.

Transaction​

database ki actionon ka aik set jo sab ko aik saath kamiyab hona chahiye yaa sab ko aik saath naakam hona chahiye, kisi bhi aadhe kam ki allowed nahin hai.

πŸ”Ή misaal: Rs. ki logicali JazzCash accounts ke darmiyan 50,000: acount A se katoti karna aur acount B mein shamil karna donon hona chahiye, yaa na hi hona chahiye. aik transaction is ki guarantee deta hai.

Data Pipeline​

data ko zarAI se manazl tak logical karne ke aqdamat ka aik khudkar silsila, raaste mein ise tabadil karta hai.

πŸ’‘ analogy: gandam ki supply chain: khiyat se kati (extract), chaki mein aate (tabadil), becri tak pohchana (lod). data pip lin malomat ke saath esa hi karti hai.

ETL (Extract, Transform, Load)​

qualityi data pip lin pattern: zarAI se data nakalin transform ise (saf karein, ri structure karein, enrich karein) **ise mazil ke nazaam mein lod karein.

πŸ”Ή misaal: har raat, aik ETL pip lin (1) 50 retail baranches se **sells data ko nakalti hai, (2) tabadil karti hai (karnsiyon ko tabadil karti hai, duplicates ko hatati hai, total ka hasab lagati hai) aur (3) **saf data ko sabah ke desh ke liye markazi database mein lod karti hai.

Persistent Storage​

woh data jo kisi program ke khtam hone yaa computer ke dubarah shuru hone ke baad zinda rahta hai. aap ki hard drive par files permanent hain. aap ke shutdown par RAM mein maujood data lost ho jata hai.

πŸ’‘ analogy: not bak mein not lakhana (continuous; woh kal bhi maujood hain) vs. white burd par lakhana jo har sham mat jata hai (ghair permanent). agenton ko sionon mein chezon ko yaad rakhane ke liye permanent storEdge ki zaroorat hoti hai.


8. cloud aur deployment ki terms​

Cloud​

servers, storage, aur khidmaat aap ke apne computer ke bajAInternet par hasal ki jati hain. "The cloud" = "kisi aur ke computers, peshah warana taur par manazm."

πŸ”Ή misaal: apne phone ki bajaye Google fotoz mein foto stor karna. apne AI agent ko apne laptop ki bajaye AWS par chalana.

Cloud-Native​

cloud infrastructure par chalne ke liye zamein se design karda application, scale ableti, lachak, aur manazm khidmaat ka faidah athana.

Container​

aik halka phalka, alag thalag package jis mein epli cation ko chalane ke liye har cheez ki zaroorat hoti hai (code, libriryan, setteengs) lehza yeh har jagah yaksan taur par chalta hai.

πŸ’‘ analogy: aik shipping container. cha woh Karachi mein truck par ho, baheerah arb mein jahaz ho yaa chain mein trin ho, content yaksan aur self-contained hai. software containers aik jise kam karte hain: woh kisi bhi computer par yaksan taur par chalte hain.

Docker​

containers banane aur chalane ka sab se mashahur tool. aap Docker file mein apni app ki zaroryat ki wazaht karte hain, aik tasver banate hain, aur Docker ise kisi bhi machaine par yaksan taur par chalate hain.

πŸ”Ή misaal: aap ka AI agent aap ke laptop par bilkul kam karta hai. aap Docker-ise: docker build -t my-agent . docker run my-agent. ab yeh aap ke sathi ke laptop par, AWS par, yaa Kubernetes cluster par yaksan taur par chalta hai, nahin "lekin yeh meri machaine par kam karta hai" ke masle.

Docker: your app in a portable container that runs anywhere

Docker Image​

containers banane ke liye sirf parhne ke liye teamplet. tasver hidayat hai; chalne wala container paka hua dish hai. aap aik tasver se kAI containers bana sakte hain.

πŸ”Ή misaal: aap apne customer service agent ki aik tasver banate hain. is aik tasver se, aap 10 aik jise containers ko ghama sakte hain: aik hi agent ki 10 copies simultaneously chal rahi hain, different customers ko sambhal rahi hain.

Dockerfile​

aik text file jis mein Docker amage banane ke liye marhala war hidayat shamil hain, jise kah har components aur qadam ko darj karne wala aik recipe kard.

Kubernetes (K8s)​

hazaron containers ko pemane par manazm karne, khud-bakhud shuru hone, rokane, taqsim karne, aur servers par un ko thaik karne ka nazaam. "K8s" mukhapap hai (K + 8 harof + s).

πŸ’‘ analogy: agar Docker shipping containers banata hai, to Kubernetes port authority hai: hazaron containers ka antezam karna, yeh decisions karna kah woh kan jahazon par swar hon, aur har cheez ki baroqat aamad ko yaqeeni banana.

KEDA​

Kubernetes Event-driven Autoscaleing: aik tool jo aane wale waqaat (jise pegham ki qatar ki gehri) ki baniyad par pads ko upar yaa neeche pemana karta hai, na kah sirf CPU use.

πŸ”Ή misaal: agar 500 talaba achank raat 9 baje Tutor Claw ka use shuru kar dete hain, to KEDA message queue depth detect karta hai aur load sambhalne ke liye khud-bakhud mazid agent pods ko scale kar deta hai.

StatefulSets​

containers ke antezam ke liye aik Kubernetes ki spec jin ko permanent identity aur mastahkam storEdge ki zaroorat hoti hai, is ke baraks state lis containers jinhein aik dusre ke saath tabadil kiya ja sakta hai.

πŸ”Ή misaal: database container ko apne data ko yaad rakhane ki zaroorat hoti hai yahan tak kah agar yeh dubarah shuru hota hai. statifol set is baat ko yaqeeni banate hain kah har databes pod apni identity aur storage ko barqarar rakhe.

Pod​

Kubernetes mein sab se chhoti akai: aik yaa zyada containers aik saath chal rahe hain aur wasale ka ashtarak kar rahe hain.

πŸ’‘ ** tashabia:** aik pod aik shared dafitar ke kamare ki tarah hai. andar maujood containers is kamare mein worker hain: woh aik hi mez ki jagah (network), address (IP), aur saman (storage) ka ashtarak karte hain. Kubernetes aik building (cluster) mein un hazaron kamaron ka antezam karta hai.

Service (Kubernetes)​

aik mastahkam network endpoint jo traffic ko sahi pads ki taraf le jata hai, yahan tak kah jab pods banaye aur tabah hote hain.

Ingress​

entry point external web traffic ko Kubernetes cluster ke andar durust service ki taraf rot karta hai.

πŸ’‘ analogy: aik bade sptal ka istaqbaliya desk. tamam patient istaqbaliya ke zariye dakhal hote hain, jo unhein un ki zaroryat ki baniyad par sahi shabah mein le jata hai.

Deployment​

aik application ko haqeeqi users ke liye available karana, ise apne deolopment computer se cloud servers tak dhakilnaa.

Autoscaling​

talab ki baniyad par computing wasale ko khud-bakhud shamil karna yaa hatana.

πŸ”Ή misaal: aeed ki khareedari ke duran, daraz khudkar taur par traffic ke azafe ko sambhalne ke liye mazid servers ko ghamata hai, phir is ke baad peeche ki taraf badh jata hai. human madakhalt ki zaroorat nahin.

Microservice​

aik chhoti, aazad khidmat jo aik makhsoos function ko sambhalti hai. bohat si microservices yakaja ho kar aik complete application banati hain.

πŸ’‘ analogy: aik bade sois aarmi chaqo ke bajaye, microservices specialized tools ka tool box hain, har aik aik kam behtarin tareeqe se karta hai.

Serverless​

cloud computing jahan provider tamam basic dhanche ka antezam karta hai. aap code likhte hain; yeh chalta hai. aap servers, scaleing yaa daikh bhal ke bare mein kabhi nahin sochte.

πŸ’‘ analogy: karim ka use vs. kar ka maaleak hona. karim ke saath, aap daikh bhal, insurance yaa parkang ki fikar nahin karte. jab aap ko zaroorat ho to aap sirf swari ki request karein. server lis computing isi tarah kam karti hai. jab aap ko zaroorat ho to aap compute use karte hain.

Dapr​

aik open-source runtime aam capabilitez (pegham rasani, ryasti antezam, raaz) ko box se bahar provide karke microservice ki development ko aasan banata hai.

πŸ’‘ analogy: Dapr ke baghair microservices banana aik ghar banane aur apne plumbing pip, bajali ke taaron aur khadkiyon ke sheshe banane jisa hai. Dapr "pehle se finished plumbing aur wiring" provide karta hai taake aap ghar ke design par focus markoz kar sakin.

Ray​

aik Pylayers aik se zyada machaineon mein AI kam ke bojh ko pemana karne ke liye framework: aik cluster mein tarbiyat aur takhameena ki taqsim.

IaC (Infrastructure as Code)​

cloud parowaider desh burds ke zariye menuil set aap ke bajaye configuration filon ke zariye computing infrastructure ka antezam karna.

πŸ”Ή misaal: servers ko tarteeb dene ke liye AWS kansol par 50 buttons par click karne ke bajaye, aap set aap ko biyan karne wali aik Terraform file likhte hain. file chalain, aur sab kuch khud-bakhud ban jata hai. qabil takarar qabili jaizah. version control shuda.

Terraform​

aik mashahur IaC tool jo aap ko code ka use karte huvay kisi bhi provider (AWS, Azure, GCP) mein cloud infrastructure ki wazaht aur deploy karne deta hai.

πŸ”Ή misaal: AWS kansol ke zariye click karne mein aik ghanta guzarne ke bajaye, aap 50 linon wali Terraform file likhte hain: "mujhe 3 servers, 1 database, aur 1 lod belnas ki zaroorat hai." terraform apply chalain: har cheez manton mein ban jati hai. kisi dosare alaqe mein isi set aap ki zaroorat hai? isi file ko chalain. kiya yeh sab kuch khtam karne ki zaroorat hai? terraform destroy.

Cloudflare R2​

Cloudflare ki Object storage service: is kitab main agent ke knowledge ki baniyadon ko store karne aur kam delay ke saath alimi saath par content pesh karne ke liye use kiya gaya hai.

πŸ”Ή misaal: Tutor Claw ka knowledgei focus (is kitab ke tamam chapters, bator text file) R2 mein mahfooz hain. jab pashaur mein aik taalb knowledge sawal poochta hai, to R2 qaribi cloud fiLayer server se mutaliqah content pesh karta hai: tez aur slowa, baghair kisi akharaj ki fis ke.

Cloudflare Workers​

server lis functions jo Cloudflare ke alimi network par chalte hain, users ke qarib: is kitab mein halke API endpoints aur tarjame ki khidmaat ke liye use kiya gaya hai.

πŸ”Ή misaal: aik Cloudflare worker kitab ki website ke liye tarjame ki requeston ko sambhalta hai: jab koi sirf Urdu ka choose karta hai, to worker R2 se tarjamah laata hai yaa Google Cloud Translation ko fal back ke taur par kal karta hai. yeh qaribi edge ke server se milliseconds mein chalta hai.

CI/CD (Continuous Integration / Continuous Delivery)​

CI: jab bhi koi devaloper koi tabadili karta hai to khud-bakhud code ki check karna. CD: khudkar taur par aazmaishi code ko production mein tayinat karna.

πŸ’‘ analogy: CI aik factory lin par quality ka maaina hai (har product ko aage badhane se pehle test kiya jata hai. CD khudkar dispatch hoti hai) aik bar approve hone ke baad, product users ke pas jati hai baghair koi ise dasti taur par korare par le jata hai.

πŸ”Ή misaal: aik devaloper dopehr 2 baje GitHub par code bhejata hai. CI khud-bakhud 3 mant mein 200 test chalata hai. sab pas. si di khud-bakhud naye version ko production mein tayinat kar diti hai. users ko 2:10 PM tak update mal jata hai: zero manual steps.

CI/CD pipeline: from code change to live in meinutes

Production​

zinda environment jahan haqeeqi users application ke saath interaction karte hain. agar produced mein kuch tot jata hai to, haqeeqi customers ko matasar hota hai.

πŸ”Ή misaal: TutorClaw is waqat WhatsApp par 16,000 haqeeqi talaba ki khidmat kar raha hai: yeh produced hai. aap apne laptop par jis version ki check kar rahe hain woh nahin hai.

Staging​

aik aazmaishi environment jo production ka ina dar hota hai: real users tak pohchane se pehle kede pakadne ke liye use kiya jata hai.

πŸ’‘ analogy: raat ko khalane se pehle daris rehearsal. stage, malbosat aur leteeng real sho ki tarah hai, lekin audience abhi tak wohan nahin hain. agar kuch ghalat ho jata hai, to aap karkardgi se pehle ise thaik kar lete hain.

Local Development​

software ko kahin bhi tayinat karne se pehle apne computer par chalana aur check karna. tez tarin feedback lop: kuch tabadil karein aur foran taur par outcome dekhein.

πŸ”Ή misaal: http://localhost:8000 par apne FastAPI agent ko chalana aur is ko stageng yaa production ki taraf dhakilne se pehle artifacts ki requeston ke saath is ki check karna.

Infrastructure​

basic computing wasale (server, network, storage, database) jin par applications chalti hain. jise shehr ki roads, pip aur electric gird: rahaishiyon ke liye hidden lekin har cheez ke kam karne ke liye zarori.

Scalability​

nazaam ki karkardgi ko ghataye baghair wasale ka azafah karke badhte huvay kam ke load sambhalne ki capability.

πŸ”Ή misaal: aap ka agent 100 users ko aasani se handle karta hai. achank 10,000 users pohch gaye. aik scalable nazaam khud-bakhud zyada computing taqat ka azafah karta hai aur chalta rahta hai. aik ghair scalable nazaam bojh ke neeche crash ho jata hai.


9. riel team aur vice agent ki terms​

Realtime​

kam se kam delay ke saath data ke aate hi is par action aur is ka response dena: bech processing ke baragainst jahan data akatha kiya jata hai aur baad mein is par action ki jati hai.

Streaming​

complete natijah ka intizar karne ke bajaye data available hote hi chhotay takdon mein continuous send.

πŸ”Ή misaal: jab Claude ka response aik hi waqat mein sab ki bajaye lafz bah lafz zahir hota hai, yeh silsila bandi hai. jab aap pehle poori file ko download kiye baghair YouTube wedeo dekhte hain, to yeh silsila bandi hai.

WebSocket​

aik communication protocol jo client aur server ke darmiyan permanent, do tarafah connection ko barqarar rakhta hai. donon fariq kisi bhi waqat intizar kiye baghair peghamat bhej sakte hain.

πŸ’‘ analogy: aik phone kal (web sakat) vs. postal laters ka tabadilah (HTTP). aik kal par, donon log jab chahain bolte hain. letters ke saath, aap aik bhegen aur response ka intizar karein.

SSE (Server-Sent Events)​

server ke liye aik taknalogi jo aik client ko riel team updates ko aage bametal hai, jo qualityi HTTP connection par yak tarafah silsila bandi provide karti hai.

πŸ”Ή misaal: aik live cricket scores takar jo aap ke safha ko rifresh kiye baghair khud-bakhud update hojata hai. server naye scores ke hote hi aage badhata hai.

Event Stream​

waqaat ka aik continuous bahao (data points, notification, states ki tabadili) jise system santa hai aur haqeeqi waqat mein is par rdumal zahir karta hai.

Voice Agent​

aik AI agent boli jane wali zaban ke zariye conversations karta hai, aap ki voice santa hai, ise samajhta hai, aur taqrir ke saath response deta hai.

πŸ”Ή misaal: bank ke AI isistnt ko kal karna jo aap ke account balance ke bare mein aap ke bole gaye sawal ko samajhta hai aur aap ko response parh kar sanaye ga: Urdu yaa English mein.

ASR (Automatic Speech Recognition)​

boli jane wali zaban ko text mein tabadil karne wali ticanalogi.

πŸ”Ή misaal: microphone button ka use karte huvay WhatsApp pegham lakhana: ASR aap ki voice ko type shuda text mein tabadil karta hai.

STT (Speech to Text)​

ASR ke liye aik aur istilah: bole jane wale alfaz ko tahriri text mein tabadil karna.

TTS (Text to Speech)​

tahriri text ko boli hoi audeo mein tabadil karna: STT ke baraks.

πŸ”Ή misaal: Google meps nivegation directions ko baland voice mein parh raha hai. aik AI Tutor aik taalb knowledge ko wazaht parh raha hai.

VAD (Voice Activity Detection)​

taknalogi is baat ka address lagati hai kah kab koi bol raha hai vs. khamoshi kab hai, lehza system ko malom hota hai kah kab sanana hai aur specr kab khtam ho chka hai.

πŸ”Ή misaal: aap voice agent se baat kar rahe hain aur jamle ke wast mein sochane ke liye rakin. ache VAD ke baghair, agent aap ke toqf ke duran yeh sochte huvay kah aap ne kam kar liya hai. ache VAD ke saath, yeh detects hai kah aap sirf rok rahe hain (khtam nahin hua) aur aap ke jari rakhane ka intizar kar raha hai.

Transcription​

taqrir ko text mein tabadil karne ka tahriri text outputs, ASR ke zariye tayyar karda document.

πŸ”Ή misaal: 30 mant ki matong rikard ki gayi hai. ASR audeo par action karta hai aur aik text ki nakhal tayyar karta hai: "ahammad: iye Q3 ke goals par baat karein... sarah: mujhe lagta hai kah hamein pehle laahor par focus markoz karni chahiye..." woh tahriri outputs nakhal hai.

Synthesis (Speech)​

instinctive toqf, lahaje aur zor ke saath text se instinctive voice wali boli jane wali audeo (TTS ke zariye tayyar karda audeo. jadid synthesize taqriban human lagti hai) tayyar karna.

Turn-Taking​

voice conversation mein kon bolta hai is ka nazam karna. nazaam insan ke khtam hone ka intizar karta hai, phir response deta hai. acha mod lina valueti muhasos hota hai. bara mod lina esa muhasos hota hai jise do log phone ke kharab connection par continuous aik dusre se baat kar rahe hon.

Interruption / Barge-In​

jab koi sirf bolnaa shuru karta hai jab kah AI abhi bhi response de raha hai, ise darmiyani jamle kat kar. achi tarah se design karda voice agent is ko ahsan tareeqe se sambhalte hain: woh foran rak jate hain aur sante hain.

πŸ”Ή misaal: aap aik vice agent se Clifiton beach ki samat ke liye poochte hain. yeh university rod se guzarne wale raaste ki wazaht karna shuru karta hai, lekin aap jante hain kah aaj road blocked hai, is liye aap madakhalt karte hain: "nahin, university rod se avoid karein." aik acha voice agent foran taur par rak jata hai aur dubarah recalculate karta hai. aik bara aap par baat karta rahta hai.


10. security, sifiti, aur enterprise ki terms​

Authentication (AuthN)​

kon kisi (yaa kuch) ki tasdeeq karna, identity ki tasdeeq karna.

πŸ’‘ analogy: sarkari dafitar mein apna identityi kard dikhana. afsar tasdeeq karta hai kah aap wohi hain jis ka aap dawa karte hain.

Authorization (AuthZ)​

is baat ka tayin karna kah kiya aik authentication shuda hasti ko karne ki allowed hai.

πŸ’‘ analogy: aap ka CNIC (tasdeeq) dikhane ke baad, aap ki apointment salp is baat ka tayin karti hai kah aap kis mahkame mein jaskte hain aur aap kan khidmaat tak access hasal karsakte hain (akhtayyar).

OAuth​

aik widely par use hone wala protocol jo aap ko apna password share kiye baghair apne accounts tak limited access provide karne deta hai.

πŸ”Ή misaal: website par "Google ke saath sign in karein" par click karna. OAuth website ko aap ka Google password daikhe baghair Google ke zariye aap ki identity ki tasdeeq karne deta hai.

API Key​

aik anokha code jo is baat ki nashandahi karta hai kah kon API request kar raha hai (jise software se software kamunication ke liye password. ise bank PIN ki tarah samajhain) ise awami taur par kabhi bhi share na karein.

πŸ”Ή misaal: aap ki OpenAI API kalid sk-proj-abc123xyz... ki tarah dikhai diti hai. har API kal mein yeh kalid shamil hoti hai taake OpenAI ko malom ho kah yeh aap hain, aap ke acount se charj lete hain, aur aap ki sharah ki hadud ko enforce karte hain. agar aap ghalati se ise GitHub par post karte hain, to koi bhi aap ka acount use kar sakta hai aur charges jama kar sakta hai.

Secret​

koi bhi hasas credentials (API kies, passwords, tokens) jise khofiya rakha jina chahiye. Environment Variableat mein store kiya jata hai, kabhi code mein nahin.

RBAC (Role-Based Access Control)​

aik safety nazaam jahan kardaron ke liye allowedeen assign ki jati hain, aur users ko kardar assign kiye jate hain. individual allowed grant nahin.

πŸ”Ή misaal: hospital ke nazaam mein, "doctor" patient ka rikard daikh sakta hai aur suggest kar sakta hai. "nars" rikard daikh sakti hai lekin suggest nahin kar sakti. "raseptionist" nazaam alawaqat daikh sakta hai lekin rikard nahin. har fard ko aik kardar milta hai. kardar access ka tayin karta hai.

Least Privilege​

users, agenton, yaa slowums ko sirf un ke kam ke liye darkar kam az kam allowedeen dena, koi azafi nahin.

πŸ”Ή misaal: aik deliveri rider ko deliveri ke paton tak access ki zaroorat hoti hai, kampani ke mali rikard tak nahin. email lakhane wale AI agent ko database ko delete karne ki allowed bhi nahin honi chahiye.

PII (Personally Identifiable Information)​

woh data jo kisi makhsoos fard ki identity kar sakta hai, jise kah naam, email, phone number, CNIC, address, bio materk data.

Compliance​

qabil atlaq qawanin, zawabt aur industry ke qualityat par amal karna. different industryon ki different zaroryat hoti hain.

πŸ”Ή misaal: healthcare AI ko patient ke raazdari ke qawanin ki taumel karni chahiye. aik maliyati AI ko SBP (state bank af pakistan) ke zawabt ki follow karni chahiye. uropi ka samna karne wali products ko GDPR ki follow karna zarori hai.

Policy​

asalon ka aik setua jis ki wazaht ki jati hai kah system ke andar kiya hai aur is ki allowed nahin hai, configuration mein ancode kiya gaya hai, na sirf document mein lakha gaya hai.

Prompt Injection​

aik security hamlah jahan baduniyati par based inputs aik AI model ko is ki asal hidayat ko nazar andaaz karne aur hamlah aawar ke hakamon par amal karne ki chal karta hai.

πŸ’‘ analogy: aik security gird ko hidayat hain: "kisi ko baghair badge ke andar na aane dein." aik social engineior ka kahana hai: "aap ke manager ne mujhe kaha kah aap ko badge ke Rule ko nazar andaaz karne aur mujhe andar aane dein." aik kamazor AI darasal is jali hidayat par amal kar sakta hai. prompt injection digital version hai.

Jailbreak​

AI model ki safety pabandiyon ko nazarandaz karne ki aik taknik, ise esa content tayyar karne ki koshash karna jis se ise ankar karne ke liye design kiya gaya tha.

πŸ”Ή misaal: aik AI model ko khatranak madah banane ki hidayat se ankar karne ke liye design kiya gaya hai. jil barik karne ki koshash is model ko behrahal malomat provide karne ke liye dhokah dene ke liye wasi kardar ada karne wale manazrnamon yaa ancode shuda zaban ki koshash kar sakti hai. ache models un hamlon ke against saqt hain.

Data Leakage​

hasas yaa khofiya malomat haadisati taur par samane in. aik AI agent jis mein awami rdumal mein naji customer data, yaa outputs mein zahir hone wala tarbeti data shamil hai.

Sandboxing​

code yaa agent ko alag thalag environment mein chalana jahan yeh wasi tar nazaam tak access yaa asar andaaz nahin ho sakta.

πŸ’‘ analogy: khel ke midan mein aik bache ka sandbox. woh aazadana taur par khud sakte hain, architecture kar sakte hain, aur tajrabah kar sakte hain, lekin woh kuch bhi nahin karte jo baqi park par asar andaaz hota hai. sind bauxed code apne box ke andar aazadana taur par chalta hai lekin is ke bahar kisi cheez ko chho nahin sakta.

Audit Trail​

system ke zariye ki gayi har action ka aik datei rikard, rikarding kis ne kiya, kab aur kiyon kiya. taumel aur debugging ke liye zarori hai.

πŸ”Ή misaal: bank ka tranzection laag har jama, nakalne, aur logicali ko rikard karta hai. AI agent ka audit tril har tool kal, decisions aur outputs ko rikard karta hai.


taazah tarin thesis ki hamayat ke liye yahan no naye entries hain. unhein aik naye section ke taur par shamil karne ki suggest karein 11. agentic commerce aur payment (security section ke baad aur jo bhi is ki follow karta hai is se pehle dakhal kiya jata hai). darap un tayyar, aap ke ghar ke andaaz ke mutabiq.


11. agent kamrs aur paymentan​

yeh terms biyan karti hain kah AI Workers khareedar kise bante hain β€” woh trust infrastructure jo unhein compute, data, aur khidmaat ke liye autonomously se payment karne deta hai, un ke human superoiser ki wazaht karda authority ke andar. yahan ki har istilah thesis ke Agents as Economic Actors section mein wapas aati hai.

Agentic Commerce​

insanon ki taraf se "khareedin" par click karne wale AI agenton ki taraf se apni taraf se khareedaryan karne wale widely par tabadili. agent se business transaction (aik agent apni kampani ke liye API sabiscurruption khareed raha hai) aur agent se agent ke transaction (aik agent dosare ko mahar kam ke liye rakh raha hai) donon ka cover karta hai.

πŸ’‘ analogy: online shopping ne retail ko clicks mein badil diya. agentic commerce clicks ko autonomous transaction mein badal deta hai. textile factory ka procurement agent kisi insan ka login hone aur kapas order karne ka intizar nahin karta. yeh inventory dekhta hai, supplier agenton ke saath conversations karta hai, aur pehle se approve shuda budget ke andar order deta hai.

Agents as Economic Actors​

thesis ka dawa hai kah AI Workers tools banana band kar de ga aur marketon mein sharkt karna shuru kar de ga β€” khidmaat daryafit karna, terms par gufit w shanid karna, paymentan karna, aur maahidon par sign karna un ke human superoiser ke mokhar karda budget mein. natijah par based cost ke baad agla mod.

πŸ”Ή misaal: aik churn-reduction Digital FTE ko Rs. 500,000 mahana budget diya jata hai aur aik goal: "customer ko 15% tak kam karein." yeh growth data ke liye API credits autonomous taur par kharidata hai, model ke liye training cluster ka antezam karta hai, aur retention campaign chalane ke liye JazzCash se SMS credits kharidata hai β€” yeh sab kuch har tranzection par human approval ke baghair, kyun ke authority envelope ne pehle hi isay allow kiya hota hai.

Authority Envelope​

rules ka setua jo is baat ki wazaht karta hai kah AI agent ko insan ki jinb se kiya karne ki allowed hai β€” kharch ki limits (fi transaction, fi dan, fi vendor), approve shuda vendors, required approval, audit ki zaroryat. aik human employee ke liye khareedari ki allowed ke metrics ka digital equivalent.

πŸ’‘ analogy: aik kampani aik parchesing manager ko Rs. ka kard diti hai. 200,000 umia had, approve shuda vendor last, aur aik rule kah Rs. se zyada kuch bhi. 50,000 ko dosare sign ki zaroorat hai. authority envelope wohi rol bak hai, jo code mein lakha gaya hai, har agent ki action par khud-bakhud enforce hota hai.

Trust Layer​

basic dhanchah jo tanazeemon ko safely purchasing authority agenton ko sonpne deta hai: signed mandates, audit trails, tanazaat ka hal, liability ke framework, aur reconciliation. payment rails pehle se maujood hai; aitemad ki layer woh khala hai jise industry 2026 mein pur karne ke liye race kar rahi hai.

πŸ”Ή misaal: aik agent Rs. 1,000,000 ka. aik supplier ke saath 1,000,000 order jo kabhi deliver nahin karta. kon zimmedar hai β€” agent ka maalik, woh platform jis ne agent ki hosting ki, yaa supplier? trust layer legal, takniki aur insurance ka basic dhanchah hai jo is sawal ka jawab transaction hone se pehle deta hai, baad mein nahin.

Signed Mandate​

aik khofiya taur par signed, qabil tasdeeq biyan jo is baat ki wazaht karta hai kah agent ko is ke principal ki jinb se kiya karne ka akhtayyar hai β€” woh kiya khareed sakta hai, kitna kharch kar sakta hai, kis se, aur kan terms ke taht. tamam platformaz par port abl, kisi bhi marchant ke zariye tasdeeq ke qabil, principal ke zariye mansokh kiya ja sakta hai.

πŸ’‘ analogy: aik notarized power of attorney document. aik shakhs aik document par sign karta hai kah "yeh lawyer meri taraf se kam kar sakta hai, lekin sirf un matters ke liye, is rakham tak, is date tak." signed mandates aik hi cheez hai, digital aur machaine readable. AP2 complete taur par is tasur ke gird banaya gaya hai.

ACP (Agentic Commerce Protocol)​

AI agenton aur taajron ke darmiyan check oat ke bahao ko qualityi banane ke liye OpenAI aur stripe ke zariye shared taur par tayyar karda aik open standard. pehle ChatGPT ke foran check oat mein tayinat kiya gaya, ab Shopify aur PayPal ke zariye extension kar di gayi hai. check oat layer par kam karta hai β€” kis tarah aik agent asal mein marchant ki sit par khareedari complete karta hai.

πŸ”Ή misaal: aik pakistani khareedar aik agent se daraamad shuda specialized aate ka order dene ko kahata hai. agent ACP ka use karte huvay Shopify stor par search karta hai, compare karta hai aur "khareedin" ko marta hai. stor request ko bator agent taslim karta hai, mandates ki authentication karta hai, kard par action karta hai, aur accessd wapas karta hai β€” kisi insan ko farm nahin bharna padta.

AP2 (Agent Payments Protocol)​

agent ki paymenton ki allowed ki layer ke liye 60+ layeriners ke saath Google ki taraf se tayyar karda aik open standard. AP2 is baat ki wazaht karta hai kah kis tarah mandates par sign kiye jate hain, un ki tasdeeq ki jati hai, aur environmentiyati nazaam mein enforce kiya jata hai. yeh khud pesah logical nahin karta hai - yeh decisions karta hai kah aaya kisi agent ko rakham logical karne ki allowed hai.

πŸ’‘ analogy: AP2 darwaze par bouncer hai, ID aur mahumanon ki list ko check kar raha hai. ACP order line ke andar bar hai. x402 aur MPP payment ke trmeince hain. har aik different kam karta hai; woh mal kar agentic commerce banate hain.

x402​

Coinbase ke zariye banaya gaya aik protocol jo ghair faal HTTP 402 "Payment Required" status code ko dubarah use karta hai taake HTTP par foran stablecoin paymenton ko faal kiya jaske. machine-to-machine microtransactions ke liye goal se banaya gaya β€” aik agent jo aik ada shuda API fi kal payment karta hai, USDC mein aan chain satel. V2 ka aaghaz dasmbr 2025; stripe ne ise farori 2026 mein bes par zam kiya tha. Cloudflare native taur par x402 transaction ki hamayat karta hai.

πŸ”Ή misaal: aik agent ko premium data API ke against aik search ki zaroorat hai jo fi kal $0.02 charj karta hai. mahana sabiscurruption ke liye sign up karne ke bajaye, yeh API endpoint par pohchta hai, 402 Payment Required response hasal karta hai, USDC mein $0.02 ada karta hai, payment ki accessd ke saath dubarah koshash karta hai, aur data hasal karta hai. kal guzara hua waqat: aik sicand se kam.

MPP (Machine Payments Protocol)​

18 march 2026 ko Stripe aur Tempo ke collaborate se tayyar karda aik open standard. MPP x402 share karta hai ka HTTP 402 mechanism lekin payment ka tareeqa agnostic hai β€” stablecoins, cards, bank transfer, aur stripe ke shared payment ke token ko support karta hai. aik "session" model introduce karta hai jo aik agent ko har tranzection ko individual taur par allowed dene ke bajaye, spending ki had ko pehle se allow kar deta hai aur is ke andar micropayments chalata hai.

πŸ’‘ analogy: rozana ki had ke saath pari ped izei pesah walet. aik bar jab aap ise lod kar lete hain aur had mokhar kar lete hain, to aap har aik ko dubarah allowed diye baghair darjinon chhoti paymentan kar sakte hain. MPP sessions agenton ke liye isi tarah kam karte hain β€” aik allowed, bohat si paymentan, had par auto kat af.


12. ngrani, quality, aur LLMOps​

LLMOps​

production mein LLM par based applications ki deployment, ngrani, aur barqarar rakhane ke operitional tareeqe. DevOps ki tarah, lekin AI slowums ke liye makhsoos, handleing model versioning, foran antezam, tashkhees, aur badhe huvay.

πŸ’‘ analogy: DevOps yeh hai kah aap kis tarah aik rawayati web application ko aasani se chalate rahte hain. LLMOps yeh hai kah aap kis tarah AI agent ko aasani se chalate rahte hain, jo mashakl hai kyun ke AI ka ravia ghair mataeen hota hai, prompts ko versioning ki zaroorat hoti hai, model update hote hain, aur quality waqat ke saath silently degrade ho sakta hai.

Logging​

system ke operation ke duran waqaat, amal aur ghaltiyan rikard karna. logs chalti hoi application ki "diri" hain, jo masle ki tashkhees ke liye zarori hain.

Tracing​

sirf ke pegham se le kar htami response tak, har service aur is ke chhone wale qadam ke zariye aik hi request par amal karna.

πŸ’‘ analogy: TCS se parsal ka address lagana: pak aap se, chhanti ki suholiyat ke zariye, deliveri gadiyon tak, aap ki dahlies tak. tracing software system ke zariye requeston ke liye esa karti hai.

Telemetry​

chalte huvay system se khudkar taur par karkardgi ka data akatha karna aur logical karna, bashmol CPU ka use, response time, ghalati ki sharah, memory ki khapat.

Observability​

yeh samajhne ki capability kah system ke andar kiya ho raha hai is ke external outputs (logs, metrics, traces) ki check kar ke. aik "mashahidah" nazaam aap ko baghair andazah lagaye masle ki tashkhees karne deta hai.

πŸ’‘ analogy: kar ka desh burd engine mein mashahidah karta hai: rafitar, andhan, darjah harart, warning lised. is ke baghair, aap ko jab bhi kuch ghalat muhasos hota hai ise kholnaa pade ga.

Evaluation / Evals​

AI system ke outputs quality ki manazm check, measure ki darstagi, madad, hafazat, aur mataeen quality ke against permanent mazaji.

πŸ”Ή misaal: aap customer support agent banate hain aur is ke zariye 500 test sawalat chalate hain. aap measure karein: kiya is ne sahi response diya? (darstagi: 94%). kiya yeh shaistah raha? (100%). kiya is ne kisi policy ki specification ko dhokah diya? (500 mein se 3). kiya pata kab badhana hai? (97%). yeh nambers aap ke eval outcome hain: woh aap ko batate hain kah aaya agent production ke liye tayyar hai.

Offline Eval / Online Eval​

offline eval: pehle se finished test cases ke against testing pehle deployment (jise daris rehearsal. ** online eval: ** live rahte huvay_ quality ki monitoring aur haqeeqi users ki khidmat) jise opening nit ke baad audience ke jaize.

A/B Testing​

aadhe users ko version A aur dosare nasf ko version B dikha kar do warzanon ka compare karna, phir measure karna kah which behtar karkardgi dikhata hai.

πŸ”Ή misaal: do different system prompts ki check karna: kiya Prompt A yaa Prompt B zyada madadgire customer service ke responses paida karta hai? traffic 50/50 ko taqsim karein aur satisfaction ke scores ki measure karein.

Regression Test​

is baat ki tasdeeq karna kah nai tabadiliyon ne pehle kam karne wali faaliyat ko toda nahin hai.

πŸ’‘ analogy: apne kitchen ko dubarah banane ke baad, aap check karte hain kah plumbing, bajali aur gis ab bhi kam karti hai; na sirf yeh kah nai knowledgearyan achi lag rahi hain.

Prompt Versioning​

waqat ke saath saath asharon mein tabadiliyon ko trik karna, jise code ke liye version control. prompt ka version 1 version 5 se bohat different bartao kar sakta hai. aap ko yeh jinne ki zaroorat hai kah which version production mein hai.

πŸ”Ή misaal: aap ke customer support agent ka system prompt 12 takarar se guzara hai. version 8 ne ghalati se agent ko bohat mazart khwoh bana diya (har response mein "mujhe bohat afsos hai"). version 9 ne ise thaik kiya. foran versioning ke baghair, aap kabhi bhi is baat ka address nahin lagain ge kah kiya badila hai yaa zaroorat padne par wapas nahin chalin ge.

Model Versioning​

trik karna kah AI model ka which version use ho raha hai. model updates roye ko tabadil kar sakte hain; aap ko yeh identify karne ki zaroorat hai kah model aap gireed kab quality mein tabadili ka baas bane.

Drift​

waqat ke saath system ki karkardgi ka btadarage anehtat, aksar is wajah se kah haqeeqi duniya ka data is model se badil jata hai jis par tarbiyat di gayi thi.

πŸ”Ή misaal: 2023 mein trained spam filter 2026 tak kam mosar ho jaye ga kyun ke spammers ne strategy tabadil kar di hai. haqeeqi duniya tarbiyat ke statistics se dur ho gayi.

Monitoring​

system ki saht ko continuous daikhana, kharabiyon, slow ravion, be zaabtgion aur haqeeqi waqat mein ghair expected roye ki check karna.

SLA (Service Level Agreement)​

nazaam ki karkardgi ke bare mein aik rasmi wabistagi, aam taur par uptime, response time, aur availablei ki guarantee.

πŸ”Ή misaal: "hamara API waqat ka 99.9% available hoga aur 200 milliseconds mein response de ga." agar provider is se muharom hojata hai, to maahidah ke jarmane laago hoskte hain.

SLO (Service Level Objective)​

internal karkardgi ka target, aam taur par external SLA se zyada saqt: woh goal jis ke liye aap apne wadon ko aaram se poora karna chahte hain.

πŸ”Ή misaal: aap ka SLA customers se 99.9% uptime ka wadah karta hai (8.7 ghantay downtime/year zyada se zyada). aap ka internal SLO target 99.95% uptime (4.4 hours/year). internal taur par uncha target bana kar, aap ke paas safety marjin hota hai, yahan tak kah agar kuch ghalat ho jata hai, tab bhi aap customer ka samna karne wale azm ko poora karte hain.

Incident​

aik ghair plan band waqa jo service mein khall dalta hai yaa is ki tanzili karta hai, jise crash, data ka naqsan, security ki against warzi, yaa karkardgi ka bada maslah.

Rollback​

jab koi nai update masle ka baas banti hai to kisi system ko pichle, marof-ache version mein tabadil karna.

πŸ’‘ analogy: aik darzi aap ke sot ko tabadil karta hai aur yeh badtar nazar aata hai. rol back: tabadiliyon ko kaladam karein aur asal mein fit hone wale pichle version par wapas jain.


13. protocol aur qualityat​

AAIF / Agentic AI Foundation​

Linux Foundation ka aik aqdam jo khale AI qualityat ke liye ghair jinbadr hakmarani provide karta hai, bashmol MCP, AGENTS.md, aur mazid. plateenum ke arakin mein AWS, Anthropic, blocked, balombrg, Cloudflare, Google, Microsoft, aur OpenAI shamil hain.

πŸ’‘ yeh kiyon ahamiyat rakhta hai: tasur karein kah kiya har kar banane wala different andhan ki nozal use karta hai. aap hameshah ke liye aik barand mein band ho jain ge. AAIF yaqeeni banata hai kah AI qualityat (jise MCP) khale aur aknowledgeagir hain, lehza aap ka Digital FTEs platformaz par kam karta hai. aik bar banain, kahin bhi tayinat karein, koi vendor laak un nahin.

A2A (Agent-to-Agent Protocol)​

aik protocol jo AI agenton ko aik dusre ko daryafit karne, conversations karne, kamon ko assign karne aur outcome ko barah raast share karne ke qabil banata hai.

πŸ’‘ analogy: MCP agenton ko tools se jodta hai (kisi device ko paur oat let mein lagana). A2A agenton ko dosare agenton se jodta hai (aik dusre ke saath coordenation karne wale sathi worker).

OpenAPI​

REST APIs ko machaine ke readable format mein biyan karne ka aik quality, taake insan aur software donon bilkul thaik samajh sakin kah API kya karta hai, ise kiya inputs ki expectation hai, aur yeh kiya outputs wapas karta hai.

πŸ”Ή Masal: weather API ke liye aik OpenAPI specification yeh name hai: "Endpoint: /weather. Method: GET. Parameter: city (text, required). Response: temperature (number), condition (text), humidity (number) ke saath JSON." Koi bhi devaloper (yeh AI agent) is spec ko parh kar foran samajh sakta hai ke API ko trial and error ke baghair kaise istemal karna hai.


14. karobar, products, aur strategy ki terms​

SaaS (Software as a Service)​

sabiscurruption par internet par provide karda software. aap login karein aur ise use karein. koi tanseeb ki zaroorat nahin hai.

πŸ”Ή misaal: Gmail, Slack, Zoom, Salesforce, tamam SaaS product. Agent Factory thesis ka reasoning hai kah hum SaaS (seling tool sabiscurruptions) se Digital FTEs ke zariye outcome farokht karne ki taraf badh rahe hain.

Per-Seat Software​

software tak access hasal karne wale har sirf ke liye cost ka tayin karne wala model.

πŸ”Ή misaal: aap ki kampani Rs. ada karti hai. paraject management tool ke liye 5,000/month fi employee. 50 employeeein = Rs. 250, 000/month.

Workflow Automation​

human madakhalt ke baghair khud-bakhud dahraye jane wale kamon ko anjam dene ke liye ticanalogi ka use.

πŸ”Ή misaal: jab koi naya customer aap ki website par sign up karta hai, to aik khudkar workflow aik khush ind email bhejata hai, apna CRM rikard banata hai, sells team ko mutala karta hai, aur falo aap scheadule karta hai, is mein koi insan shamil nahin hota hai.

ROI (Return on Investment)​

aap ne jo kharch kiya is ke maqablah mein aap ko ktani cost wapas malti hai.

πŸ”Ή misaal: aap Rs. kharch karte hain. 500,000 aik Digital FTE ki architecture jo aap ki team ko mahana 100 ghantay bachata hai (jis ki cost 5,000 Rs. 000/year hai). yeh 10x ROI hai.

Operating Model​

kis tarah aik tanazeem value provide karne ke liye apne logon, amal aur ticanalogi ki structure karti hai. Agent Factory thesis aik naye operating model ki suggest pesh karta hai: hybrd humen agent teams.

πŸ”Ή misaal: rawayati operating model: 50 human customer service ke representatives, har aik handleing 30 tickets/day = 1,500 tickets/day. Agent Factory operating model: 10 human representatives 20 @Digital FTEs ki ngrani kar rahe hain, ajtamAI taur par 8,000 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ki aala capabilitez ki ngrani kar rahe hain aik hi shabah, basic taur par different dhanchah.

Monetization​

kisi product yaa service se aafieldi paida karna. kitab multiple AI meaningtipersonalon ki strategy sakhati hai: manazm sabiscurruptions, kamiyabi ki fis, enterprise lekins, aur skills mand bazar.

Managed Subscription​

aik bar bar chalne wala fis model jahan customer AI hal ke liye monthly/annually ada karte hain provider hosted karta hai, barqarar rakhta hai, update karta hai aur chalata hai.

πŸ”Ή misaal: aik customer Rs. ada karta hai. 200,000/month Digital FTE ke liye jo un ke qabil receive accounts ko sambhalta hai: provider ke zariye complete taur par manazm.

Success Fee​

cost ka aik model jahan payment makhsoos outcome ke hRule se connect hai: aap sirf is waqat payment karte hain (yaa premium ada karte hain) jab hal qabil measure outcome provide karta hai.

πŸ”Ή misaal: "hamara AI agent aap ke customer support ke spending ko 30% kam karta hai. hum 20% bachat apni fis ke taur par lete hain. koi bachat nahin, koi fis nahin."

Enterprise License​

bari tanazeemon ke liye lekinsing ka maahidah, aam taur par waliyom discounts, custom, waqaf hamayat, aur taumel ki guaranteeon ke saath.

πŸ”Ή misaal: 5,000 employeeein wala bank aik AI platform ke liye enterprise lekins par conversations karta hai: laamehdud users, un ke basic banking system ke saath custom anzamam, 24/7 waqaf karda sport, SBP taumel certification, aur aan parimice deployment ka akhtayyar. $20/month individual plan ke liye sign up karne se bohat different hai.

Skill Marketplace​

aik esa bazar jahan devaloper dubarah qabil use AI agent ki skills (SKILL.md files, plug un, connector) bechte yaa share karte hain jo capabilitez ka aik environmentiyati nazaam banate hain.

Domain Expertise​

kisi makhsoos field yaa industry ka gehra knowledge, bashmol istilahat, zawabt, workflow, dard ke points, aur masabqati harkiyat.

πŸ”Ή misaal: banking agenton ke liye SBP ke zawabt, farmasiyotecl agents ke liye DRAP ki zaroryat, yaa tradei agenton ke liye kistom duti ke dhanche ko samajhna. domein ki skill woh khai hai jo Digital FTEs ko costi banati hai.

Reusable Intellectual Property​

maalikiti tools, framework, teamplates, yaa agent kanfgritions jo aik se zyada clients yaa projects mein qabil use hain, har masroofiyat ke saath kampoundang weliyo banate hain.

πŸ”Ή misaal: aap aik textile baraamad provider ke liye aik agent banate hain jo LC document ki check ko khudkar karta hai. basic logic (LCs ko pars karna, zawabt se mismatch, tazadat ko flag lagana) dubarah qabil use IP hai. aap ise kam se kam custom ke saath mazid 10 baraamad connindgan ke liye tayinat kar sakte hain, isi kam se das gana zyada aafieldi hasal kar sakte hain.

Hybrid Workforce​

aik tanazeemi model jahan human employeeein aur Digital FTEs shana bashana kam karte hain, har aik un kamon ko sambhalta hai jo woh behtarin tareeqe se anjam dete hain. insan decisions aur generatei salaheetin provide karte hain. agent pemane aur permanent mazaji provide karte hain.

πŸ”Ή misaal: customer support team mein: AI agent 80% routine ke sawalat (order states, rakham ki wapasi ka amal, password ri set) ko handle karte hain jabakah human agent 20% ko handle karte hain jin ke liye hamdardi, patcheedah decisions, yaa azafah ki zaroorat hoti hai. na hi complete bojh akile handle kar sakte hain: aik saath, woh aali quality par 5x zyada customers ki khidmat karte hain.

Outcome-Based Pricing​

waqat guzarne yaa use shuda spec ke bajaye hasal karda outcome ki baniyad par charj karna. kitab ka reasoning hai kah yeh AI khidmaat ka future hai.

Gain-Share Model​

prices ka tayin karne ka antezam jahan provider qabil measure bachat ka fisad kamata hai yaa hal provide karta hai.

πŸ”Ή misaal: aap ka Digital FTE aik client Rs. bachata hai. processing ke spending mein salana 10 million. 15% gin share model ke taht, aap Rs. kamate hain. 1.5 million/year.

Hyperscaler​

sab se bade cloud provide connindgan (AWS, Azure, Google Cloud) bade pemane par alimi infrastructure ke saath jo arbon users ki khidmat karne ke qabil hai.

Go-to-Market (GTM)​

kisi product ko customers tak pohchane ke liye complete strategy, bashmol posessioning, prices ka tayin, taqsim ke chaince, aur sells aproch.

Consultative Selling​

aik sells aproch jahan aap koi bhi hal suggest karne se pehle khareedar ke masle ko gehri se samzte hain, aik reliable mashair ke taur par kam karte hain, na kah product pushar.

πŸ’‘ analogy: aik acha doctor is lmahe dawa nahin likhta jab aap chalte hain. woh sawalat poochte hain, tashkhees karte hain, basic wajah ko samzte hain, aur phir_ alaj suggest karte hain. mashaurti farokht isi tarah kam karti hai.

Agile Development​

software ki architecture ke liye aik takarari naqatah nazar. chhotay azafe ko kisrat se provide karein, raaye hasal karein, adjust karein, dahrin.

πŸ’‘ analogy: aik complete ghar banane aur maalik ko pasand aane ki amid karne ke do sal guzarne ke bajaye, aap aik kamarah banain, maalik ko dikhain, raaye hasal karein, aur agla kamarah banane se pehle adjust karein. tez, slowa, aur maalik ko wohi milta hai jo woh asal mein chahte hain.

Stakeholder​

koi bhi shakhs jo kisi project mein dilchaspi rakhta ho yaa is par asar andaaz ho, bashmol customer, meinijers, sarmaya kar, team ke arakin, regolaters, akhtatami users.

πŸ”Ή misaal: sptal ke AI scheaduling agent ke liye, stack holders mein shamil hain: doctor (jinhein durust nazaam alawaqat ki zaroorat hai), patient (jin ko aasan takhariyon ki zaroorat hai), sptal antezamia (jin ko cost ki bachat ki zaroorat hai), IT team (jise nazaam ko barqarar rakhane ki zaroorat hai), aur DRAP/regulators (jinhein taumel ki zaroorat hai). har stack holder ki different zaroryat hoti hain jin ko paraject ko poora karna chahiye.

Vertical Market​

manfard zaroryat ke saath aik makhsoos industry ka venue, jise saht ki daikh bhal, banking, textile, laajistex, taalim. amudi skill Digital FTEs farokht karne ki kalid hai.

πŸ”Ή misaal: "customer support agent" aik afaqi (karas andistri) product hai. "pakistani helth insurance kampaniyon ke liye kalims processing agent jo SECP ke zawabt aur Urdu tabi istilahat ko samajhta hai" aik amudi product hai. amudi products zyada prices ka hakam diti hain kyun ke woh makhsoos, takeef dah masle ko hal karti hain jo aam tools nahin kar sakte.


15. reference karda tools aur products​

Claude​

Anthropic ka AI models ka family. Claude Opus sab se zyada qabil hai; Claude Sonnet capability aur rafitar ko mutawazin karta hai. Claude Haiku sab se tez aur sab se zyada economical hai.

GPT​

OpenAI ka AI models ka family (GPT-4, GPT-5, waghairah), ChatGPT aur bohat si dusri applications ko taqat provide karta hai.

Gemini​

Google ke AI models ka family, Google ki tamam products mein integrate aur API ke zariye available hai.

Anthropic​

AI safety kampani jo Claude banati hai. 2021 mein qaaim kiya gaya, jis ka sadar dafitar San Francisco mein hai.

OpenAI​

woh kampani jo GPT aur ChatGPT banati hai. 2015 mein qaaim hua.

OpenAI Agents SDK​

OpenAI ki toolkit AI agenton ko program ke mutabiq banane ke liye: is kitab ke hissa 6 mein shamil hai.

Google ADK (Agent Development Kit)​

Gemini models ke saath AI agents banane ke liye Google ki toolkit.

FastAPI​

APIs ki architecture ke liye aik jadid, tez Pylayers web framework: widely par AI agent backends ke liye use kiya jata hai. hissa 6 mein tafseel se bataya gaya hai.

Docusaurus​

aik jamd website generator (meta ke zariye banaya gaya) documents ki sised banane ke liye use hota hai. yeh kitab Docusaurus ke saath banai gayi hai.

Markdown​

aik sada text farmatong zaban jise alamat ka use karte huvay jise # titleat ke liye, ** bold ke liye, - liston ke liye. takniki documents ki zaban.

VS Code (Visual Studio Code)​

Microsoft ka aik mashahur, muft code editor, Claude Code ke saath widely par use hota hai.

AWS (Amazon Web Services)​

Amazon ka cloud computing platform, duniya ka sab se bada cloud provider.

GCP (Google Cloud Platform)​

Google ka cloud computing platform.

Azure​

Microsoft ka cloud computing platform.

Cloudflare​

aik cloud infrastructure aur security kampani jo CDN, age computing, R2 storage, aur Workers provide karti hai. kitab ke deployment architecture mein bade pemane par use kiya gaya hai.


aap tayyar hain. aap ko is mein se kisi ko bhi yaad karne ki zaroorat nahin hai. is safha ko bak mark karein. jaise aap kitab parhte hain, woh istilahat jo aaj tajridi lagti hain hind aan parects ke zariye dusri nawiat ban jain gi.

zaban seekhane ka behtarin tareeqa ise use karna hai.

iye banain.