Blog

Insights, tutorials, and updates from the ZharfAI team

AI Tutorials

Learn about AI technologies and implementations

The Tenant Boundary: Isolation for Shared AI Systems
AI TutorialsAugust 16, 2026•14 min read

The Tenant Boundary: Isolation for Shared AI Systems

A field guide to deciding what may be pooled, what must be siloed, and how to keep retrieval, memory, caches, tools, logs, and evaluations inside the right customer boundary.

The Fact Was True, But When? Time Semantics for AI Systems
AI TutorialsAugust 13, 2026•14 min read

The Fact Was True, But When? Time Semantics for AI Systems

A practical architecture for separating event, observation, record, snapshot, decision, and action time so AI systems can reason honestly about changing facts.

One Writer, Many Agents: Concurrency Control That Survives Failure
AI TutorialsAugust 12, 2026•14 min read

One Writer, Many Agents: Concurrency Control That Survives Failure

A field guide to choosing serialization, version checks, transactions, leases, and fencing tokens when several AI workers can touch the same state.

Grok Bot: Build a One-Person AI Company Safely
AI TutorialsAugust 12, 2026•15 min read

Grok Bot: Build a One-Person AI Company Safely

A practical guide to Grok Bot's shared computer, role charters, routines, multi-agent handoffs, pricing, evidence, and safety boundaries.

After the Stop Button: Cancellation Semantics for AI Agents
AI TutorialsAugust 11, 2026•14 min read

After the Stop Button: Cancellation Semantics for AI Agents

A field guide to propagating cancellation, proving work has stopped, and reconciling side effects when an AI task outlives the user's intent.

AI in Accounting: Financial Document Automation for Iranian Companies
AI TutorialsAugust 10, 2026•7 min read

AI in Accounting: Financial Document Automation for Iranian Companies

A practical guide to AI in accounting: extracting data from Persian invoices, reconciliation, internal controls, and a measurable pilot path for finance teams at Iranian companies.

The Queue Is a Policy: Admission Control for AI Under Load
AI TutorialsAugust 10, 2026•14 min read

The Queue Is a Policy: Admission Control for AI Under Load

A practical architecture for deciding which AI work to admit, queue, degrade, defer, or reject before overload turns useful capacity into wasted effort.

Persian Chatbots for Business: A Design, Evaluation, and Deployment Guide
AI TutorialsAugust 10, 2026•7 min read

Persian Chatbots for Business: A Design, Evaluation, and Deployment Guide

A practical guide to Persian business chatbots: retrieval-grounded architecture with citations, evaluation on real Persian data, security controls, and a staged deployment path.

Valid JSON, Wrong Decision: The AI Output Contract
AI TutorialsAugust 9, 2026•13 min read

Valid JSON, Wrong Decision: The AI Output Contract

A field guide to versioning, validating, repairing, and safely consuming structured AI output without confusing schema compliance with truth or authority.

The Second Attempt Problem: Retrying AI Without Duplicating Actions
AI TutorialsAugust 7, 2026•14 min read

The Second Attempt Problem: Retrying AI Without Duplicating Actions

An operating guide for deciding when an AI call may be retried, hedged, failed over, or reconciled—and for preventing timeout ambiguity from becoming duplicate business action.

The Dangerous Cache Hit: Reusing AI Answers Without Reusing Mistakes
AI TutorialsAugust 6, 2026•14 min read

The Dangerous Cache Hit: Reusing AI Answers Without Reusing Mistakes

A practical architecture for deciding when an AI answer may be reused, which context must enter the cache key, and when freshness, authority, or consequence requires a new result.

GitHub Copilot CLI Tutorial: Install, Permissions and Everyday Use
AI TutorialsAugust 6, 2026•17 min read

GitHub Copilot CLI Tutorial: Install, Permissions and Everyday Use

A practical GitHub Copilot CLI guide: installing on macOS, Linux and Windows, instruction files, tool permissions, plan and autopilot modes, MCP, scripted use, and connecting your own model.