PyCon Lithuania 2025

Code Generation in Regulated Industries: Opportunities and Challenges
2025-04-25 , 101

AI-driven code generation can transform software development in regulated sectors like banking and insurance - but only if implemented securely and responsibly. In this talk, we’ll explore how to harness tools like GitHub Copilot and ChatGPT to boost productivity while ensuring compliance. Attendees will learn key considerations, best practices, and practical insights to keep code generation both efficient and fully auditable.


In highly regulated industries, code quality, security, and compliance are paramount. Yet recent advances in AI-driven coding assistants promise faster development, fewer errors, and improved agility. How do we tap into these benefits without introducing unacceptable risk?

This session will:

Demystify AI Code Generation:
- Brief overview of tools like GitHub Copilot, Code Llama, ChatGPT and other
- How these models learn, generate code, and support developers

Tackle Regulatory and Compliance Challenges:
- Why finance, insurance, and other sectors have stringent requirements
- Ensuring auditability, explainability, and data privacy
- Real-world pitfalls: potential for code vulnerabilities or data leaks

Adopt Best Practices for Secure Development:
- Human-in-the-loop code review and automated scanning
- Model fine-tuning with domain-specific datasets
- Integrating AI generation into CI/CD pipelines with robust security checks

Explore Future Possibilities:
- How “regulation-aware” AI might evolve
- Potential for industry-specific large language models
- Balancing innovation and compliance

I’m a tech enthusiast helping world’s largest banks stay ahead of the curve. I’m all about empowering your passion by automating the ordinary - finding smarter ways to solve problems, streamline systems, and make technology work for us, not the other way around. Use the technology to free up time to experience the world and focus on what truly matters.