About the role
This is a remote staff-level machine learning and agent engineering role (IC4) on the Code Understanding team at Sourcegraph, open to candidates worldwide with a preference for people based in the USA. The person in this role becomes the technical owner for the models, evaluations, and agentic systems behind products such as Deep Search and Query Assist. The team is small and senior-leaning, so the role covers hands-on building as well as setting direction and raising the skills of other engineers. Working hours must overlap with Eastern Time (EST) for at least 20 hours each week.
What you’ll do
- Set technical direction for models, evaluations, and agentic systems on the Code Understanding team.
- Design and harden multi-step, tool-using agent loops that run in production at enterprise scale.
- Decide where evaluations are worth their cost and where a targeted smoke test or metric is enough.
- Choose which models run on each product surface, drive upgrades, and fine-tune in-house models when that is justified.
- Improve how answers are grounded in customer code through retrieval, ranking, context windows, and citations.
- Treat cost and latency as product features by profiling, distilling, caching, and right-sizing models.
- Build the evals, dashboards, and guardrails that expose quality or cost regressions before customers notice them.
- Mentor engineers through pairing, design reviews, and code reviews, and spread agent engineering practice across the team.
- Take part in the team's on-call rotation and talk with customers to frame the problems you solve.
What they’re looking for
- Staff-level experience as an engineer and technical leader in production machine learning, evaluation, and agent systems.
- Experience owning a production model lifecycle, including training or fine-tuning a model from dataset construction through evaluation, rollout, and monitoring.
- Experience designing multi-step agentic systems that are reliable, observable, and bounded in cost.
- Sound judgment on evaluation design, including baselines, metrics, error taxonomies, and release criteria tied to production behavior.
- Solid software engineering fundamentals for shipping production services, with comfort in Go, TypeScript, GraphQL, PostgreSQL, and Docker, or a clear willingness to learn them.
- Fluency with agentic coding tools, with full ownership of every line of code submitted.
- Comfort working asynchronously in a distributed, fast-paced remote team.
Nice to have
- Shipped an LLM-powered or agentic developer-facing product.
- Fine-tuned, distilled, or trained models to meet cost, latency, or quality targets in production.
- Experience with retrieval, ranking, embeddings, or search relevance.
- Experience working directly with enterprise customers and turning their needs into product requirements.
- Experience mentoring engineers and raising a team's agent engineering skills.
What’s on offer
- Above-market salary, with pay bands published openly to all Sourcegraph teammates.
- Base salary set by the IC4 pay band, with a listed minimum of 88,000 USD per year.
- Remote working, hiring worldwide with a stated preference for candidates residing in the USA.
- Working hours that must overlap with EST for at least 20 hours per week.
- Real influence over the team's technical direction and a direct line to the impact of the work.
Skills
Questions about this role
Is this role remote?
Yes. The role is remote and open worldwide, with a preference for candidates residing in the USA. Working hours must overlap with EST for at least 20 hours per week.
How much does it pay?
The listed minimum base salary is 88,000 USD per year. Base pay is set by the IC4 pay band, and Sourcegraph publishes its pay bands to all teammates.
What level is this job?
This is an IC4 role at staff level, with a technical leadership focus on machine learning, evaluation, and agent systems.