Need Python developer to build custom AI agent

Posted 5 hours ago

Worldwide

Summary

We tried building our AI support workflow in n8n but hit a wall. We need someone who can build it properly in Python instead. What we need: a backend service that handles customer queries, decides whether to route them to Claude or OpenAI depending on the type of question, pulls relevant answers from our internal documentation (RAG-style, we have ~200 docs), and returns a response with a confidence score. If confidence is low, it should trigger an escalation instead of guessing. This needs to be real, maintainable code — not a no-code workflow. We specifically want: FastAPI backend with a clean API layer Custom routing logic between Claude API and OpenAI API based on query type (not just a static rule — something that can be tuned over time) RAG pipeline using a vector database (open to Pinecone, Weaviate, or your recommendation) Confidence scoring tied to retrieval quality, not just LLM self-reported certainty Proper error handling and retry logic — this needs to run reliably, not just work in a demo Basic logging/analytics so we can see what's routed where and why We tried the no-code route first and it fell apart once we needed branching logic and reliable error handling, so please don't pitch us an n8n/Make solution — we specifically need custom Python. What we're looking for: Strong Python backend experience (FastAPI or similar) Real production experience with Claude API and/or OpenAI API, not just tutorials RAG/vector search experience Comfortable explaining architecture decisions clearly — we're technical enough to follow, but want reasoning, not just a stack list Deliverables: Working FastAPI backend with documented endpoints RAG pipeline connected to our documents Model routing logic with basic logging Short handover call + documentation Please mention specific production systems you've built with this stack when applying — not just tools you know.

  • $800.00

    Fixed-price
  • Expert
    Experience Level
  • Remote Job
  • One-time project
    Project Type
Skills and Expertise
Mandatory skills
Python
Artificial Intelligence
Activity on this job
  • Proposals:20 to 50
  • Last viewed by client:1 hour ago
  • Interviewing:
    0
  • Invites sent:
    0
  • Unanswered invites:
    0
About the client
Member since Jul 25, 2026
  • Ukraine
    Kyiv2:16 AM

Explore similar jobs on Upwork

Predictive Model
SQL
pandas
Data Science
Python
Machine Learning
Python Scikit-Learn
Deep Learning
Predictive Analytics
Data Analysis
Gen AI Developer (Contract)Fixed-price‐ Posted 2 months ago
AI Agent Development
Python
JavaScript
API
Node.js
Deep Learning
React
PostgreSQL

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo