<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Miguel T on Medium]]></title>
        <description><![CDATA[Stories by Miguel T on Medium]]></description>
        <link>https://medium.com/@miguelt?source=rss-a67763a0f4be------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fDHcEwSxSLVqr60IbG5FFg.png</url>
            <title>Stories by Miguel T on Medium</title>
            <link>https://medium.com/@miguelt?source=rss-a67763a0f4be------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 21:43:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@miguelt/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[io.turbodsl v1.2.6 released]]></title>
            <link>https://medium.com/turbodsl/io-turbodsl-v1-2-6-released-8c385c3867df?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c385c3867df</guid>
            <category><![CDATA[asynchronous]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[kotlin-coroutines]]></category>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Sat, 14 Nov 2026 18:33:10 GMT</pubDate>
            <atom:updated>2026-11-14T18:33:10.931Z</atom:updated>
            <content:encoded><![CDATA[<p>Support for Kotlin Multiplatform has been added.</p><p>Incremental features will be rolled out in the upcoming months to include Agentic AI capabilities through Ktor and Koog.</p><p><strong>Guidelines, Fundamentals → </strong><a href="https://www.turbodsl.io/"><strong>https://www.turbodsl.io</strong></a></p><pre>// build.gradle.kts<br>dependencies {<br>    :<br>    implementation(&quot;io.turbodsl:io-turbodsl-core:1.2.6&quot;)<br>    :<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/0*jXXZKKo97tVAEesj.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c385c3867df" width="1" height="1" alt=""><hr><p><a href="https://medium.com/turbodsl/io-turbodsl-v1-2-6-released-8c385c3867df">io.turbodsl v1.2.6 released</a> was originally published in <a href="https://medium.com/turbodsl">io.turbodsl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kotlin Multiplatform Setup (2) — API calls]]></title>
            <link>https://medium.com/dynamic-content/kotlin-multiplatform-setup-2-api-calls-f7fb6d07f399?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7fb6d07f399</guid>
            <category><![CDATA[adaptive-ai-architecture]]></category>
            <category><![CDATA[dynamic-content]]></category>
            <category><![CDATA[compose-multiplatform]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Tue, 01 Sep 2026 01:44:51 GMT</pubDate>
            <atom:updated>2026-11-11T18:44:10.934Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>[November 11, 2026] UPDATE:<br></strong>The reference project <a href="https://github.com/migueltt/kmpAcme">https://github.com/migueltt/kmpAcme</a> has been updated.</p><p>Following up the <a href="https://miguelt.medium.com/kotlin-multiplatform-setup-84cdcc4d6341">Kotlin Multiplatform Setup</a> article (make sure you read it first!), the reference KMP Project now includes components to mock an API endpoint, simulating different scenarios.</p><blockquote>The main objective is to define proper API mechanisms to focus on what matters: Data Models, API endpoints, ViewModels, and @Composables.</blockquote><h3>Overview</h3><p>Within module kmpServerApp, a simple Ktor Server Application exposes one simple endpoint:</p><ul><li>GET /acme/data</li><li>Query-parameter delay indicates the number of seconds to delay response.</li><li>Query-parameter mode indicates the type of response: Success, NoData, RequestFailure, ServerFailure— each will send back a different response corresponding to 200 , 204 , 400 , 500 respectively. Unknown is also supported, but returns an invalid error-response payload.</li></ul><p>Similarly, within module kmpCompose, composable ApiResults displays different controls for each query-parameter:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*0y5z3KbzbyAusB3QW5wyrA.gif" /><figcaption>Making an API call through KMP application</figcaption></figure><h3>API Contracts</h3><blockquote>API Contract defines how requests and responses for a particular endpoint are defined. This contract includes: supported http-methods, query-params, path-params, headers, request-body, response-body, error-response-body, and http-codes.<br>This is commonly defined using OpenAPI specifications.<br>Both Front-End applications and Back-End services must comply with these API Contracts.</blockquote><p>Endpoint GET /acme/data returns data class <a href="https://github.com/migueltt/kmpAcme/blob/28a09c85b36bfafa742348f4d65b0b214e80afb8/kmpShared/src/commonMain/kotlin/com/acme/kmp/shared/api/AcmeData.kt#L48">AcmeData</a> for 200 http-code — that is, a “Success”:</p><pre>@Serializable<br>@SerialName(&quot;AcmeData&quot;)<br>data class AcmeData(<br>    @SerialName(&quot;platform&quot;)<br>    val platform: String,<br>    @SerialName(&quot;timestamp&quot;)<br>    val timestamp: LocalDateTime,<br>    @SerialName(&quot;module&quot;)<br>    val module: ModuleInfo,<br>    @SerialName(&quot;any_list&quot;)<br>    val anyList: List&lt;@Contextual Any?&gt; = emptyList(),<br>    @SerialName(&quot;any_map&quot;)<br>    val anyMap: Map&lt;String, @Contextual Any?&gt; = emptyMap(),<br>)</pre><p>Have you noticed attributes anyList and anyMap? Those have been added to demonstrate how flexible a KMP application can be. More on this later.</p><p><a href="https://github.com/migueltt/kmpAcme/blob/28a09c85b36bfafa742348f4d65b0b214e80afb8/kmpShared/src/commonMain/kotlin/com/acme/kmp/shared/api/ModuleInfo.kt#L36">ModuleInfo</a> is defined as:</p><pre>@Serializable<br>@SerialName(&quot;ModuleInfo&quot;)<br>data class ModuleInfo(<br>    @SerialName(&quot;id&quot;)<br>    val id: String,<br>    @SerialName(&quot;name&quot;)<br>    val name: String,<br>    @SerialName(&quot;group&quot;)<br>    val group: String,<br>    @SerialName(&quot;version&quot;)<br>    val version: String,<br>)</pre><p>For failures, either 4XX or 5XX, the error response body returns <a href="https://github.com/migueltt/kmpAcme/blob/28a09c85b36bfafa742348f4d65b0b214e80afb8/kmpShared/src/commonMain/kotlin/com/acme/kmp/shared/api/AcmeError.kt#L38">AcmeError</a>:</p><pre>@Serializable<br>@SerialName(&quot;AcmeError&quot;)<br>data class AcmeError(<br>    @SerialName(&quot;code&quot;)<br>    val code: Int,<br>    @SerialName(&quot;message&quot;)<br>    val message: String,<br>)</pre><p>This could be improved with more details about what went wrong — for example, including some attributes to indicate the error location, and how to display it.</p><blockquote>Noticed the @SerialName at the data class level? This is relevant for [de]serialization.</blockquote><p>These data classes determine the <strong>API Contract</strong> between GET /acme/data endpoint and our reference KMP application. Therefore, all the data classes are defined in module kmpShared which is included in both kmpServerApp and kmpCompose modules. Any future changes to the data classes can be easily applied across the entire KMP project.</p><p><strong>Remember:</strong> these data classes are just examples for this reference KMP project to implement different use-cases and define proper mechanisms through out all modules, achieving a consistent API Contract.</p><h3>[De]serialization</h3><p>As you already have noticed, we rely 100% on Kotlin’s serialization library, due to its multiplatform support. Other libraries could be used, but this is discouraged due to the additional steps to make it work.</p><p>Module kmpShared defines Ktor’s JSON-parser and HTTP-client to provide consistent mechanisms for [de]serialization.</p><ul><li><a href="https://github.com/migueltt/kmpAcme/blob/28a09c85b36bfafa742348f4d65b0b214e80afb8/kmpShared/src/commonMain/kotlin/com/acme/kmp/shared/api/AcmeApiClient.kt#L37">AcmeApiClient</a>: Encapsulates how to call the sample API endpoints, such as GET /acme/data.</li><li><a href="https://github.com/migueltt/kmpAcme/blob/28a09c85b36bfafa742348f4d65b0b214e80afb8/kmpShared/src/commonMain/kotlin/com/acme/kmp/shared/api/AcmeApiResult.kt#L22">AcmeApiModeParam</a>: Defines the values for query-parameter mode — both kmpCompose and kmpServerApp modules use it as part of the API Contract.</li><li><a href="https://github.com/migueltt/kmpAcme/blob/28a09c85b36bfafa742348f4d65b0b214e80afb8/kmpShared/src/commonMain/kotlin/com/acme/kmp/shared/api/AcmeConstants.kt#L36">ACME_DISCRIMINATOR</a>: Kotlin’s Json [de]serializer provides mechanisms to introduce a “discriminator” attribute (set as &quot;clazz&quot;) that is used to identify which serializer to use when encoding/decoding JSON. Each data class can then use @SerialName to define the value which will be included in the JSON payload as &quot;clazz&quot;: &quot;&lt;serial-name&gt;&quot;. Due to obfuscation, it is highly recommended to include a unique key.</li><li><a href="https://github.com/migueltt/kmpAcme/blob/28a09c85b36bfafa742348f4d65b0b214e80afb8/kmpShared/src/commonMain/kotlin/com/acme/kmp/shared/api/AcmeConstants.kt#L24">ACME_SERIALIZERS</a>: Defines a Map&lt;String, KSerializer&lt;Any&gt;&gt; to be used when [de]serializing Any — those anyList and anyMap attributes in AcmeData. Obviously, the key should match the @SerialName used on each data class.</li></ul><pre>val ACME_SERIALIZERS: Map&lt;String, KSerializer&lt;out Any&gt;&gt; =<br>    mapOf(<br>        &quot;AcmeData&quot; to AcmeData.serializer(),<br>        &quot;ModuleInfo&quot; to ModuleInfo.serializer(),<br>        &quot;AcmeError&quot; to AcmeError.serializer(),<br>    )</pre><blockquote>Check package <a href="https://github.com/migueltt/kmpAcme/tree/main/kmpShared/src/commonMain/kotlin/com/acme/kmp/shared/utils">com.acme.kmp.shared.utils</a> for generic components.</blockquote><p>Whenever you annotate with @Serializable you are directing org.jetbrains.kotlin.plugin.serialization plugin to create a serializer() function, injected directly into the compiled artifact.</p><p>In Ktor, io.ktor.client.HttpClient includes a ContentNegotiation plugin which in most cases is io.ktor.serialization.kotlinx.json. This plugin plus the serializer() functions perform all the conversion between the application data and JSON: serialization into JSON and deserialization from JSON.</p><h3>API Integration</h3><p>As indicated, just one API endpoint has been defined in kmpServerApp module. Future improvements will add more to implement additional patterns — like handling basic API versioning mechanisms.</p><blockquote>For some reason, you cannot run parallel services in AndroidStudio — if you are using just an Android emulator, you should be fine. But if you are running JVM or Web, gradle will not be able to start another process.<br>Just open a terminal, use command ./gradlew :kmpServerApp:run, and send a request http://0.0.0.0:8080/acme/data?mode=Success</blockquote><h4>Success Response</h4><p>The API endpoint is simply implemented as:</p><pre>call.respond(<br>  AcmeData(<br>    platform = getPlatform().name,<br>    timestamp = Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault()),<br>    module =<br>      ModuleInfo(<br>        id = ModuleBuildConfig.MODULE_ID,<br>        name = ModuleBuildConfig.MODULE_NAME,<br>        group = ModuleBuildConfig.MODULE_GROUP,<br>        version = ModuleBuildConfig.MODULE_VERSION,<br>      ),<br>    // Include a list to demonstrate polymorphic serialization.<br>    anyList = createAnyList(),<br>    // Include a map to demonstrate polymorphic serialization.<br>    anyMap = createAnyMap(),<br>  )<br>)</pre><p>Ktor serialization will use AcmeData serializer to generate JSON payload:</p><pre>{<br>    &quot;clazz&quot;: &quot;AcmeData&quot;,<br>    &quot;platform&quot;: &quot;Java 25.0.2&quot;,<br>    &quot;timestamp&quot;: &quot;2026-08-22T22:17:21.322488&quot;,<br>    &quot;module&quot;: {<br>        &quot;clazz&quot;: &quot;ModuleInfo&quot;,<br>        &quot;id&quot;: &quot;app-server&quot;,<br>        &quot;name&quot;: &quot;Acme Server App&quot;,<br>        &quot;group&quot;: &quot;com.acme.server.app&quot;,<br>        &quot;version&quot;: &quot;0.1.0&quot;<br>    },<br>    &quot;any_list&quot; : [ ... ],<br>    &quot;any_map&quot; : { ... }<br>}</pre><p>For &quot;anyList&quot;, serialization relies on ContextualAnySerializer</p><blockquote>Notice attribute <em>&quot;clazz&quot;: &quot;AcmeData&quot; </em>—this is used during the deserialization process, as defined in <em>ACME_SERIALIZERS</em>.</blockquote><p>Notice attributes &quot;any_list&quot; and &quot;any_map&quot; — these two were defined with @Contextual Any? just to show how much flexibility we can accomplish within this proof of concept.</p><p>While this introduces a lot of concepts, some of them shouldn’t be used in well-defined API-Contracts, like using Any?.</p><p>In any case, this is just a reference project to get you going.</p><p>Happy Kotlin!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7fb6d07f399" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dynamic-content/kotlin-multiplatform-setup-2-api-calls-f7fb6d07f399">Kotlin Multiplatform Setup (2) — API calls</a> was originally published in <a href="https://medium.com/dynamic-content">Adaptive AI Architecture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adaptive AI Architecture]]></title>
            <link>https://medium.com/dynamic-content/adaptive-ai-architecture-5c75235327eb?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c75235327eb</guid>
            <category><![CDATA[adaptive-content]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[dynamic-content]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[adaptive-architecture]]></category>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Sun, 09 Aug 2026 03:39:16 GMT</pubDate>
            <atom:updated>2026-08-09T15:18:17.609Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*wWiIWcXMOCECQkgBMPMoWw.png" /></figure><p>Using AI technologies can simplify every single aspect on how we develop applications — but most importantly, how we deploy, release, and execute such applications. An Adaptive AI Architecture is required to evolve applications as AI technologies mature.</p><blockquote>btw: I’ve changed the name to Adaptive AI Architecture for this publication. Of course, link still remains the same.</blockquote><h3>Why Adaptive?</h3><p>Any application should be able to adapt and evolve towards a full AI-based solution. While AI technologies are not there yet (as of August 2026), they will eventually be faster, cheaper, more reliable, and most importantly, more deterministic.</p><p>An application that can be tuned between traditional and AI-based mechanisms within this ever-changing environment is key for an effective long-term AI strategy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*OPfdBdUcXHytKWYDu-bUZw.png" /><figcaption>Decreasing or increasing AI aspects should be simple.</figcaption></figure><h3>Generative AI Use-Cases</h3><p>Generative AI (GenAI) can be used in two different ways:</p><ul><li><strong>GenAI for development (GenAI-Dev):</strong> AI technologies are used to design, implement, and test different components, assisting developers to build applications in a traditional way. At runtime, there aren’t any kind of AI artifacts being used and all the results are fully deterministic.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sQWKNFNyg6SKD1x0b5W8yw.png" /><figcaption>Traditional GenAI-Dev Workflow</figcaption></figure><ul><li><strong>GenAI at runtime (GenAI-Run):</strong> some or all components within an application are AI-driven at runtime. This could be some microservices using AI Agents, or even a mobile application relying on on-device AI-capabilities. Note that these components could have been implemented using <strong>GenAI-Dev</strong> workflows. Runtime behavior is non-deterministic, but may be reliable and accurate as AI technologies mature.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*vOn6NocdI0zgJp8Yer4kWw.png" /><figcaption>Traditional GenAI-Run Workflow</figcaption></figure><h3>The “status-quo” problem</h3><p>Most of us are prioritizing <strong>GenAI-Dev</strong> workflows, attempting to automate certain aspects of the existing Software Development Lifecycle (SDLC). Some are successful, while others fail miserably— using AI to maintain/fix legacy-code and/or sphagetti-code is not that easy after all.</p><blockquote>Check <a href="https://medium.com/ai-architecture/enterprise-genai-ai-readiness-9a3c323a7f03">Enterprise GenAI &amp; AI readiness</a> on how you can be more effective.</blockquote><p>Using AI to maintain this “<strong>status-quo</strong>” is not sustainable, neither effective nor efficient. Sure, some aspects could benefit, but, wouldn’t it be better to start from scratch? A blank canvas so to speak.</p><p>We may be reluctant to embark in such a journey: <em>“too expensive, takes too long” </em>might be some arguments.</p><p>Here’s where <strong>GenAI-Dev</strong> enters the scene: every single SDLC aspect can be faster, plus with all the experience gathered over the years, we can “easily” replace entire applications in record-time, <strong>IF AND ONLY IF </strong>we think “<strong>out-of-the-box</strong>”.</p><h3>The future is closer than you think</h3><p>A paradigm shift is required to comprenhend the impact AI will have on SDLC:</p><ul><li>Short-term: use of <strong>GenAI-Dev</strong> as we all are currently experiencing. Even <strong>GenAI-Run</strong> for some chat-assistant-like applications.</li><li>Medium-term: More <strong>GenAI-Run</strong> applications that could potentially be too complex to maintain, deploy, monitor, and even troubleshoot if a traditional approach is followed — even if <strong>GenAI-Dev</strong> is used.</li><li>Long-Term: More of the same? Or, fully AI-based reliable applications?</li></ul><p>Having a proper AI strategy for the long-term will definitively pay off.</p><p><strong><em>Remember: if you are not planning for an AI future, you can bet your competitors are.</em></strong></p><h3>Adaptive Applications</h3><p>The correct strategy would be to implement applications where you can integrate AI aspects incrementally, evolving applications over time, without disrupting your internal operations or your users activities.</p><p>For Back-End artifacts, API versioning mitigates downtimes up to some extent, allowing to manage changes through an API Gateway — each new version introduces new AI mechanisms. This includes Agents, MCP Servers, and any other artifact within your Back-End ecosystem.</p><p>What about Front-End? Web applications are easy to manage since you can deploy and release to all “clients” without too much effort.</p><p>The main challenges are mobile and desktop applications. Forcing users to update to new releases creates friction. Even worse, some changes may be time-sensitive. Juggling around features and delivery times, plus the overhead to release a mobile app which is subjected to multiple steps is overwhelming. What if your latest mobile app version is blocked by Google or Apple and you cannot release on time?</p><h3>Adaptive &amp; Dynamic Content</h3><p>An <strong>Adaptive AI Architecture</strong> introduces both adaptive and dynamic aspects on how applications are built. Conceptually, we can simplify a whole solution as “content”. This comprises everything you need to build features within an application.</p><p>The application itself then becomes just a “content processor”: the content can describe a screen, a module (set of screens), or the entire application (set of modules). A “content browser” with native capabilities.</p><p>This content could be defined statically within the app, or just some critical aspects (like authentication flows), while the rest could be delivered remotely — basically, <strong>Adaptive Content</strong>.</p><p>Back-End artifacts main objective is to provide this content. The related services could be using traditional (deterministic) or AI-based (non-deterministic) mechanisms , and <strong>this is where we can tune things up and down, adapting the solution based on how AI technologies evolve.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*hY81M0nb4wV3oSov8IciUA.png" /><figcaption>Adaptive AI Architecture</figcaption></figure><p>You may guessing what the ultimate objective is: content can be generated by a well-defined registered prompt. Releasing a module or an entire application is just one “prompt” away.</p><p>Future articles will explain these ideas in detail.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c75235327eb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dynamic-content/adaptive-ai-architecture-5c75235327eb">Adaptive AI Architecture</a> was originally published in <a href="https://medium.com/dynamic-content">Adaptive AI Architecture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kotlin Multiplatform Theming]]></title>
            <link>https://medium.com/dynamic-content/kotlin-multiplatform-theming-564bacd11e4c?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/564bacd11e4c</guid>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Sun, 01 Mar 2026 21:32:58 GMT</pubDate>
            <atom:updated>2026-03-05T03:57:05.956Z</atom:updated>
            <content:encoded><![CDATA[<p>Previous article was about <a href="https://medium.com/dynamic-content/kotlin-multiplatform-setup-84cdcc4d6341">setting up a base KMP Project</a>. Now we will apply theming across the app.</p><blockquote>This is a technical addendum for the <a href="https://medium.com/dynamic-content">Dynamic Content series</a>. Just to help you out on setting the technical foundations.</blockquote><p>You can check all the code here: See <a href="https://github.com/migueltt/kmpAcme">https://github.com/migueltt/kmpAcme</a></p><h3>Theming is Critical in Compose</h3><p>To avoid repeating instructions all over the place within your @Composables, a theme should be defined only once, without having to worry about it later.</p><p>But, this is not a one-time-thing — you have to be flexible but also strict, balancing technical and business requirements, adjusting as applicable.</p><p>UX Teams usually want broad control on how each tiny little UI component looks like, adding variations here and there. That’s where things get really complicated. You must explain that some UI attributes apply to multiple components and they scale up and down according to different form-factors, accessibility requirements link font-size, color-blind, among other things.</p><p>Since we are talking about KMP, you also need to explain that such theme attributes also apply to all platforms: iOS, Android, Web, Desktop — depending on your targets.</p><h3>Your app, your style?</h3><p>All the theming and styles are grounded on Compose guidelines. As of Feb 2026, these guidelines are defined by Google’s <a href="https://m3.material.io/">Material Design 3</a>.</p><p>For our reference kmpAcme project, details are included in <a href="https://github.com/migueltt/kmpAcme/blob/main/kmpCompose/README_Theme.md">README_Theme.md</a>.</p><p>For fonts, it is highly recommend to avoid the Type.kt generated in Theme Builder since it includes mechanism to get fonts dynamically. For Kotlin Multiplatform, this could be a challenge to support other platforms. There’s a more pragmatic approach using <a href="https://fonts.google.com/">Goole Fonts</a> — details are included in <a href="https://github.com/migueltt/kmpAcme/blob/main/kmpCompose/README_Typography.md">README_Typography.md</a>.</p><p>For Android targets, there’s a <a href="https://m3.material.io/styles/color/dynamic">dynamic color scheme</a>, which will choose the colors to match those as defined by the user’s background image, or, based on a specific content that can be set within your app. This feature will effectively remove any color-branding on your app. Check <a href="https://github.com/migueltt/kmpAcme/blob/main/app-android/src/main/kotlin/com/acme/mobile/app/MainActivity.kt">MainActivity</a> on how you can use this. Note that there are some specific <a href="https://m3.material.io/styles/color/dynamic/content-based-source">content-based mechanisms</a> to apply dynamic colors to specific components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*FROPXZtef0YnI83Ohi96aw.png" /></figure><h3>Start with the basics</h3><p>One important thing you must remember is that you are defining theming across all platforms. This is a Kotlin Multiplatform project after all.</p><p>Incremental changes should be applied only on your kmpCompose module which contains all your composables, sharing the UI/UX implementation across iOS, Android, Web, and Desktop.</p><p>Only introduce deviations on each target if really required — otherwise you are adding additional artifacts to maintain in the future, which increases the overall complexity. Sure, initially it may seem something trivial to do, but if you keep adding them, the codebase for each target will not be as unified as it should be.</p><p>This also increases friction across your teams. For example, UX Team may want to introduce a UI feature very specific for iOS which could potentially be very hard to included in Android and Web. This deviation may not be sustainable in the long term, going against the whole unified codebase principle. If you agree on these changes for a platform, expect more deviations in the future.</p><h3>Unified Theming as a Principle</h3><p>All stakeholders must understand that having a unified approach (theme, look and feel, overall user experience) is key to keep complexity low, allowing to introduce changes much faster.</p><p>The technology stack and business requirements should go hand-in-hand, influencing each other over time:</p><ul><li>Technology allows the business to innovate</li><li>Business dictates what needs to be done</li></ul><p>In reality, most organizations decide what technology must do, sometimes making technical decisions that are not sustainable.</p><p>Be strict on what you accept and on how you implement. It is not an easy task — most of the time such decisions are made (wrongly) by the business after all.</p><p>For our “theming” topic, something as trivial as how a Button should look like on a specific module on a particular platform could potentially affect your unified theming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=564bacd11e4c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dynamic-content/kotlin-multiplatform-theming-564bacd11e4c">Kotlin Multiplatform Theming</a> was originally published in <a href="https://medium.com/dynamic-content">Adaptive AI Architecture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enterprise GenAI & AI readiness]]></title>
            <link>https://medium.com/ai-architecture/enterprise-genai-ai-readiness-9a3c323a7f03?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a3c323a7f03</guid>
            <category><![CDATA[ai-readiness]]></category>
            <category><![CDATA[agentic-ai-architecture]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[mcp-server]]></category>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Mon, 23 Feb 2026 02:12:23 GMT</pubDate>
            <atom:updated>2026-02-28T17:00:28.123Z</atom:updated>
            <content:encoded><![CDATA[<p>Generative AI (GenAI) can improve traditional development workflows efficiency and effectiveness. They can also be applied on how to design and implement next-generation applications where AI is the main component.</p><p>All the use-cases and strategies focus on having a proper and flexible architecture, as explained in <a href="https://medium.com/ai-architecture/enterprise-ai-architecture-a-whitepaper-fa0cff22470a">Enterprise AI Architecture — A whitepaper</a> — make sure you read it first.</p><p>As your organization evolves and embraces AI technologies, the concept of <strong>AI readiness</strong> becomes critical for your success. But, what exactly is it?<br>First, let’s clarify some concepts.</p><h3>GenAI for Development</h3><blockquote>In a nutshell, GenAI for development is about using AI tools to maintain your existing codebase or implement new features using pre-defined or ad-hoc prompts through Code Assistants. GenAI applied on development is a repetitive and iterative process throughout the lifecycle of an application’s codebase.<br>Full automation can be achieved through specialized Agents.</blockquote><p>From resolving bugs, explain code, review pull-requests to generate actual useful code, Code Assistants are becoming a central part of any development workflow. This is how your organization gains competitive advantage. Projects can be rolled out much faster and, hopefully, free of bugs.</p><p>Vibe-Coding is a term that has become more relevant across the development communities. It allows fast prototyping, even building complete features or applications from scratch.</p><p>While its usefulness is unquestionnable, sometimes it may fall short of the high expectations. Why?</p><p>Most LLMs are trained using open-source projects and public repositories. Unfortunately, enterprise codebase is usually proprietary and legacy — in several cases, spaghetti-code:</p><ul><li>Complex and convoluted designs due to critical (last minute) patches.</li><li>Additional requirements or quick-fixes accumulated over time.</li><li>Code written by several teams, sometimes using different approaches — and most likely, some members are no longer within the organization.</li><li>Legacy-code that has survived for the last 5, even 10+ years.</li></ul><p>Unless you have trained your own LLM with your entire codebase (which is something quite complex and expensive), you will spend a lot of time writing very specific prompts to achieve your GenAI goals — at the end you will start thinking that maybe it is faster to write the actual code, rather than writing the prompts (instructions and directives).</p><p>Even if you start a brand-new application, you will face several restrictions on which programming language, library, or framework based on your organization standards and policies.</p><p>As explained <a href="https://medium.com/ai-architecture/enterprise-ai-architecture-a-whitepaper-fa0cff22470a#3cec">before</a>, LLMs are non-deterministic. New LLMs generations (which are released more often) cannot ensure you will get the same results, with the same prompts used on previous LLMs, even if they are of the same “family”.</p><p>So, what to do?</p><h3>Preparing for AI readiness</h3><p>Within GenAI for development, this term refers on how to use and apply AI concepts and AI tools within your organization. Once the Engineering Teams (developers, architects) are properly aligned, AI readiness can be expanded to business units.</p><p>For GenAI activities, AI readiness basically focus on:</p><ul><li><strong>Human factor:</strong> developers must be AI-aware — and the organization too!<br><em>Who will perform GenAI activities?</em></li><li><strong>AI tooling:</strong> all the AI artifacts that are available within the organization.<br><em>Which tools can be used for GenAI activities?</em></li><li><strong>Codebase:</strong> your applications must be “receptive” for GenAI.<br><em>What will be affected by GenAI activities?</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*1WnUKAOs9StVV8DNLrz_ng.png" /><figcaption>AI readiness is critical for GenAI</figcaption></figure><h3>Human Factor</h3><p>From an IT perspective, developers must understand:</p><ul><li>How exactly Code-Assistants or any other AI artifacts work, at least at a high level.</li><li>Which additional Agents they have at their disposal for automation.</li><li>Which LLMs are available and how to choose them based on the task.</li><li>How MCP integration is achieved and how MCP can improve context.</li></ul><p>Just letting developers access to a Code-Assistant (whatever it is) doesn’t mean they will know how to use it effectively.</p><blockquote><strong>AI-readiness for Human Factor:</strong> understand AI fundamentals, its risks and benefits. Avoid silos and make AI part of your long term strategy with a proper AI organization.<br>For example: <br>- Everyone should be aware about the authorized LLMs and Code Assistants.<br>- Avoid having a one-time AI solution that only few developers know — this will create silos that will <strong>prevent</strong> your organization to define a holistic AI strategy and coherent AI architecture.</blockquote><h4>GenAI Team</h4><p>It is highly recommended to define a GenAI Team. It shouldn’t have 100% dedicated members — potentially, one or two developers with the most experience, representing each major application or technology area, having [bi-]weekly meetings to share experiences and key learnings.</p><p>These GenAI team members can then share all the AI knowledge to the rest of the team. As skills grow uniformly across your organization, the roles can rotate every few months.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*2z2-73L91ZOMCAr1Adir5A.png" /><figcaption>Organizing teams around GenAI</figcaption></figure><blockquote><strong>AI-readiness for GenAI Team:</strong> understand what the GenAI objectives are and how AI can assist each development team to achieve them.<br>For example:<br>- All API integration will be maintained by AI, creating all related Data-Models based on OpenAPI specifications.<br>- Database integration maintenance will use MCP to access database-metadata, allowing GenAI to generate proper SQL statements.</blockquote><h4>Proper AI Team</h4><p>AI Team members can be very specialized and be multi-disciplinary, understanding all the aspects across your <a href="https://medium.com/ai-architecture/enterprise-ai-architecture-a-whitepaper-fa0cff22470a">Enterprise AI Architecture</a>.</p><p>This team should have enough skills to design and implement all custom AI artifacts to extend the functionality and the overall scope for AI capabilities.</p><p>They should also guide the GenAI Teams on how to use the different AI artifacts, plus identify specific use-cases required by other teams. Implementing additional AI-artifacts (custom Agents, MCP-Servers, etc.) then becomes something organic, growing in tandem with your improved GenAI process, becoming a feedback loop cycle where everybody wins.</p><p>These GenAI workshops could include:</p><ul><li>Explain different Code-Assistants and their modes, as applicable.</li><li>How to choose the proper LLM for specific tasks —depending on the Code-Assistant, different LLMs may have some restrictions (e.g. request quotas). For GenAI activities it is key to understand these constraints.</li><li>Define proper Prompt-Engineering techniques.</li><li>Provide technical support across any AI artifacts involved on GenAI activities.</li></ul><blockquote><strong>AI-readiness for AI Team:</strong> skills to implement AI artifacts and identify use-cases for future AI automation.<br>For example:<br>- Any custom AI artifact must follow a microservice design with observability through OpenTelemetry.<br>- Integration through MCP must mitigate any workload spikes on the target resource(s).<br>- Use GenAI to create more AI artifacts.</blockquote><h4>Conway’s Law</h4><p>Organizing your teams is key for any AI initiatives. Your organization hierarchy must be as flat and flexible as possible, encouraging participation and sharing knowledge / skills. The more you democratize AI technologies, the more successful your organization will be.</p><p>When organizing your teams, always remember <a href="https://en.wikipedia.org/wiki/Conway%27s_law">Conway’s Law</a> (c. 1967):</p><blockquote>Organizations which design systems (in the broad sense used here) are constrained to produce designs which are copies of the communication structures of these organizations.</blockquote><p>A common technical interpretation would be:</p><blockquote>If you have 4 teams working on a compiler, you’ll get a 4-pass compiler</blockquote><h3><strong>AI tooling</strong></h3><p>Your capabilities will vary slightly depending on the AI technology your organization has access to. This applies to a wide-range of AI artifacts, being the most important Code Assistants — this is the easiest entry point for your AI development journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f6j1JgfXyXggmQCUJrLPBw.png" /><figcaption>AI tooling can be overwhelming — focus on Code Assistants first, expanding later</figcaption></figure><p>As discussed <a href="https://medium.com/ai-architecture/enterprise-ai-architecture-a-whitepaper-fa0cff22470a#e5ba">before</a>, Code Assistants are just Agents, offering a wide-range of features:</p><ul><li>They could be IDE extensions / plugins, or a complete IDE.</li><li>They are provided by third-parties.<br><em>You can actually build your own assistants through custom Agents.</em></li><li>They access specific LLMs — availability is similar across different vendors.</li></ul><p>Most likely, your organization may choose one or two AI providers with associated tools and technologies. In rare occasions your organization may be totally open, allowing any developer to choose whatever AI tool they want.</p><blockquote><strong>WARNING:</strong> This has serious implications around security, privacy, and confidentiality. Some “free AI tools” may be using public LLMs, which could potentially retain and use your data for training, or even worse, share your data. Always use Code-Assistants from trusted providers with contracts ensuring proper security, privacy, and confidentiality policies.</blockquote><ul><li>Focus on one (maximum two) Code Assistants. Having multiple ones will distract developers from what matters the most: maintaining and delivering solutions through GenAI.</li><li>Master all the intricacies around the chosen AI tools and learn the different modes and configurations.</li><li>Once you feel comfortable and actually improving your development workflows, start looking for other options that could potentially be optimized for specific tasks.</li><li>Invest on proper skills to implement AI artifacts, initially on custom Agents and MCP Servers. These will become critical for your future requirements.</li></ul><p>Having clarity on all these aspects and capabilities will ensure developers can get the most of any AI tool at their disposal.</p><blockquote><strong>AI-readiness for AI tooling:</strong> learn and master the fundamentals of the approved AI tools within your organization.<br>For example: Code-Assistant should be available across all the tools developers are familiar with to maintain productivity. Only deviate if absolutely necessary.</blockquote><h4>Codebase</h4><p>Technical requirements across applicationes varies enormously. In-depth design patterns are implemented based on programming language features. Internal “micro-architecture” details (the actual written code: classes, functions, procedures, expressions, statements, data-types) are usually left to developers within the organization’s standards and conventions.</p><p>Tiny little technical decisions made by developers affect how applications will evolve over time, making it “fun” to work with, or a total nightmare.</p><p>From an enterprise architectural point of view, everything may look acceptable — but, as the saying goes: <em>the devil is in the details</em>. In this case, the technical details (the actual code) written by developers.</p><p>It is quite obvious that nobody wants a bad design or bad implementation. In most cases, applications start with a “good design”, and throughout constant changes, new requirements, fixes + patches, the codebase “entropy” increases: everything tends to chaos, resulting in spaghetti-code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*Lk9kZM9aXUtnWTYhZssIdQ.png" /><figcaption>Traditional codebase maintenance depends on multiple “actors”</figcaption></figure><p>GenAI applied to the codebase means that AI will maintain it, as a whole or specific parts. To be effective, developers must make such codebase more “receptive”. These GenAI activities should be applied iteratively and continously based on the application lifecycle and business requirements.</p><p>If GenAI tools apply code changes indiscriminately, without proper guidelines, standards, and conventions, the control over the codebase will become unmanageable. Additionally, if we consider the LLMs non-deterministic behavior, then we have a recipe for disaster.</p><blockquote><strong>AI-readiness for Codebase:</strong> code structure must allow to clearly identify which parts will be affected by GenAI tasks.<br>For example:<br>- Define dedicated modules that will encapsulate AI generated code.<br>- Keep reusable prompt-templates containing well-known 100% proof design patterns within the application scope.</blockquote><h3>Applying AI readiness</h3><p>Once all these three aspects (Human-Factor + AI-tooling + Codebase) are taken care of, the synergies will be self-evident. A symbiotic relationship will emerge across all the different teams and even within the AI artifacts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Ejr3ktnxM--aQRr6x8oaw.png" /><figcaption>GenAI with proper AI readiness to maintain applications</figcaption></figure><ul><li>GenAI and AI Teams provide guidelines on how to use AI tools and best practices.</li><li>Development Teams use AI tools in GenAI development workflows: routine maintenance, ad-hoc fixes, implement new features, etc. This also includes support, monitoring, and troubleshooting activities.</li><li>AI Team gathers invaluable feedback to implement new AI artifacts, expanding the AI tooling across the organization.</li><li>Codebase quality increases: proper standards and conventions; easier to debug, test, troubleshoot; more “fun” to work with.</li><li>Applications are easier to maintain and bug-free — adding new features is faster allowing business units to rollout more solutions in record time, resulting in better overall Customer Experience.</li><li>Once the process is optimized, you can proceed with an Agentic approach to fully automate specific GenAI activities.</li></ul><blockquote>Realistically, this is only achievable if all teams are fully aligned with the long-term AI strategy.</blockquote><p>For a traditional GenAI development process, you can follow these initial guidelines:</p><ul><li>GenAI activities should be 100% repeatable and reliable across multiple iterations.</li><li>Never use Big-Bang prompts: the longer the instructions, the more variability you will have on the final results. If your codebase follows the AI readiness principles you can have optimized prompts that will affect specific components, applying GenAI tasks sequentially and incrementally. Prompt-Engineering is the area you should focus on.</li><li>Never generate unit-tests together with other components — unit-tests must be maintained by separate GenAI activities, with their own prompts. <em>Remember: these unit-tests are to validate your code and GenAI code.</em></li><li>Use your codebase language features to optimize your GenAI process. For example, for Object-Oriented languages use inheritance / specialization to implement complex expressions. GenAI could generate super-classes with boilerplate code and you can override manually through inheritance. Be sure that these sub-classes are not overwritten by other GenAI processes in the future.</li><li>MCP is not just to feed information or execute basic MCP-tools. It can actually provide a wide-range of functionality. For example, you can expose specifications and templates through MCP-resources instead of hardcoding prompt instructions. You can even expose dynamic prompts which can be handy for GenAI processes involving myriads of instructions.<br><em>Articles covering MCP will be written in the future.</em></li><li>Whenever there’s a change on LLMs be sure to verify all the GenAI workflows you have — remember: LLMs are non-deterministic.</li><li>Some Code Assistants impose quotas on certain advanced LLMs. Use only quota-free LLMs for GenAI processes since they are repetitive tasks. Advanced LLMs should be reserved for complex GenAI activities, like defining some complex code-patterns or validate the results of other repetitive GenAI activities.</li><li>If you rely on code-generators, you probably should start thinking of retiring them — you can actually use GenAI and well-crafted prompts to do the same. Code-generators are just more applications within your organization that you need to maintain. You can just remove them from your equation and rely on GenAI.<br><strong><em>Important:</em></strong> <em>Depending on your risk-apetite, you may still want to rely on predictable code-generators for critical components.</em></li><li>Always have a backup plan. Your entire development process may be 100% relying on external LLM service providers. If they go offline, you will not be able to deliver. Defining an in-house LLM could be very expensive.<br><strong><em>Important: </em></strong><em>To have a backup plan, use GenAI to create and maintain code-generators, as required. While this implies adding a second-layer, it could be useful when service providers are disrupted.</em></li></ul><p>As you can imagine, all this GenAI process can be applied to AI artifacts as well, improving and expanding your capabilities. These custom AI artifacts are just applications within your organization after all — therefore you can apply the same AI readiness principles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K6TQEAHnSsC2Y-beOQ7J-Q.png" /><figcaption>AI artifacts evolve as your requirements grow</figcaption></figure><h3>Conclusions</h3><p>AI technologies can improve and accelerate your development process. This implies a brand-new paradigm on how to maintain and deliver applications to your internal users (e.g. business units, developers themselves) or your external customers.</p><p>All the provided guidelines are applicable for traditional development process. GenAI is just used as an “assistant” within the development process, with the option to use automation in the future.<br><strong>In other words, the resulting applications do not use AI at all at runtime.</strong></p><p>Deep integration of GenAI within applications at runtime requires a different mindset and apply other paradigms altogether. A future article will expand on this subject.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a3c323a7f03" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-architecture/enterprise-genai-ai-readiness-9a3c323a7f03">Enterprise GenAI &amp; AI readiness</a> was originally published in <a href="https://medium.com/ai-architecture">AI Architecture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enterprise AI Architecture — A whitepaper]]></title>
            <link>https://medium.com/ai-architecture/enterprise-ai-architecture-a-whitepaper-fa0cff22470a?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa0cff22470a</guid>
            <category><![CDATA[agentic-ai-architecture]]></category>
            <category><![CDATA[mcp-protocol]]></category>
            <category><![CDATA[ai-solution]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Sun, 15 Feb 2026 02:07:01 GMT</pubDate>
            <atom:updated>2026-08-11T00:17:53.299Z</atom:updated>
            <content:encoded><![CDATA[<p>Within the AI landscape, terms, concepts, standards, specifications, and related libraries are constantly emerging and changing. This implies that anything you are planning or implementing today may be obsolete or deprecated when you start rolling out your AI solution. Even worse, when attempting to introduce improvements or fixes you may face several challenges and roadblocks.</p><p>This whitepaper is NOT about End-User AI scenarios. Instead, it is about enterprise architectural AI patterns, and how to implement and deploy AI artifacts supporting different use-cases throughout your organization, whether you are using AI for development, maintenance, support, troubleshooting, or building the next-generation AI applications.</p><p>For enterprises, AI offers several benefits, but also great risks. Proper architecture must be defined to mitigate or even eliminate such risks.</p><h3>Fundamentals</h3><p>First, let’s put things into the right places: What are Models, Agents, Context, Prompts, Tools, Resources within an AI solution?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*BeNMnreRWZppooVRGtz2Iw.png" /><figcaption>Relationhips between actors and AI artifacts</figcaption></figure><p><strong>Models: </strong>the “brain” of any AI solution. Usually an LLM (large language model) and, in most cases, hosted by a provider —and yes, you can host your own Model with the associated (high) costs.</p><ul><li><strong>Agents: t</strong>he term “Agent” is evolving rapidily, and it is constantly changing. For now, consider Agents as the nervous system coordinating how all the information flows and orchestrating how actions should be performed on the Model’s behalf. Any kind of Code Assistance is an Agent — for example: GitHub-copilot, Gemini Code Assist.</li><li><strong>Context:</strong> all the information that may contribute to the meaning for a given instruction / action, or a sequence of them.</li><li><strong>Prompts: </strong>the instructions / actions to perform certain request. This is always received by an Agent. There are “system” and “user” prompts.</li><li><strong>MCP Servers:</strong> standard on how Agents can access <em>prompts, tools, resources. </em><strong>Model-Context-Protocol</strong> (MCP) allows to integrate AI artifacts with your existing services and resources.</li><li><strong>Resources:</strong> all your existing resources (microservices, databases, legacy services, third-parties, etc).</li><li><strong>AI Gateways:</strong> just isolation services to simplify how other applications can integrate with AI and non-AI solutions.</li></ul><h3>Generative AI and Agents</h3><p>When using AI in its most basic form, you are interacting with a chatbot-like application, where you ask questions (prompts) and receive answers. Alternatively, you can attach files, additional instructions (context).</p><p>This is how AI came to the mainstream. As the technology matured, these “simple chatbots” evolved over time adding more functionality, becoming “AI Agents”.</p><p>As of 2026, these Agents have different “modes” and can generate different content: images, videos, text, audio, code, anything that is digital.</p><p>For enterprises, there are specific “generative AI” (aka GenAI) use-cases that are critical:</p><ol><li>Adhoc activities — research, codebase exploration, one-time reports</li><li>Monitoring / Support / Root-Cause-Analysis</li><li>Development workflows</li><li>Enterprise Applications</li></ol><p>All these scenarios rely on AI artifacts in a different way. However, the underlying AI Architecture is the same — these will be covered in a future article.</p><p>For now, let’s focus on AI architectural patterns.</p><h3>Everything is a (micro)service</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*_RvV6pWmZMx_A4eKMXfV7Q.png" /><figcaption>Service Oriented AI Architecture</figcaption></figure><p>We can consider everything as multiple highly-specialized service layers. In most cases, these are microservices exposing API endpoints:</p><ul><li><strong>Model Providers</strong> expose endpoints to interact with LLMs — only Agents should be connecting to them. If you are hosting your own LLMs, make sure you are not using some proprietary communication mechanism.</li><li>For AI solutions, <strong>Agents</strong> should be implemented as microservices, allowing integration with applications through an AI Gateway.</li><li>For built-in <strong>Agents</strong>, like Code-Assistants, the Agent itself is tighly-coupled with other tools (like GitHub-copilot / Gemini-Code-Assist plugins), or provided as a complete IDE.<br><strong>Note:</strong> There are also Command-Line-Interface (CLI) utilities. Depending on the technology, it can connect to different Model Providers — be aware that this approach relies heavily on batch-processes.</li><li><strong>MCP Servers</strong> are basically microservices and they should be following the same lifecycle as other microservices. They will access resources using the most optimized mechanisms available.<br><strong>Important:</strong> They should only be used by Agents.</li><li><strong>Custom</strong> <strong>MCP Servers</strong> are critical for future optimization, decreasing the roundtrips between Resources, Agents, and Models.<br><strong><em>Remember</em></strong>:<em> one MCP-Server can connect to multiple Resources. This becomes critical to automate specific workflows and mitigate potential risks.</em></li><li>SaaS <strong>resources</strong> are increasingly incorporating MCP support. This implies that such MCP-Server only supports one resource, which could be detrimental for specialized workflows and Agent-LLM optimization.</li><li><strong>Resources</strong> covers all the different services and applications within the organization: in-house (on-premise, cloud-based), SaaS, microservices, databases, file-servers, etc. MCP Servers must use proper authentication and authorization mechanisms when accessing resources, like API keys, auth-tokens.</li><li><strong>AI Gateway</strong> microservices should be defined as mechanisms to standardize how your applications interact with AI solutions. They should include failover mechanisms in case of AI related outages, hallucinations, or AI-rogue-like scenarios. In such cases, AI Gateways should be switching over traditional non-AI solutions — this implies that your Front-End applications should have a proper API-Contract that applies to both AI and non-AI responses.</li><li><strong>Retrieval-Augmented-Generation (RAG)</strong>: before MCP, the only possible way to extend an LLM context was through built-in mechanisms within the Agent itself through RAG. This basically provides access to specific knowledge-based database / documents. If not implemented properly, it could potentially expose confidential information. While it is possible to replace RAG with MCP, some Agents are well-optimized to interact with RAG solutions.<br><strong><em>Tip</em></strong><em>: use RAG when the knowledge-based rarely changes and the contents do not depend on access-levels.</em></li><li><strong>Prompts</strong> enclose system and user instructions, directives, requests. Prompt-Engineering is an emerging area that every single organization should invest.</li><li><strong>Context</strong> is supplied along with Prompts to provide enough background and situational data to the LLMs to reduce hallucinations; help out decision-making; personalize response; and increase accuracy and relevance. Notice that MCP also provide context</li></ul><h4><strong>Key Principles</strong></h4><ul><li><strong>Separation of Concerns (</strong><a href="https://en.wikipedia.org/wiki/Separation_of_concerns"><strong>SoC</strong></a><strong>):</strong> each layer performs what it needs. No more, no less.</li><li><strong>Single Source of Truth (</strong><a href="https://en.wikipedia.org/wiki/Single_source_of_truth"><strong>SSoT</strong></a><strong>):</strong> each layer is an authority on what it produces.</li><li><strong>Keep It Simple, Stupid (</strong><a href="https://en.wikipedia.org/wiki/KISS_principle"><strong>KISS</strong></a><strong>)</strong>: simplicity will emerge not only if SoC and SSoT are applied, but also by keeping the actual implementation of each artifact as simple as possible.</li></ul><h3>Models (LLMs)</h3><p>Large-Language-Models are increasing their capabilities every few months. But, the key concepts to understand are:</p><ul><li>Consider LLMs as an “AI brain-service”: you send instructions plus context, and get results.</li><li>Only Agents should process the results.</li><li>All LLMs are non-deterministic: responses and/or actions are not the same — this can be mitigated up to some extent through parameters like temperature, Top-P, Top-K, among others.<br><strong>Important</strong>: new LLMs may not return the same responses, even for well-optimized prompts.</li><li>Some LLMs may retain your data and use it for training — this usually applies to free LLM services.</li></ul><h4>For Enterprises:</h4><ul><li>Use an LLM provider (GCP, AWS, Azure, to name a few) — review the license agreement related to data usage.</li><li>Start with foundational models (cheaper) — only experiment with other custom models once the proper procedures and policies are in place. <em>Basically, when you know exactly what you are doing and you have clear objectives.</em></li><li>Only host your own LLMs when your organization has well-defined policies and procedures on how such LLMs are maintained and supported across the multiple AI use-cases througout all business units.<br>Note that this could be quite expensive — AI related hardware has skyrocketed in the last year.</li></ul><h3>Agents</h3><p>These AI artifacts are constantly evolving. The most important things to consider are:</p><ul><li>They access LLMs and MCP Servers.</li><li>They are the entry-points for prompt and context.</li><li>They receive context from MCP Servers.</li><li>They can be highly specialized to perform specific tasks.</li><li>They can enclose sub-Agents — this is helpful when segmenting tasks that require specialized LLMs — see <a href="https://www.anthropic.com/engineering/building-effective-agents">Building effective agents</a>.</li><li>Each Agent may access different LLMs — you need to clearly identify the Model Providers and the terms of service.</li></ul><h4>For Enterprises:</h4><p>Design and implement Agents as microservices. Always consider observability.</p><p>Choose the proper frameworks / libraries for custom Agents. Note that some providers offer a variety of options, with a complete ecosystem to simplify this process.</p><p>There are emerging standards worth considering, like <a href="https://github.com/a2aproject/A2A">Agent2Agent protocol</a>.</p><p>Your organization must carefully organize and categorize all the different Agents depending on the use-cases:</p><ul><li>Interactive Assistants: chatbot-like interfaces.</li><li>Development workflows: built-in through different products.</li><li>Agentic Architecture: basically, automation through specialized Agents.</li><li>Agents for AI solutions: internal applications, or customer-facing applications relying on AI features.</li></ul><h3>MCP Servers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7it1tVdgmCgxPXCAtjg9og.png" /><figcaption>Integration between Agent, LLM, MCP Servers, and Resources</figcaption></figure><p>There are several articles around this integration. The important aspects are:</p><ul><li>An Agent defines which MCP Servers it can use.</li><li>Upon initialization, the Agent will request all the capabilities each MCP Server supports.</li><li>These capabilities are prompts, resources, and tools.<br><strong>Prompts</strong> means that an MCP Server can provide prompts created dynamically, accepting arguments. This is useful if you want to rely on standard mechanisms across all your organization, instead of having prompt-files registered across several other AI artifacts. This also means that you can implement fully autonomous workflows in the future.<br><strong>Resources</strong> implies that MCP Servers can provide information like files, database records, or even API responses from other services within your organization.<br><strong>Tools</strong> allows MCP Servers to execute specific actions into other services within your organization.</li><li>When receiving a prompt, the Agent sends such prompt (including any additional context) plus all the MCP capabilities to the LLM. This becomes more complex in a multi-Agent setup.</li><li>The LLM will decide whether one or more MCP capabilities are required to fulfill the prompt. If so, the LLM will request the Agent to execute them.</li><li>The Agent sends requests to the MCP Servers for each capability, as instructed by the LLM. Note that this interaction may happen sequentially or concurrently.<br><strong>Important:</strong> it is the LLM deciding which MCP capabilities to use and when to call them. This could result in multiple requests that could potentially affect the target resource performance / workload.</li><li>MCP Servers execute the capabilities, integrating with resources. Note that one MCP Server may be connecting to more than one resource — this integration may be sequentially or concurrently.</li><li>All the communication between Agents and MCP Servers uses JSON-RPC.</li></ul><h4>For Enterprises:</h4><ul><li>Design and implement MCP Servers as microservices. Always consider observability.</li><li>Do not allow running MCP Servers locally — this could affect your existing policies and procedures around access levels and data protection. This could be allowed for specific teams or individuals with the proper skills for development purposes, or when implementing specialized and complex workflows.</li><li>Be cautious if you are using open-source MCP Servers.</li><li>Authentication and authorization mechanisms to access resources must be carefully analyzed.</li><li>Build capabilities within your workforce to implement custom MCP Servers since they are required for well-optimized AI workflows.</li></ul><h3>Resources</h3><p>This represents all the “digital real estate” the organization has. Microservices, databases, file-servers, legacy applications — everything that the organization has implemented during the last 10+ years.</p><p>This also includes any SaaS application provided by third-parties. As indicated, MCP services are being added as a feature, removing the need to have a custom MCP Server for such SaaS application.</p><p>All your Data Protection policies, procedures, and regulations should apply as usual when granting access to MCP Servers.</p><p>Most likely, these resources were already designed and implemented with observability.</p><h3>AI Observability</h3><p>For an AI architecture to be successful, observability must be ingrained in every single AI artifact, simplifying monitoring and support activities.</p><p>Depending on the technology stack you choose, this task can be simple or complex (for example, OpenTelemetry libraries availability). The key is to start early and define standards across traces, metrics, and logs. Having consistency is key, simplifying development, testing, and support activities.</p><p>Ideally,</p><ul><li>You can trace all interactions for each submitted prompt.</li><li>You can observe each AI artifact performance metrics.</li><li>You can verify details for each step by reviewing logs.</li><li>You can detect potential bottlenecks to apply fixes, or identify workloads that require more resource allocation: CPU, memory, storage, or more instances, containers, clusters.</li></ul><h3>In summary</h3><ul><li>Having a proper and flexible AI architecture can save time and resources.</li><li>Just like any other non-AI solution, if proper design patterns are not followed, the result will be a convoluted implementation, hard to maintain, support — attempting to improve any part will be a nightmare, affecting innovation.</li><li>Skills are key for success — your organization should have a multi-disciplinary team.</li><li>AI should be understood by the whole organization — the principles and paradigms are fundamentally different from traditional solutions.</li><li>Well-understood mechanisms across all the described layers will make self-evident where strict policies and procedures should be implemented.</li><li>Since each service-layer follows industry standards (as much as possible in this ever evolving technology), refactorings, upgrades, or fixes are simpler to apply.</li></ul><p>Based on this AI architectural pattern, GenAI workflows can be easily defined, with proper boundaries across the organization.</p><p>Next: <a href="https://medium.com/ai-architecture/enterprise-genai-ai-readiness-9a3c323a7f03">Enterprise GenAI and AI readiness</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa0cff22470a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-architecture/enterprise-ai-architecture-a-whitepaper-fa0cff22470a">Enterprise AI Architecture — A whitepaper</a> was originally published in <a href="https://medium.com/ai-architecture">AI Architecture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kotlin Multiplatform Setup]]></title>
            <link>https://medium.com/dynamic-content/kotlin-multiplatform-setup-84cdcc4d6341?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/84cdcc4d6341</guid>
            <category><![CDATA[dynamic-content]]></category>
            <category><![CDATA[adaptive-ai-architecture]]></category>
            <category><![CDATA[compose-multiplatform]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <category><![CDATA[kotlin]]></category>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Sat, 24 Jan 2026 19:38:12 GMT</pubDate>
            <atom:updated>2026-11-11T18:43:50.050Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>[November 11, 2026] UPDATE:<br>- Major refactoring to match project structure from KMP plugin wizard.<br>- </strong><em>Android Studio Rabbit 2| 2026.2.2 Patch 1works without issues — most likely, you will need to clean all caches. <br>- Kotlin Multiplatform plugin </em><em>262.10968.183-ASworks as expected.<br>- The </em><em>kmpAcme reference project has also updated to use the Android Gradle plugin </em><em>v9.5.1 and Gradle </em><em>v9.8.2.<br>- Kotlin upgraded to </em><em>2.4.21<br>- Reference implemention to call API endpoint handling all edge-cases<br>- Repository </em><a href="https://github.com/migueltt/kmpAcme"><em>https://github.com/migueltt/kmpAcme</em></a><em> defines an up-to-date reference project.</em></p><p>There are several things that can be really annoying when setting up a new Kotlin Multiplatform (KMP) project — this article fixes almost everything for you!<br>Note that more technical articles will be added as we move along.</p><blockquote>This is a technical addendum for the <a href="https://medium.com/dynamic-content">Adaptive AI Architecture series</a>. Just to help you out on setting the technical foundations.</blockquote><h3>Creating the initial project</h3><p>It is highly recommended to use AndroidStudio if you are planning to develop an Android mobile-app. If you are using macOS, you can get iOS builds as well. Web and Desktop are just add-ons.</p><ol><li>Install AndroidStudio</li><li>Install the Kotlin Multiplatform plugin</li><li>Create a new Project — select Kotlin DSL for build configuration language</li><li>Select Android, iOS, Desktop, Web, Server — enabling “Share UI”</li></ol><p>Several modules will be created as depicted in <a href="https://kotlinlang.org/docs/multiplatform/compose-multiplatform-create-first-app.html">Create your Compose Multiplatform app</a>.</p><h3>Adjusting Project Structure</h3><p>With the introduction of Android-Gradle-Plugin 9+, several things have changed, and most likely, the default project we just created will throw a lot of warnings, if not errors.</p><p>Don’t worry, we will sort that out!</p><p>From a Gradle perspective, start modifying your Project structure as follows — or just clone the <a href="https://github.com/migueltt/kmpAcme">kmpAcme</a> reference PoC:</p><pre>+ &lt;project-root&gt;<br>   + app/<br>      + androidApp/<br>      |  + src/<br>      |  + build.gradle.kts<br>      + desktopApp/<br>      |  + src/<br>      |  + build.gradle.kts<br>      + iosApp/<br>      |  + iosApp/<br>      |  + Frameworks<br>      + webApp/<br>      |  + src/<br>      |  + build.gradle.kts<br>   + gradle/<br>   |  + wrapper/<br>   |  |  + gradle-wrapper.properties<br>   |  + libs.versions.toml<br>   + kmpCompose/<br>   |  + src/<br>   |  + build.gradle.kts   <br>   + kmpServerApp/<br>   |  + src/<br>   |  + build.gradle.kts<br>   + kmpShared/<br>   |  + src/<br>   |  + build.gradle.kts<br>   + build.gradle.kts<br>   + gradle.properties<br>   + settings.gradle.kts</pre><p><em>Tip: this structure is similar to the one described in </em><a href="https://medium.com/dynamic-content/dynamic-content-architecture-a01479d00abe#3a8b"><em>KMP/CMP Project Structure</em></a><em>.</em></p><p>Don’t worry, I’ll cover all the src directories later, plus the iosApp directory.</p><h4>&lt;project-root&gt;/gradle.properties</h4><p>Since we’ve added some tasks to generate ModuleBuildConfig classes, the org.gradle.configuration-cache must be false :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7cd342b5112e26189bcdf7652f2d520d/href">https://medium.com/media/7cd342b5112e26189bcdf7652f2d520d/href</a></iframe><h4>&lt;project-root&gt;/settings.gradle.kts</h4><p>Mostly unchanged, except for the include statements at the end:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dc7807657c758a056c89d781412694fe/href">https://medium.com/media/dc7807657c758a056c89d781412694fe/href</a></iframe><h4>&lt;project-root&gt;/gradle/wrapper/gradle-wrapper.properties</h4><p>Mostly unchanged, except for the gradle version — adjust as required, but it is recommended 9 or higher:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fabd51c491743bf402043c4a01cf6eca/href">https://medium.com/media/fabd51c491743bf402043c4a01cf6eca/href</a></iframe><h4>&lt;project-root&gt;/gradle/libs.versions.toml</h4><p>We will use the latest (stable) libraries and Android Gradle Plugin:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/426dfef60fc8810102ae048aaa59c126/href">https://medium.com/media/426dfef60fc8810102ae048aaa59c126/href</a></iframe><h4>&lt;project-root&gt;/build.gradle.kts</h4><p>We will include spotless to help out with code conventions. Note that ij_kotlin_imports_layout includes these patterns:</p><pre>&quot;*,|,com.acme.kmp.shared.kmpshared.**,|,com.acme.kmp.compose.kmpcompose.**,|,com.acme.**&quot;</pre><p>This is because each gradle module sets group to its proper package, which is used to generate the ModuleBuildConfig — thus, the default module name is no longer applicable.</p><p>For example, generated KMP resources are defined under package com.acme.kmp.compose.kmpcompose.generated.resources.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/69eac27a7b3a1fa8e51a9492c32eee57/href">https://medium.com/media/69eac27a7b3a1fa8e51a9492c32eee57/href</a></iframe><p><strong>IMPORTANT:</strong> Notice that task moduleBuildConfig will create ModuleBuildConfig for each module, similar to the BuildConfig for those familiar with Android projects. For now, it will include constants related to each module using Kotlin-Multiplatform plugin within its gradle build.gradle.kts file:</p><ul><li>const val MODULE_ID → Gradle project.name</li><li>const val MODULE_NAME → Gradle project.description</li><li>const val MODULE_VERSION → Gradle project.version</li><li>const val MODULE_GROUP → Gradle project.group → package name</li></ul><p>ModuleBuildConfig is generated for every single module under build/generated/sources/moduleBuildConfig/kotlin/&lt;package-dirs&gt;.</p><p>Every time a module attribute changes, these files are auto-generated.</p><h4>&lt;project-root&gt;/kmpShared/build.gradle.kts</h4><p>Module kmpShared will contain:</p><ul><li>Unified Data Models — this will help out keeping consistency across API paylods on Front-End and Back-End implementations</li><li>Repostory / API patterns</li><li>API integration</li></ul><p>You can decouple different aspects as library modules — but to start, just keep things simple:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ca6abbfd79b2e9ff47f81f1ad7521b65/href">https://medium.com/media/ca6abbfd79b2e9ff47f81f1ad7521b65/href</a></iframe><h4>&lt;project-root&gt;/kmpCompose/build.gradle.kts</h4><p>This module will define the shared-UI for all target platforms, using Data-Models from kmpShared.<br>These changes allow to visualize a @Composable using @Preview.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a64c244596ed4a856ddc80f812e9fb74/href">https://medium.com/media/a64c244596ed4a856ddc80f812e9fb74/href</a></iframe><h4>&lt;project-root&gt;/kmpServerApp/build.gradle.kts</h4><p>This module will implement API endpoints (microservices) using Ktor and will reuse all the Data-Models as defined in module kmpShared.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1f7cad462f61776b3105ff4be2cf8401/href">https://medium.com/media/1f7cad462f61776b3105ff4be2cf8401/href</a></iframe><h4>&lt;project-root&gt;/app/androidApp/build.gradle.kts</h4><p>This module will be used for the Android mobile build. This implementation must rely as much as possible on the components defined in module kmpCompose.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c18baab700ab852abe06fc949f44f159/href">https://medium.com/media/c18baab700ab852abe06fc949f44f159/href</a></iframe><h4>&lt;project-root&gt;/app/desktopApp/build.gradle.kts</h4><p>This module will be used for the Desktop JVM-based build. This implementation must rely as much as possible on the components defined in module kmpCompose.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5347da5231d0964f0989e2cc378b3079/href">https://medium.com/media/5347da5231d0964f0989e2cc378b3079/href</a></iframe><h4>&lt;project-root&gt;/app/webApp/build.gradle.kts</h4><p>This module will be used for the web app build. This supports both javascript and web-assembly variants. This implementation must rely as much as possible on the components defined in module kmpCompose.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3abd4d00f8f1b91427a9559a5dc52628/href">https://medium.com/media/3abd4d00f8f1b91427a9559a5dc52628/href</a></iframe><h3>Synchronize Gradle</h3><p>After all these changes, synchronize gradle and clean / build your project.</p><p>You may need to delete your &lt;user-home&gt;/.gradle directory (it will be recreated )— <em>sometimes if you are behind a proxy, dependencies may point to different URLs.</em></p><p>Some warnings may appear due to the experimental compiler options we’ve added.</p><h3>Verifying builds on all platforms</h3><p>Below is the KMP/CMP running in all its glory on all four target platforms, using the same composable App as defined in kmpCompose/src/commonMain/kotlin/&lt;your-package&gt;/App.kt :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E4DSeyXm-WFGuM1DMWeEGA.png" /><figcaption>Desktop, Web, iOS, Android</figcaption></figure><ul><li>All platforms support both Dark and Light mode, as shown above.</li><li>It includes the default <em>“Click me!”</em> created with the KMP Wizard and an additional <em>“Call API” </em>section to call a mock API.</li></ul><h4>Android KMP/CMP app</h4><p>Select and run app/androidApp as usual — nothing else to do.</p><h4>iOS KMP/CMP app</h4><p>Update the import statement in app/iosApp/iosApp/ContentView.swift:</p><pre>import UIKit<br>import SwiftUI<br>// We updated `baseName` in &lt;project-root&gt;/kmpCompose/build.gradle.kts<br>import KmpCompose<br><br>struct ComposeView: UIViewControllerRepresentable {<br>    func makeUIViewController(context: Context) -&gt; UIViewController {<br>        MainViewControllerKt.mainViewController()<br>    }<br><br>    func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}<br>}<br><br>struct ContentView: View {<br>    var body: some View {<br>        ComposeView()<br>            .ignoresSafeArea()<br>    }<br>}</pre><p>In AndroidStudio, switch to “Files” in Project navigator and open app/iosApp/iosApp.xcodeproj/project.pbxproj. Search for :composeApp: and replace with :kmpCompose: (1 entry only) — we changed the module name after all.</p><h4>Desktop (JVM) KMP/CMP app</h4><p>In module app/desktopApp, execute src/main/kotlin/&lt;your-package&gt;/Main.main() — adjust the title argument.</p><h4>Web KMP/CMP app</h4><p>In module app/webApp, execute src/webMain/kotlin/&lt;your-package&gt;/Main.main() — adjust title in src/webMain/resources/index.html <br>Also verify the script tag iswebApp.js— it should match the module name.</p><p>As you have noticed, there are several things that are still considered a work-in-progress. Gradle Plugins may be difficult to identify and include, affecting the overall project build process.<br>This configuration will help you out on your initial journey. I will try to update this guide as new updates are provided.</p><p>Jetbrains and Google have published some articles around KMP and Plugins:</p><ul><li><a href="https://blog.jetbrains.com/kotlin/2026/01/update-your-projects-for-agp9/">https://blog.jetbrains.com/kotlin/2026/01/update-your-projects-for-agp9/</a></li><li><a href="https://developer.android.com/build/releases/agp-9-0-0-release-notes">https://developer.android.com/build/releases/agp-9-0-0-release-notes</a></li><li><a href="https://developer.android.com/kotlin/multiplatform/plugin">https://developer.android.com/kotlin/multiplatform/plugin</a></li></ul><p><em>imho: these guides should be providing a better guidance if KMP wants to be successful. I went through great lengths to troubleshoot most of the issues.</em></p><p>Next: <a href="https://medium.com/dynamic-content/kotlin-multiplatform-setup-2-api-calls-f7fb6d07f399">Kotlin Multiplatform Setup (2) — API calls</a> introduces basic Data-Models and API integration through Ktor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84cdcc4d6341" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dynamic-content/kotlin-multiplatform-setup-84cdcc4d6341">Kotlin Multiplatform Setup</a> was originally published in <a href="https://medium.com/dynamic-content">Adaptive AI Architecture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamic Content Architecture]]></title>
            <link>https://medium.com/dynamic-content/dynamic-content-architecture-a01479d00abe?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/a01479d00abe</guid>
            <category><![CDATA[dynamic-content]]></category>
            <category><![CDATA[compose-multiplatform]]></category>
            <category><![CDATA[kotlin-multiplatform]]></category>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Wed, 14 Jan 2026 03:57:24 GMT</pubDate>
            <atom:updated>2026-01-24T02:40:49.347Z</atom:updated>
            <content:encoded><![CDATA[<p>Defining a flexible architecture allows to incrementally improve different design aspects, adding new features without affecting other parts.</p><p>Plus, introduction to Kotlin Multiplatform as the main technology.</p><blockquote>This the third article in a series —see <a href="https://medium.com/dynamic-content">https://medium.com/dynamic-content</a> for a complete list.</blockquote><h3>Concepts</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cPBx_b595JbfRZWH-yCxIA.png" /><figcaption>Modules, Flows, Screens, Widgets, and UI artifacts</figcaption></figure><ul><li><strong>Module:</strong> encloses all components used to implement complete features related to a business use-case. It could contain several “flows”. Additionally, it may define the main UI components related to all flows.<br>For example:<br>- Authentication Flow (login, password/pin, biometric, multi-factor, …)<br>- Profile Management Flow (view, edit, remove, …)<br>- Product Catalog (search, browse, details, …)<br>Additionally, it may define the main UI components related to all flows.</li><li><strong>Flow: </strong>includes the <strong>screens</strong>; their the logical sequence; and navigation specifications: arguments, deep-link, transitions, back-stack.<br>Additionally, it may define the main UI components related to all screens.</li><li><strong>Screen: </strong>includes all <strong>widgets</strong> to build the UI as per requirements. The layout will depend on each widget, and the screen itself may specify additional layout guidelines.</li><li><strong>Widget:</strong> represents a UI element as a unit, and may include one or more UI artifacts. Each widget may support additional UI attributes to customize font styles, colors, padding / margins, and similar. For Android, each widget will be defined using a <a href="https://developer.android.com/jetpack/compose/mental-model#simple-example"><em>composable function</em></a><em>.</em></li><li><strong>UI artifacts: </strong>built-in UI components part of a native UI-toolkit. You should use <a href="https://developer.android.com/jetpack/compose">Jetpack Compose</a>. But, using the legacy XML / View-Binding approach is possible.</li></ul><h3>Dynamic Content Data Models</h3><p>The relationships are straightforward:</p><ul><li>A module contains flows</li><li>A flow contains screens</li><li>A screen contains widgets</li><li>A widget contains UI artifacts → implemented through “composables”</li></ul><p>Using a declarative UI approach, high-level composables will receive a “screen” object and start building the UI. Basically, all the UI is defined through instances of data-classes.</p><p>These instances are created within a repository, following the <a href="https://developer.android.com/topic/architecture">Android Developer Architecture recommendations</a>.</p><p>These Separation of Concerns (SoC) will simplify how different services, components, and utilities are interconnected, allowing to optimize each layer independently. Maintenance activities are also simplified since secondary effects (“collateral damage”) are mitigated.</p><p>As you can see, the main objective is to simplify how native modules are built. You may be tempted to implement modules or individual screens “cooked” inside your native implementation — and that would be OK if you are focusing only on one specific platform.</p><p>But let’s be real — when you are working on native-apps you want to have implementations on each major mobile platform: Android, iOS.</p><p>The key for success is to standardize your Data Models that all platforms are going to use to render the UI. These Data Models should represent the UI state, streamlining all development across all layers.</p><h3>Kotlin Multiplatform &amp; Compose Multiplatform</h3><p>Since <a href="https://kotlinlang.org/docs/multiplatform">Kotlin Multiplatform</a> (KMP) has reached stable levels for all major platforms (Android, iOS, Desktop, Web, Server-side), I’ll use it extensively in the upcoming articles.</p><p>The same can be said for <a href="https://www.jetbrains.com/compose-multiplatform/">Compose Multiplatform</a> (CMP), which basically expands multiplatform capabilities to UI implementation.</p><p>By using KMP + CMP you can easily start prototyping all functionality, leaving specific requirements for later. For example, authentication usually involves specific implementation to take advantage of different sensors (FaceID, Fingerprint). These features can be left for later while the core functionality is defined once.</p><p>Defining the foundations for (almost) any solution that can be used across multiple platforms is a win-win scenario.</p><h3>Composables Everywhere</h3><p>As you can imagine, the central piece for a Dynamic Content strategy is based on declarative-UI. CMP is based on Android’s Jetpack Compose, allowing to define UI components (functions annotated with@Composable) that are called to build the UI at runtime.</p><p>There are multiple resources around Compose — check <a href="https://developer.android.com/develop/ui/compose/mental-model">Thinking in Compose</a> and <a href="https://kotlinlang.org/docs/multiplatform/compose-layout.html">Layout Basics</a> to start.</p><p>The @Composable functions will be called passing arguments. For us, these arguments will be UI-state models describing what needs to be rendered.</p><p>If you define your UI hierarchy consistently and reusing composables without out-of-pattern designs, the whole application can be built very easily.</p><p>Your role as a developer will be to negotiate simplicity vs. complexity:</p><blockquote>- The simpler the UI/UX is, the faster you can implement and the easier to maintain.<br>- UI/UX designers may want to introduce more custom designs for each screen — increasing complexity → more time to implement, harder to maintain / support.<br>- You must negotiate that all such “embellishment” can be implemented later, once your team gets more familiar with the new declarative-UI paradigm.<br><strong>Remember: the highest priority is to release something to your users.</strong></blockquote><h3>Unified Domain Layer</h3><p>On one side, you have the Front-End representing all your target platforms. On the other side, if applicable, your Back-End services feeding the “data”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uXIBKYGtoBl1JbDYoSQOsg.png" /></figure><h4><strong>“shared” module</strong></h4><ul><li>Unified Data Models used across all layers → UI State / Data.</li><li>Repository patterns.</li><li>Cache mechanisms, if applicable. Note that this is an orthogonal aspect and should not impact the overall behavior — it is just an optimization layer.</li><li>API processing mechanisms: requests / responses, encode / decode payloads.</li><li>Note that parts of this module should also be used for Back-End implementation. Basically the same Data Models should be used on the API-Contracts (response payloads) to keep everything in-sync.</li></ul><h4>“compose” module</h4><ul><li>ViewModels, including core patterns and lifecycle mechanisms.</li><li>Reusable composables to build UI on Front-End applications.</li><li>Concrete UI implementations that can be used across all the target platforms. <em>Write once, use anywhere.</em></li><li>Ideally, you should have another module defining all reusable composables, keeping a well-maintained widget library. Then, use this library to implement your concrete platform-agnostic implementation. To simplify things, keep everything in one place and once you get more familiar with KMP/CMP, start decoupling accordingly.</li></ul><h4>“app” modules</h4><ul><li>Specific implementations for each target module, as applicable.</li><li>Note that KMP starter-guides usually mix <strong>&quot;app&quot;</strong> and <strong>&quot;compose&quot;</strong> modules together — feel free to keep such structure until you think it is better to split.</li></ul><h4><strong>“server” module</strong></h4><ul><li>KMP will create this module if you select such option.</li><li>For our purposes, makes a lot of sense, since the whole Dynamic Content architecture implies that all participants must understand that some aspects are fully driven by API calls — yes, even the UI.</li></ul><p>These 4 our the basic modules you should start with. Later, you can modularize / organize your codebase as you get more experience.</p><h3>KMP / CMP Project Structure</h3><p>Ideally, your project should look something like this in the long term:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*Pd52iJZJ7bCtoSqLnWaepQ.png" /><figcaption>Project structure</figcaption></figure><p><em>But as indicated earlier, just start with the basics KMP creates.</em></p><ul><li>UI-Composables: just a collection of widgets that will grow over time to accommodate new UI patterns.</li><li>Integration: common utilities to manage API calls, repository patterns, formatting, transformation.</li><li>App Domain: this will be a concrete implementation for your project, including API calls, Data Models, Business rules, etc.</li><li>App Compose: contains all the UI logic and event handling, using the functionality defined in the App Domain.</li><li>Applications (front-end): specific requirements for each particular platform.</li><li>Applications (back-end): mainly microservices processing data.</li></ul><p>For our Dynamic Content approach, all these libraries and modules will focus on unifying how to manipulate “data” that is generic enough to display any potential UI, while allowing to “operate” on such data.</p><h3>The AI Factor</h3><p>For those looking into AI, you probably have identified how it will fit into this overall architecture. This will be dicussed later. So, stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a01479d00abe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dynamic-content/dynamic-content-architecture-a01479d00abe">Dynamic Content Architecture</a> was originally published in <a href="https://medium.com/dynamic-content">Adaptive AI Architecture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[io.turbodsl v1.2.5 released]]></title>
            <link>https://medium.com/turbodsl/io-turbodsl-v1-2-5-released-ec63bf8485a8?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec63bf8485a8</guid>
            <category><![CDATA[kotlin-coroutines]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[asynchronous]]></category>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Sun, 24 Aug 2025 22:55:00 GMT</pubDate>
            <atom:updated>2025-08-24T22:56:09.992Z</atom:updated>
            <content:encoded><![CDATA[<p>Incremental improvements for asynchronous expressions.</p><p><strong>Guidelines, Fundamentals → </strong><a href="https://www.turbodsl.io/"><strong>https://www.turbodsl.io</strong></a></p><ul><li>Default value for any scope</li><li>ScopeException changed to abstract to allow defining exceptions on other modules.</li></ul><h3>Future Changes</h3><ul><li>Module io.turbodsl:io-turbodsl-core is stable.</li><li>Module io.turbodsl:io-turbodsl-api is being implemented to allow writing API calls, or defining API as microservices. All the benefits around asynchronous programming will be inherited, allowing to write interesting patterns:<br>- Call multiple APIs in parallel.<br>- Implement “portable” microservices across different frameworks (spring-boot, ktor, vert.x)</li><li>These modules will define the foundations for future TurboDSL AI modules.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/0*HMqCwp3LDza3qPAX.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec63bf8485a8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/turbodsl/io-turbodsl-v1-2-5-released-ec63bf8485a8">io.turbodsl v1.2.5 released</a> was originally published in <a href="https://medium.com/turbodsl">io.turbodsl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[io.turbodsl v1.2.4 released]]></title>
            <link>https://medium.com/turbodsl/io-turbodsl-v1-2-4-released-412823e63173?source=rss-a67763a0f4be------2</link>
            <guid isPermaLink="false">https://medium.com/p/412823e63173</guid>
            <category><![CDATA[kotlin-coroutines]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[asynchronous-programming]]></category>
            <category><![CDATA[domain-specific-languages]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Miguel T]]></dc:creator>
            <pubDate>Tue, 26 Nov 2024 04:12:48 GMT</pubDate>
            <atom:updated>2024-11-26T04:12:48.259Z</atom:updated>
            <content:encoded><![CDATA[<p>Includes DSL expressions for collections, plus other new features.<br><strong>Guidelines, Fundamentals → </strong><a href="https://www.turbodsl.io/"><strong>https://www.turbodsl.io</strong></a></p><h4>Collection Scopes</h4><p>io.turbodslsimplifies how asynchronous jobs are defined and executed. These jobs can do whatever they need and most of the time each job will process its own data — e.g. the input argument on any DSL expression:</p><pre>// Simple example using 2 jobs<br>TurboScope.execute {<br>    async(<br>        job1 = asyncJob&lt;Foo, Double&gt;(input = fooData) { ... },<br>        job2 = asyncJob&lt;Bar, Boolean&gt;(input = barData) { ... },<br>    ) { ok, r1, r2 -&gt;<br>        :<br>    }<br>}</pre><p>This isolates how each job manipulates its own data asynchronously. If the data is a collection, this means the entire collection is processed within a job — this implies each item within such collection will be processed through an iteration (e.g. for loop) or through a Kotlin extension function (e.g. map, forEach):</p><pre>// Traditional approach<br>val list: List&lt;Foo&gt; = &lt;10,000 items&gt;<br>val mapped = list.map { /* ~1ms per item. */ }<br>// This will take about 10 seconds to complete.</pre><p>io.turbodsl makes things much easier by introducing DSL expressions to process collection items concurrently:</p><pre>// io.turbodsl approach<br>TurboScope.execute {<br>    val list: List&lt;Foo&gt; = &lt;10,000 items&gt;<br>    val mapped = list.asyncMap { /* ~1ms per item. */ }<br>}<br>// If a scope already specifies its `input` as a list<br>TurboScope.execute&lt;List&lt;Foo&gt;, Unit&gt;(input = &lt;10,000 items&gt;) {<br>    val mapped = asyncMap { /* ~1ms per item. */ }<br>}<br>// Or, using `input` argument<br>TurboScope.execute {<br>    val mapped = asyncMap(input = &lt;10,000 items&gt;) { /* ~1ms per item. */ }<br>}<br>// Each `asyncMap` operation will take less than 1 second to complete.</pre><p>Different strategies has been added when limiting the number of jobs:</p><ul><li>maxJobs = 0 : Creates as many async-jobs as items are within the collection. This should be used carefully since it may overload the target system.</li><li>maxJobs = -&lt;n&gt; : Creates &lt;n&gt; async-jobs (buckets) — items are spread as evenly as possible. The default is &lt;collection&gt;.size / 10 number of buckets.</li><li>maxJobs = &lt;n&gt; : Creates &lt;n&gt; async-jobs that will process all items (queue). This basically creates an async-job pool, each one processing as many items as possible based on a synchronized-queue.</li></ul><p>Functions asyncMap, asyncFilter, asyncAny, asyncAll, asyncNone, and asyncContains are included in v1.2.4 and work exactly as their sequential Kotlin counterparts, albeit in parallel.</p><p>Like other asynchronous scopes, arguments timeout, delay, parallel are included.</p><p>Check <a href="https://www.turbodsl.io/home/collections">https://www.turbodsl.io/home/collections</a> for more details.</p><h4>Default values for optional arguments</h4><p>A new Default sealed class has been defined, replacing the previous Undefined.</p><p>Now it is easier to set and identify scenarios where no actual value was provided. Note that this is trying to solve situations where null is a valid value.</p><p>Check <a href="https://www.turbodsl.io/home/default-mechanisms">https://www.turbodsl.io/home/default-mechanisms</a> for more details.<br>Also, read <a href="https://medium.com/@miguelt/kotlin-nullable-generics-and-default-values-a9d95549eac5">Kotlin nullable generics and default values</a> article.</p><h4>Parallel flag for asynchronous scopes</h4><p>Troubleshooting multithreaded applications is complicated. Trying to identify exactly an error (or bug) across multippel blocks executed concurrently is hard and may be difficult to find the root-cause:</p><pre>TurboScope.execute {<br>    async(<br>        parallel = true, // this is the default<br>        asyncMode = AsyncScope.AsyncMode.CancelFirst,<br>        job1 = asyncJob&lt;String&gt;(name = &quot;job1&quot;) { &quot;test-job1&quot; },<br>        job2 = asyncJob&lt;String&gt;(name = &quot;job2&quot;) { throw Error(&quot;forced-error-2&quot;) },<br>        job3 = asyncJob&lt;String&gt;(name = &quot;job3&quot;) { &quot;test-job3&quot; },<br>    ) { ok, r1, r2, r3 -&gt;<br>        /* Depending on how long each job takes while executing, <br>         * r1, r2, and r3 may be reported as Success, Failure, or Cancelled.<br>         * Even for this trivial example job2 may throw `Error` before job1<br>         * and job3 are executed. <br>         * It all depends when each coroutine is started!<br>         * One possible way is to add a slight delay on each job, but such<br>         * approach is error-prone and will just get more complicated as<br>         * your codebase gets larger and larger.<br>         */<br>        :<br>    }<br>}</pre><p>Parameter parallel has been added to all the DSL expressions that initiate an asynchronous scope. By default, this flag is true— use false to force all asynchronous-jobs to be executed sequentially, in the same order they were registered or added , making all results to be predictable. Note that this works for any AsyncMode:</p><pre>TurboScope.execute {<br>    async(<br>        parallel = false,<br>        asyncMode = AsyncScope.AsyncMode.CancelNone,<br>        job1 = asyncJob&lt;String&gt;(name = &quot;job1&quot;) { &quot;test-job1&quot; },<br>        job2 = asyncJob&lt;String&gt;(name = &quot;job2&quot;) { throw Error(&quot;forced-error-2&quot;) },<br>        job3 = asyncJob&lt;String&gt;(name = &quot;job3&quot;) { &quot;test-job3&quot; },<br>    ) { ok, r1, r2, r3 -&gt;<br>        /* Since all jobs are executed sequentially, then:<br>         * - ok is false<br>         * - r1 is AsyncResult.Completed.Success&lt;String&gt;<br>         * - r1.value is &quot;test-job1&quot;<br>         * - r2 is AsyncResult.Completed.Failure<br>         * - r3 is AsyncResult.Completed.Success&lt;String&gt;<br>         * - r3.value is &quot;test-job3&quot;<br>         */<br>        :<br>    }<br>}<br>TurboScope.execute {<br>    async(<br>        parallel = false,<br>        asyncMode = AsyncScope.AsyncMode.CancelFirst,<br>        job1 = asyncJob&lt;String&gt;(name = &quot;job1&quot;) { &quot;test-job1&quot; },<br>        job2 = asyncJob&lt;String&gt;(name = &quot;job2&quot;) { throw Error(&quot;forced-error-2&quot;) },<br>        job3 = asyncJob&lt;String&gt;(name = &quot;job3&quot;) { &quot;test-job3&quot; },<br>    ) { ok, r1, r2, r3 -&gt;<br>        /* Since all jobs are executed sequentially, then:<br>         * - ok is false<br>         * - r1 is AsyncResult.Completed.Success&lt;String&gt;<br>         * - r1.value is &quot;test-job1&quot;<br>         * - r2 is AsyncResult.Completed.Failure<br>         * - r3 is AsyncResult.Cancelled<br>         */<br>        :<br>    }<br>}<br>TurboScope.execute {<br>    async(<br>        parallel = false,<br>        asyncMode = AsyncScope.AsyncMode.CancelAll,<br>        job1 = asyncJob&lt;String&gt;(name = &quot;job1&quot;) { &quot;test-job1&quot; },<br>        job2 = asyncJob&lt;String&gt;(name = &quot;job2&quot;) { throw Error(&quot;forced-error-2&quot;) },<br>        job3 = asyncJob&lt;String&gt;(name = &quot;job3&quot;) { &quot;test-job3&quot; },<br>    ) { ok, r1, r2, r3 -&gt;<br>        /* Since all jobs are executed sequentially, then:<br>         * - ok is false<br>         * - r1 is AsyncResult.Cancelled<br>         * - r2 is AsyncResult.Completed.Failure<br>         * - r3 is AsyncResult.Cancelled<br>         */<br>        :<br>    }<br>}</pre><p>This parallel flag will simplify troubleshooting activities, and may help during your development efforts. Just remember to remove parallel=false when you release your code.</p><h4>&#39;throwOnFailure&#39; parameter for asynchronous scopes</h4><p>Included in all async DSL expression, throwOnFailure=true will force to throw the first exception / error, cancelling other asynchronous jobs.</p><p>This flag makes using async expression more idiomatic and can be easily used with retry:</p><pre>TurboScope.execute {<br>    retry {<br>        async(throwOnFailure = true) { ... }<br>    }<br>}</pre><p>Since async depends on asyncMode on how it will cancel other asynchronous jobs, throwOnFailure will depend on asyncMode by default:</p><ul><li>AsyncMode.CancelAll → sets throwOnFailure=true since all the asynchronous jobs will be cancelled on the first exception / error.</li><li>AsyncMode.CancelNone and AsyncMode.CancelFirst set throwOnFailure=false since some asynchronous jobs could have completed, containing a result.</li></ul><p>You can always override asyncModeand throwOnFailure depending on your scenario:</p><pre>TurboScope.execute {<br>    // Uses AsyncMode.CancelNone by default, sets throwOnFailure=false<br>    async { ... } <br>    // Uses AsyncMode.CancelFirst, sets throwOnFailure=false<br>    async(asyncMode = AsyncMode.CancelFirst) { ... }<br>    // Uses AsyncMode.CancelFirst, sets throwOnFailure=true<br>    async(asyncMode = AsyncMode.CancelAll) { ... }<br>    // Uses AsyncMode.CancelNone by default<br>    async(throwOnFailure = true) { ... }<br>    // Changing all defaults<br>    async(asyncMode = AsyncMode.CancelNone, throwOnFailure = true) { ... }<br>}</pre><h4>Exception / Error scope hierarchy</h4><p>The TurboDslException and TurboDslError have been renamed to ScopeException and ScopeError respectively.</p><p>This aligns the class names according to their usage and overall context.</p><ul><li>Check <a href="https://www.turbodsl.io/">https://www.turbodsl.io</a> for more details.</li><li>Check <a href="https://github.com/migueltt/io-turbodsl-tutorial">https://github.com/migueltt/io-turbodsl-tutorial</a> for tutorials and code examples.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/0*f-WZNUox9jKN_vcJ.png" /><figcaption>io.turbodsl</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=412823e63173" width="1" height="1" alt=""><hr><p><a href="https://medium.com/turbodsl/io-turbodsl-v1-2-4-released-412823e63173">io.turbodsl v1.2.4 released</a> was originally published in <a href="https://medium.com/turbodsl">io.turbodsl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>