# From Chat to Everything: Building Reusable AI Infrastructure Across All Platforms

- Speaker: [Jenia Barabanov](/wiki/speakers/jenia-barabanov.md)
- Event: [Reversim Summit 2025](/wiki/years/2025.md)
- Video: https://www.youtube.com/watch?v=Lwu_KVuOktU
- Transcript: [/transcripts/2025/19-Lwu_KVuOktU.md](/transcripts/2025/19-Lwu_KVuOktU.md)
- Language: Hebrew and English · Type: talk · Level: intermediate
- Topics: [Architecture](/wiki/topics/architecture.md), [MLOps](/wiki/topics/mlops.md), [Infrastructure](/wiki/topics/infrastructure.md), [Mobile Development](/wiki/topics/mobile-development.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker shares insights on how their team built a reusable and scalable AI infrastructure within a tight six-week deadline to support both chat and non-chat features across multiple platforms. By establishing clear architectural boundaries and a layer-based structure, the team successfully decoupled AI core logic from React and platform-specific implementations. The talk emphasizes adopting a generalization mindset and thinking in capabilities rather than isolated features to drive long-term development velocity. Ultimately, the audience learns practical strategies for designing robust AI infrastructure that can adapt to rapidly evolving product requirements.

## Key points

- [2:47](https://www.youtube.com/watch?v=Lwu_KVuOktU&t=167s) The team faced a major challenge of developing a multi-platform AI chat and onboarding infrastructure within a strict six-week deadline.
- [5:23](https://www.youtube.com/watch?v=Lwu_KVuOktU&t=323s) The architecture was divided into three distinct layers: AI Core, React bindings, and AI Chat to separate concerns and maintain clean boundaries.
- [7:29](https://www.youtube.com/watch?v=Lwu_KVuOktU&t=449s) AI interactions are modeled as tasks with streaming support, allowing the backend to push data chunks to the frontend component state seamlessly.
- [11:36](https://www.youtube.com/watch?v=Lwu_KVuOktU&t=696s) The first two weeks were spent exclusively on communication, research, and defining architectural boundaries rather than writing code.
- [13:41](https://www.youtube.com/watch?v=Lwu_KVuOktU&t=821s) Platform-agnostic infrastructure defines common interfaces, while platform-specific infrastructure handles the concrete implementations for web, mobile, and node.
- [21:29](https://www.youtube.com/watch?v=Lwu_KVuOktU&t=1289s) Adopting a generalization mindset creates a snowball effect, enabling developers to reuse existing functionality for new features effortlessly.
- [22:29](https://www.youtube.com/watch?v=Lwu_KVuOktU&t=1349s) Distinguishing between capabilities and features ensures that core logic remains reusable across multiple use cases instead of being tied to a single user story.

## Takeaways

- Invest time upfront in defining strict architectural boundaries and a shared vocabulary before writing code.
- Separate platform-agnostic core logic from platform-specific implementations to enable seamless cross-platform reuse.
- Think in terms of generalized capabilities rather than siloed features to build a scalable and maintainable AI infrastructure.

## Questions this talk answers

- How can you architect a frontend application to share AI core logic seamlessly across web and mobile platforms?
- What is the difference between designing for features versus designing for capabilities when building AI infrastructure?
- How do you structure layer-based architectures to handle real-time streaming responses from language models effectively?

## Technologies

React, TypeScript, JavaScript, Node.js, OpenAI

## Tags

ai infrastructure, architecture, cross-platform, react, scalability, software design, typescript
