Skip to content

Episode 9 - Edvin Teskeredžić

¡¡Click and add this episode to your podcast app!!

Episode 9 features Edvin Teskeredžić, a Senior AI Software Engineer at Infobip based in Sarajevo, Bosnia and Herzegovina.

With a background in electrical engineering and computer science, Edvin has spent years working with Python, FastAPI, and Pydantic—and now builds AI-powered microservices, developer tooling, and agent workflows. In this episode, we discuss designing FastAPI backends with Pydantic AI, dealing with non-deterministic LLM outputs, securing MCP servers, evaluating AI systems with tools like Promptfoo, and mentoring engineers in the age of AI coding assistants.

Topics we cover:

  • Introduction to Edvin Teskeredžić’s Background (00:00) – Edvin’s path from electrical engineering and computer science to teaching AI and working as a Senior AI Software Engineer at Infobip.
  • Academic Roots and the Shift in AI (02:40) – Classical machine learning, deep learning for super-resolution, and how generative AI shifted what software can solve.
  • Designing AI Backends with FastAPI and Pydantic AI (06:15) – Streamlining FastAPI microservice templates, structured outputs, automated retries, and tool calling with Pydantic AI.
  • Evaluating Non-Deterministic LLM Outputs (11:40) – Why temperature zero is not deterministic, tracing failures, golden datasets, and running automated tests in CI/CD with Promptfoo.
  • Securing AI Systems and MCP Servers (18:00) – Defending against prompt injection and privilege escalation, avoiding 1:1 API-to-MCP tool mappings, and enforcing architectural guardrails.
  • Measuring AI Quality and Business Alignment (25:10) – Tracking correctness, completeness, instruction following, and unsupported claims using a real-world WhatsApp number-provisioning flow.
  • Mentoring Engineers and Code Reviews in the AI Era (32:20) – Involving mentees in architecture, matching tasks to strengths, and keeping junior developers from shipping code they do not understand.
  • FastAPI Conference in Amsterdam and Constrained Optimism (39:30) – Highlights from the single-track FastAPI Conference, space telescope data pipelines, and Samuel Colvin’s talk on coding with AI.
  • Practical Advice for Builders and Closing Thoughts (44:50) – Starting with painful multi-step workflows, defining evaluation metrics early, and upcoming conference talks.

Connect with Edvin Teskeredžić:

Other References:

CODE WITH MATE
Episode 9 - Edvin Teskeredžić
00:00 00:00