Skip to content
Search jobs inside your AI agent. Claude, ChatGPT, Claude Code, Codex, Gemini, Cursor and Grok
Connect

Aigenc

NewBe an early applicant

Middlewear Engineer

Posted

Description

The candidate will have responsibilities across the following functions:


Third-Party API Integrations:

  • Build and maintain integrations with Meta Ads, Google Ads, and other third-party platforms.
  • Handle OAuth/token lifecycle, rate limits, pagination, retries, and partial failures.
  • Design integrations in a way that allows new platforms to be added without duplicating core logic.


Data Ingestion and Background Jobs:

  • Own daily ad, creative, and performance data ingestion pipelines.
  • Build reliable webhook systems with verification, deduplication, and replay handling.
  • Work with Celery, Redis, SQS, Kafka, or similar technologies for background processing.
  • Ensure jobs are idempotent and safe to run multiple times.
  • Design queues so high-volume ingestion does not impact real-time user requests.


Chatbot and Conversational AI Integrations:

  • Build and maintain backend services and APIs supporting AI-powered chatbots and conversational applications.
  • Integrate chatbots with LLM APIs, databases, internal services, and third-party platforms.
  • Implement conversation management, session handling, context retention, and message processing.
  • Develop backend workflows for chatbot interactions, including asynchronous processing, retries, and error handling.
  • Ensure reliable communication between chatbots, AI agents, and backend systems.
  • Work on integrating AI agents and conversational interfaces with business data and analytics systems.


Database and Data Layer:

  • Work deeply with MongoDB or equivalent databases.
  • Own indexes, upserts, uniqueness constraints, aggregation pipelines, query optimization, and schema changes.
  • Maintain accurate and consistent definitions for metrics such as ROAS, CPC, CTR, etc.
  • Ensure data remains reliable and consistent across dashboards, reports, chatbots, and AI agents.


Multi-Tenancy and Security:

  • Build and maintain secure multi-tenant systems.
  • Ensure complete separation of customer data across APIs, databases, files, and background jobs.
  • Implement authentication and authorization across routes and services.
  • Work with JWT, secrets management, and secure credential handling.
  • Understand and address security risks such as SSRF, injection, and unauthorized access.


Caching:

  • Build and manage caching using Redis or similar technologies.
  • Decide what should be cached, when caches should expire, and when they should be invalidated.
  • Ensure cached data remains consistent when underlying data changes.


Cloud, Deployment, and Observability:

  • Work with AWS, Docker, and CI/CD pipelines.
  • Own deployments using technologies such as AWS ECS, S3, SQS, and GitHub Actions.
  • Build automated testing and deployment gates.
  • Implement logging, monitoring, tracing, and alerts.
  • Ensure production issues can be identified and resolved quickly.
  • Own rollback and production reliability for the middleware layer.


Architecture and Technical Ownership:

  • Create and maintain High-Level and Low-Level Design documents.
  • Make architecture and technology decisions for the middleware layer.
  • Lead large technical projects end-to-end.
  • Collaborate with engineering, AI, and product teams to ensure clean and reliable data reaches AI systems and chatbots.


Must Have:

  • 3-5 years of backend engineering experience.
  • Strong hands-on experience with Python.
  • Production experience with FastAPI or another modern asynchronous framework.
  • Experience building and running third-party API integrations.
  • Strong understanding of OAuth, API rate limits, pagination, retries, and partial failures.
  • Experience building or integrating chatbot applications and conversational AI systems.
  • Understanding of chatbot architecture, conversation flows, session management, and context handling.
  • Experience integrating LLM APIs or AI-powered services with backend applications.
  • Experience with data pipelines or background job systems.
  • Hands-on experience with Celery, SQS, Kafka, Redis, or similar technologies.
  • Strong experience with MongoDB or another database.
  • Good understanding of indexes, aggregation, query optimization, upserts, and schema changes.
  • Experience building multi-tenant backend systems.
  • Understanding of idempotency and retry mechanisms, preferably with real production examples.
  • Experience with AWS, Docker, and CI/CD.
  • Strong understanding of backend security fundamentals.
  • Ability to write technical/design documents.
  • Experience owning a significant project or technical system end-to-end.


Good to Have:

  • Experience with Meta Marketing API or Google Ads API.
  • Experience building webhook systems at scale.
  • Knowledge of webhook signature verification, replay protection, and event ordering.
  • Experience with LangChain, LangGraph, LlamaIndex, or similar AI frameworks.
  • Experience building RAG-based chatbots and integrating vector databases.
  • Understanding of prompt engineering, tool calling, and AI agent workflows.
  • Understanding of MCP or AI agent tooling.
  • Experience with OpenTelemetry, New Relic, Sentry, or similar observability tools.
  • Experience working with AI/ML/LLM teams or AI-powered products.
  • Experience in AdTech, MarTech, marketing analytics, or consumer technology.


What Success Looks Like:

  • Data from advertising platforms is accurate and complete.
  • Failed jobs can be safely retried without creating duplicates.
  • Customer data remains completely isolated.
  • APIs remain reliable despite rate limits and failures.
  • Chatbots and AI agents communicate reliably with backend services and databases.
  • Chatbot conversations maintain the required session context and data consistency.
  • Metrics are consistently calculated across the product.
  • AI agents and chatbots receive clean, fresh, and trustworthy data.
  • Production issues are detected before they impact customers.

Skills

Apply

See also