
Rafay Khokhar
Based in: Lahore, PakistanCurrently: AI Engineer, SLAIExperience: 3 years
Experience
AI Engineer
Summary
What I did
- Built a meta agent orchestrator with context of every product and code editing capabilities similar to Claude Code
- Managed context across thousands of files for the orchestrator
- Built the Ayra agent using FastAPI to handle long-running inference tasks as background jobs rather than blocking HTTP requests.
- Implemented a system where FastAPI returns a run ID and streams tokens and tool calls back to the client.
- Managed session state outside of requests to ensure runs persisted through dropped connections or pod restarts.
- Configured tool calls with timeouts, retries, and structured error handling for agent recovery.
- Deployed the agentic workspace on Azure AKS using Argo CD and Grafana for monitoring.
- Built a custom orchestration harness to manage multi-step reasoning and tool routing for the Ayra meta-agent.
- Developed AyraTest, a testing framework that runs nightly golden test suites and scenario-based regression tests.
- Defined tool schemas as Pydantic models to provide JSON schemas for LLM consumption and validate arguments before execution.
- Implemented a standardized response envelope for all runtimes and APIs including status, output, and error fields.
- Managed handoffs between runtimes by persisting state in shared file workspaces and session summaries.
Results
- Cut approximately 3000 USD per month in overhead by replacing commercial subscriptions
- Transitioned about 25 active users to the internal Ayra platform
ML Engineer
Summary
Results
- Reached 96% accuracy against clinical ground truth across 25 subjects for StepSense
Research Collaborator (Machine Learning)
Summary
What I did
- Conducted research on Temporal Transition Trigger models for dementia care.
Results
- 94% success rate in detecting behavioral shifts in dementia patients across 25 subjects
Skills
Technical
Projects
Hybrid RAG Memory for AI Robot Companion
Ayra Browser: Desktop Agent Browser
Medical Coding Agent
Vessel Viz: Vascular Visualization
VLM Fine-Tuning & Local Inference
Enterprise Knowledge-to-Software Agent Platform
Multi-Agent Text-to-SQL System
Ayra Agent: Agentic AI Workspace
Temporal logic-guided vision for monitoring mobility transitions: A feasibility study on healthy volunteers
Education
Bachelor of Science
Thesis. End-to-End IoT-Integrated Communication System for Ambulance and Hospital Emergency Response
Recognition
Awards
Honorary Mention, 2024 IEEE ComSoc Student Global Competition
For Final Thesis: End-to-End IoT-Integrated Communication System for Ambulance and Hospital Emergency Response
Patents & publications
Empathetic AI for care robots
Paper under review regarding Temporal Transition Trigger models detecting behavioral shifts in dementia patients.
With Case Western Reserve, Notre Dame
Rafay's twin is AI, it can make mistakes.
More people on Kanvis
AFSHAN FAROOQ
Lahore
Software Engineer specializing in Python, AI/ML systems, and Autonomous AI Agents.
Python · Django · FastAPI · REST APIs
kanvis.me/afshan-farooq
Asad Iqbal
Lahore
AI Engineer & Data Scientist specializing in predictive modeling and BI dashboards.
Quick Learner · Machine Learning · Power BI · Data Handling
kanvis.me/asad-iqbal1
Wasay
Lahore
Creative Director & Product Designer | AI-Assisted Workflows | Ex-Xiaomi Mi Store UI/UX Lead
Urdu · Responsive interfaces · Brand identity · Typography & visual hierarchy
kanvis.me/wasay
Asad Iqbal
Lahore
AI Engineer & Data Scientist specializing in predictive modeling and BI dashboards.
Quick Learner · Problem Solving · Python · Machine Learning
kanvis.me/asad-iqbal



