All Posts
Jonas Birmé, VP R&D, Eyevinn Technology

Open Source Cloud Architect Under the Hood

Explore the technical architecture behind the OSC Architect, a RAG-powered tool that helps developers and solution architects build solutions using open web services.

ai
architecture
rag
developer-tools

The Open Source Cloud Architect is a tool designed to assist business developers, solution architects, and developers in building solutions using open web services. It is accessible via the web console and as a GitHub Copilot chat participant in Visual Studio Code. In this post, we explore the technical architecture that powers this AI assistant.

Retrieval-Augmented Generation (RAG)

RAG architecture diagram showing how the OSC Architect retrieves and augments context

The OSC Architect leverages the latest GPT large-language models enhanced with RAG architecture. This approach retrieves relevant information from a specialized knowledge database before generating responses, ensuring answers are contextually accurate for OSC users. The system searches documentation, SDK references, and blog posts, then augments the language model's context with this retrieved information to provide precise and helpful guidance.

Knowledge Database Management

Diagram showing automatic synchronization of knowledge base with vector store

A vector store maintains current OSC knowledge by automatically synchronizing with an S3 bucket containing markdown files, HTML documentation, and blog posts. The process triggers automatically when documentation updates occur through GitHub workflows, ensuring the knowledge base remains current without manual intervention. This automated pipeline keeps the architect up-to-date with the latest platform features and best practices.

VS Code Integration

Screenshot of OSC Architect chat interface in VS Code

Developers can install an extension providing a chat interface with an @osc Copilot participant. This integration prompts the architect to enhance responses with code examples relevant to development contexts. For example, when asking about storing authentication tokens, the architect provides practical code snippets that developers can immediately use in their projects.

Future Roadmap

Planned improvements include expanding the knowledge base and implementing remote MCP (Model Context Protocol) support to enable seamless integration with AI agents and AI chat applications. This will allow developers to leverage the OSC Architect from even more tools and workflows, making it easier than ever to build solutions on Open Source Cloud.