Senior GenAI Full-Stack Engineer - Brazil
At a glance
Senior AI Engineering role at Codurance. Remote, Brazil · full-time.
Pay not stated AI Engineering salary
aimlroles summary, based on the employer's posting.
What you'll do
- Build and extend production LLM applications in NestJS, including RAG, tool use and human-reviewed workflows
- Develop the conversation-state foundation, with guard and action registries, flow checks, database-backed configs and design tools
- Evolve a player support chatbot and an AI copilot that helps customer support agents
- Compare and tune models across providers, balancing response quality, speed, reliability, capacity and cost
- Diagnose live AI failures and improve resilience with retries, fallback routing, caching, streaming and rate limits
What you bring
- You have built and operated production LLM products such as assistants, chatbots, copilots or RAG systems
- You bring strong TypeScript and Node.js skills, including fluency with strict TypeScript
- You have shipped AI features using prompts, retrieval, agents, tool calls, evaluation and production monitoring
- You can work across APIs, React interfaces, databases, infrastructure and production support
- You understand REST design, asynchronous queues and events, caching, testing, and multi-service monorepos
Who this fits
This senior role suits a hands-on engineer comfortable moving across the stack and operating AI features in production. It is remote and based in Brazil.
From the employer
Design and extend production-grade LLM applications and agentic workflows using
NestJS, XState v5, and the OpenAI SDK — flows include RAG, intent detection,
clarification, fulfillment, escalation, tool-use, and human-in-the-loop state machines
- Build and maintain the conversation-machine substrate: guard/action registries, flow
validation (ajv), DB-driven flow configs, and design-time tooling
- Build and evolve the AI systems behind Support Assistant , the
player-facing support chatbot, and Agent Support Assistant, the AI copilot used by
customer support agents
- Integrate with MCP servers (Model Context Protocol) for tool-use and agentic behaviors
- Evaluate, benchmark, and tune models across providers including OpenAI, Gemini,
Anthropic, and future providers; own model selection decisions balancing quality,
latency, throughput, reliability, and cost
- Troubleshoot production LLM issues including hallucinations, retrieval failures, prompt
regressions, model drift, token inefficiencies, latency bottlenecks, and provider outages
- Build resilience mechanisms: retries, fallback routing, caching, streaming, rate limiting,
and provider routing
- Instrument and tune model quality using Langfuse (tracing, evals, prompt
management), evaluation datasets, A/B testing, prompt versioning, and production
telemetry
- Manage async workloads via BullMQ and caching with Redis; PostgreSQL persistence
via Kysely
Requirements
Must-Have
- Proven experience building and operating production LLM-powered systems
similar in scope to chatbots, AI assistants, agent copilots, RAG systems, or LLM
orchestration platforms
- Strong TypeScript/Node.js engineering; TypeScript strict-mode fluency
- Production AI experience: prompt engineering, RAG pipelines, agent design, tool
calling, model evaluation, observability, and failure-mode analysis — you've shipped AI
features, not just prototyped them
- Fullstack depth: comfortable moving between NestJS APIs, React UIs, databases,
infrastructure, and production operations; you don't artificially limit yourself to one layer
- Ability to evaluate tradeoffs between model quality, latency, reliability, throughput,
and cost
- Ability to troubleshoot AI systems across prompts, retrieval pipelines, model
configuration, infrastructure, and application code
- State machine thinking — you naturally model complex async workflows; XState or
similar experience is a strong signal
- Solid understanding of REST API design, async patterns (queues, events), and caching
strategies
- Strong testing culture: unit, integration, and contract tests are first-class deliverables, not
afterthoughts
- Experience working in a monorepo with multiple interconnected services
Strong Plus
- Hands-on experience with MCP (Model Context Protocol) or building tool-use agentic
workflows
- Familiarity with Langfuse or other LLM observability/evaluation platforms
- Experience operating AI workloads at scale
- Experience evaluating multiple foundation models and providers
- Experience building AI copilots, assistants, or conversational products
- Experience with semantic search and retrieval architectures
- Experience with AI gateways such as Portkey or similar platforms
- Experience with NestJS specifically: modules, providers, guards, interceptors, DI
patterns
- Background in customer support or player support platforms — you understand the
stakes of getting AI-generated responses wrong
- Experience shipping under low-latency constraints (chatbot response time budgets,
streaming)
- Previous work in gaming or high-volume consumer products