Agentic AI Engineer — Text-to-SQL Analytics Chatbot (LangChain/LangGraph + OpenAI)

Posted 5 hours ago

Worldwide

Summary

We're building an **agentic AI, text-to-SQL analytics chatbot**. It lets users ask questions about their business data in plain English — things like _"Show me the revenue trend,"_ _"Which source brought the most leads last month?,"_ or _"Where are we losing people in the funnel?"_ — and get clear, accurate, data-backed answers. ​ Behind the chatbot is a **large relational database (30+ tables)** covering areas like leads, appointments, revenue, and marketing performance. The AI agent understands each question, figures out where the answer lives across those tables, and responds with the numbers, trends, comparisons, and breakdowns the user asked for — always grounded in real data, never made up. ​ We're looking for an **AI engineer** who is strong on LLM / agent orchestration and text-to-SQL to help us build out and improve this agent. ​ ### What you'll be working on ​ - Build and improve an agentic AI that turns natural-language questions into accurate answers over a 30+ table database. - Support analytics use cases end to end: single-period metrics, time-series trends, period-over-period comparisons, grouped breakdowns, and funnel / diagnostic questions. - Keep answers accurate and trustworthy — the agent must return real numbers from the data and never fabricate them. - Improve prompts, accuracy, and the range of questions the agent can confidently handle. ​ ### Tech stack (you should be comfortable with most of this) ​ `Python` · `FastAPI` · `LangChain` & `LangGraph` · `OpenAI API` · `PostgreSQL` · `Pydantic` · (`LangSmith`, `Docker`, `DigitalOcean` a plus) ​ ### Required skills ​ - **Agentic AI / LLM orchestration** (LangChain / LangGraph or similar) and tool / function calling. - **Text-to-SQL** / natural-language-to-SQL over relational databases. - Strong **Python** and backend API development (FastAPI). - Solid **SQL** and **PostgreSQL**. - A focus on **accuracy** — making sure the AI returns correct, non-hallucinated answers. ​ ### Nice to have ​ - Prompt engineering and LLM evaluation / observability experience. - Marketing / sales analytics domain knowledge (leads, appointments, revenue, paid ads). - Docker / cloud deployment experience. ​ ### Deliverables / definition of done ​ - Working, tested improvements to the agent. - Accurate answers verified against real data across the supported question types. - Updated documentation where relevant. ​

  • More than 30 hrs/week
    Hourly
  • 6+ months
    Duration
  • Intermediate
    Experience Level
  • $15.00

    -

    $40.00

    Hourly
  • Remote Job
  • Ongoing project
    Project Type

Contract-to-hire opportunity

This lets talent know that this job could become full time.
Learn more
Skills and Expertise
Mandatory skills
Python
Machine Learning
Activity on this job
  • Proposals:20 to 50
  • Interviewing:
    0
  • Invites sent:
    1
  • Unanswered invites:
    1
About the client
Member since Apr 20, 2024
  • India
    Ahmedabad2:35 AM
  • $4K total spent
    5 hires, 1 active
  • 206 hours

Explore similar jobs on Upwork

Quantum Computing
Predictive Model
SQL
pandas
Data Science
Python
Machine Learning
Python Scikit-Learn
Deep Learning
Predictive Analytics
Data Analysis

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