safzan pirani
agent engineer · india · remote
summary
agent engineer shipping end-to-end — model + tool layer + infra + human-in-loop surfaces. comfortable owning the whole loop: cloudflare workers / vps for state and scheduling, postgres / supabase for relational data, vllm / sglang / llama.cpp + comfyui for local inference, telegram bots and operator consoles as human surfaces. ~250 side projects keep every layer warm.
stack
agent harnesses (langchain / langgraph), typescript, python, go, next.js, fastapi, postgres / supabase, cloudflare workers + tunnels, vllm / sglang / llama.cpp, comfyui, telegram bots as control planes, tailwind / vanilla css
experience
selected projects
spore
feb 2026 – presentlong-running task agent with a browser operator console. next.js + cf workers. doom-loop guards, mid-prompt interrupters, follow-up steering, real-time token tracking, replay-based forking, subagent canvas via task-tool subagents.
openports
feb 2026 – presentoperator console + telegram bot + recheck cron for publicly exposed comfyui / ollama boxes. classic agent loop: scan → fingerprint → diff → notify. fastapi + sqlite + react/vite + apscheduler. URL-synced filters, saved searches, watch list, model catalog, history + diff detection.
agentic resume editing
may 2026 – presentagentic latex editor. live preview + agent that edits the latex tree on user instruction.
voicewin
dec 2025 – presentnative windows speech-to-text app. push / tap right-alt to record → whisper / deepgram → paste. C# / .net + global hotkeys. ships releases.
comfyui custom node that preserves image quality on flux kontext edits — diffs the edit against the original and selectively merges only changed regions back, instead of degrading the untouched pixels through full re-encode.
cliproxyapi-cursor (fork)
feb 2026 – may 2026patched router-for-me/CLIProxyAPI to translate cursor ide's claude / anthropic toolcall format into gemini's functionCall. fixed missing tool-name sanitization, added image-block support, full unit-test coverage.
local rag system
nov 2023 – mar 2024offline retrieval-augmented generation with ollama + llamaindex, multiple data sources, streaming responses.
license plate recognition
aug – oct 2023yolov8 detector + easyocr for indian license plates. end-to-end video → text pipeline.