agent.py retriever.py tests/test_agent.py
agentic platform User FastAPI Orchestrator plan → act → observe Tools Claude Vector DB
12345 678910 1112131415 1617181920
from anthropic import AsyncAnthropicfrom treehouse.rag import Reranker, Retriever  class ResearchAgent:    """Answers questions over a private corpus."""     def __init__(self, model="claude-opus-5"):        self.client = AsyncAnthropic()        self.retriever = Retriever(top_k=12)        self.model = model     async def answer(self, question: str) -> str:        docs = await self.retriever.search(question)        ranked = Reranker().sort(docs, question)        reply = await self.client.messages.create(            model=self.model,            messages=[prompt(question, ranked[:4])],        )        return reply.content[0].text
main Python 3.12 UTF-8 Ln 20, Col 36

Hey! I'm Sk. Farhad Uddin Ahmed Lead AI Engineer, Backend Expert, Researcher and a Father!

  • Home
  • Experience
  • Education
  • Skills
  • Projects
  • Services

Services

Technical Leadership

I lead engineering and AI teams from idea to production, owning architecture, code quality, delivery and mentoring. Open to Technical Lead and Engineering Manager roles where solid backend engineering meets applied AI.

Read more →

Agentic AI Solutions

Agentic AI empowers systems to act autonomously, pursue goals, and make context-aware decisions. AI agents are essential for next-generation automation and intelligent business solutions. If you need agentic AI system for your business, let’s discuss how I can help turn your vision into reality.

Read more →

Rapid MVP Development

Have an idea that needs to become a real product fast? As a solo builder I take ideas from zero to a deployed, full-stack MVP, spanning backend, AI and cloud, the way I built ChatExpense.

Read more →

Backend Engineering

Got an innovative idea for a profitable business? Great! Have an MVP to show for it? Even better!! The hard part is what comes next — onboarding your first few clients and giving them a real service instead of a demo. That's where I can help you!

Read more →

Engineering Mentorship

Paid 1:1 mentorship for junior and mid-level engineers. In the AI-tooling era it's easy to ship code you don't fully understand. I help you build the underlying judgment (debugging, architecture, code review instincts) that AI assistants can't hand you.

Read more →

Business Growth

Modern SEO, AI-driven marketing, optimized sales funnels, and smart lead generation are key to growing your digital business. With analytics and automation, you can boost visibility, attract quality leads, and scale faster in today’s competitive market.

Read more →

Follow me

Contact

farhad@techjays.com (Work)
sk.farhad.eee@gmail.com (Personal)

Design Template Courtesy: Initio by GetTemplate