Job description
Overview
You’ll own the applied ML work behind Potpie’s codebase agents, spanning retrieval, model behavior, agent execution, and evaluation. You’ll decide what to improve, design the experiments, and ship the changes yourself. You’ll be accountable for how reliably agents complete real engineering tasks and what it costs to run them in production.
Roles and responsibilities
- Improve how agents retrieve and rank code. Build and benchmark lexical, dense, and graph-based retrieval. Experiment with code representations, indexing strategies, and rerankers. Measure whether gains in retrieval relevance translate into higher task success.
- Improve how agents execute and verify work. Design how agents gather context, select tools, and maintain state across multi-step tasks. Use execution traces to identify where behavior breaks down and improve how agents recover, retry, or abstain.
- Own evaluation and release decisions. Build representative task datasets and establish baseline performance. Evaluate retrieval relevance, grounding, and end-to-end completion. Turn production failures into regression cases and use them to decide whether changes are ready to ship.
- Adapt models and optimize inference. Benchmark proprietary and open-weight models on representative workloads. Train or fine-tune embeddings, rerankers, or language models where the data supports it. Measure the effect of routing, caching, and batching on task success, tail latency, and cost per successful task.
- Build and operate the systems you ship. Own the production path from model and retrieval changes to asynchronous execution, tracing, and rollout. Diagnose failures under concurrent load and work with product, platform, and security teams on fixes.
Skills required
Top skills
- Retrieval and ranking
- Multi-step LLM agents
- Evaluation design
- Model fine-tuning
All skills (8)
- Embeddings and rerankers
- Concurrent services
- Python
- Go
- Rust
- JavaScript or TypeScript
- Code search and indexing
- GPU inference serving
Qualifications
- 3+ years of professional experience in machine learning engineering, applied AI, or software engineering, including hands-on ownership of a production ML system from design through operation.
- Production experience with multi-step, tool-using LLM agents. You’ve owned core agent behavior, investigated failures from execution traces, and shipped a change that measurably improved task completion or reliability.
- Hands-on depth in search and ranking. You’ve built or materially improved a retrieval system and can explain how you chose baselines, measured relevance, diagnosed misses, and verified the effect on a downstream task. Your work has involved source code or another large, structured corpus.
- Experience designing evaluations that changed a release decision. You’ve built representative task sets, defined scoring criteria, and added regression checks. You can explain what your evaluation missed and how you used production evidence to improve it.
- Hands-on model training or adaptation. You’ve trained or fine-tuned an embedding model, reranker, or language model. You can explain how you constructed the dataset, chose the baseline, and assessed whether the gains held on unseen tasks.
- Strong software engineering in at least one language, such as Go, Rust, Python, or JavaScript/TypeScript. You’ve built and operated concurrent services and can diagnose production issues using metrics, traces, and profiling.
Nice to have
- Experience building code search, repository indexing, static analysis, or dependency analysis across large codebases.
- Experience operating self-hosted inference, including GPU serving, batching, or capacity planning.
About Potpie AI
Overview
Potpie AI builds a unified context layer across an organization's engineering ecosystem, mapping its codebases, documentation, tickets and internal systems so that AI agents can handle software development tasks such as debugging, impact analysis, testing, system design and documentation. Its large enterprise and engineering team customers deploy these agents inside
