<?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 Guru Rangavittal on Medium]]></title>
        <description><![CDATA[Stories by Guru Rangavittal on Medium]]></description>
        <link>https://medium.com/@mitguru?source=rss-bcc5e9b6e2c2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*RsY8Rn5wQmrJxCS9.jpg</url>
            <title>Stories by Guru Rangavittal on Medium</title>
            <link>https://medium.com/@mitguru?source=rss-bcc5e9b6e2c2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 07:39:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mitguru/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[Automating software development with Gemini-CLI]]></title>
            <link>https://medium.com/google-cloud/automating-software-development-with-gemini-cli-1f29f9ee223f?source=rss-bcc5e9b6e2c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f29f9ee223f</guid>
            <category><![CDATA[gemini-cli]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ai-driven-development]]></category>
            <category><![CDATA[ai-native-development]]></category>
            <category><![CDATA[sdlc]]></category>
            <dc:creator><![CDATA[Guru Rangavittal]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 02:39:45 GMT</pubDate>
            <atom:updated>2026-01-05T17:57:26.953Z</atom:updated>
            <content:encoded><![CDATA[<p>Software development is still a largely manual process with developers managing large chunks of activities manually impacting shipping velocity, product quality and increased execution costs.</p><p>Gemini CLI is a new tool providing a “command line invocation” option for engaging with Google Cloud’s flagship Large Language Model — Gemini. It makes it simple to interact with Gemini without any language requirements or programming needs and also convenient to leverage the power of Gemini at every step of the software development process. You can also invoke gemini without interaction using what is called the ‘yolo’ mode that gives gemini agentic capabilities to act on your behalf and follow instructions as you define in your workflow.</p><h3>How is Gemini CLI different from the standard Gemini web interface or IDE extensions?</h3><p>While the standard Gemini Web interface or the Gemini Enterprise portals offer incredible web experience for users, the user interface limits your ability to blend the intelligence of an LLM into your workflows. Gemini in the IDE (Integrated development environment like a VS Code or Intellij) also is limited to the IDE UI. That’s where the versatility of a command line interface comes quite handy to design your own workflows that are custom for every team and organization.</p><p>Unlike the IDE or the Gemini web experiences, the Gemini CLI sits right inside your project folder so it can read your entire corpus of files and documents leveraging the massive 1M token limit (equivalent to about 1500 pages of code) and build a deeper context of your code/standards and documentation for Gemini to incorporate in its response.</p><p>The Gemini CLI can also be instructed to run shell commands, follow specific instructions, use tools and integrate much more deeply than the other forms of Gemini experience making it extremely useful to design workflows suited to specific user needs.</p><h3>Getting started on Gemini CLI</h3><p>In order to start using Gemini CLI, you will need to install the tool first.</p><p>The installation of Gemini CLI is a breeze. Head to your familiar $ prompt or command line prompt of your familiar operating system and execute this command:</p><pre>$ npm install -g @google/gemini-cli</pre><p>This command automatically downloads gemini cli and installs it in your home folder. You can then run gemini in the $ prompt and invoke the interactive UI of gemini or invoke it in a non-interactive manner suiting your need.</p><h3>Leveraging the power of Gemini at every stage of software development</h3><p>Gemini CLI can be helpful to automate tasks in every stage of the development process. In a typical world, software development goes through the following stages with various artifacts being developed in each stage:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*gHUUA1FJ9pVDHNqQcH67oQ.png" /><figcaption>Software Development LifeCycle &amp; Deliverables Powered by Gemini CLI</figcaption></figure><p>We will look at how Gemini can be used to automate the tasks in each stage of the development process. Even if your process does not follow this nomenclature or process, gemini CLI gives you enough tools to make it amenable to your specific pattern. We will step through every stage to see how Gemini CLI can help teams automate their processes in this article:</p><h3>Discovery:</h3><p>Discovery typically involves understanding user needs and capturing requirements in the form of a products requirements document. Once you have the product requirements document you are now able to generate JIRA issues and start implementing. While you can chart your own course using Gemini CLI (and that is a perfectly viable option) you can also take advantage of some available open source extensions for example, the Conductor extension (more of it later). Out of the box, GeminiCLI can help organize the messy unstructured text and convert them into more structured Product Requirements Document using some simple instructions.</p><p><strong>Generating the Product Requirements Document</strong></p><p>If you have notes in unstructured files say, raw_notes.txt you can pass those files and have Gemini CLI generate a structured PRD document using simple instructions like:</p><pre>$ gemini -p “Read raw_notes.txt and convert it into a formal PRD. Use Markdown. Include sections for: Executive Summary, User Stories (As a… I want to… so that…), Functional Requirements, and Technical Constraints.”</pre><p>Gemini CLI now reads all your unstructured meeting notes, documents etc. and converts them into a very structured product requirements document stored as PRD.md in your project folder.</p><h4>Converting PRD to JIRA tickets</h4><p>Gemini CLI can also help converting PRD documents to JIRA tickets using a simple instruction such as:</p><pre>$ gemini -p “Read PRD.md and for every requirement in the ‘Functional Specs’ section, create a Jira Story in the ‘PROJ’ project. Include Acceptance Criteria from the document in the description.”</pre><p>However prior to initiating this agentic action of generating your JIRA tickets, you want to provide Gemini the tool to act by setting up the JIRA mcp server. You can do that by adding the JIRA mcp server including your JIRA private access token using the ~/.gemini/settings.json or using mcp authorization right from within your Gemini CLI.</p><h4>Do we even need JIRA now?</h4><p>Alternatively, as mentioned before, Google has also released an extension to Gemini CLI called “conductor” which can help capture requirements and help organize the context.</p><p>With the ‘conductor’ extension now capturing requirements in files called — product_guidelines.md, <a href="http://product.md/">product.md</a>, tech_stack.md, <a href="http://workflow.md/">workflow.md</a>, <a href="http://tracks.md/">tracks.md</a> etc. you now have all the required documentation captured along with the code itself which makes it very convenient for your large language model to understand what a particular piece of code is supposed to do and what state they are in the development lifecycle.</p><p>This helps you move from a ‘cowboy’ style vibe coding model to a more context driven development where your large language model has adequate persistent context and guardrails to channel it to develop software using the tight standards you have already established in your team.</p><p>So theoretically, if you are a small development team you may not even need JIRA. The Conductor extension can potentially replace some of the functionalities of JIRA of organizing your work or issues as tracks in conductor as against tickets in JIRA. However if your team is big with Product Managers, stakeholders and clients who may not have access to the development environment, you may need JIRA to still track development progress and for audit trails and time tracking etc.</p><h4>Gemini for Technical Discovery/Feasibility, Security Discovery &amp; User Flow Mapping</h4><p>Besides being able to generate the‘bread and butter’ artifacts such as PRDs and JIRA tickets, Gemini CLI can also be used to generate other high value artifacts in a typical Discovery stage such as:</p><ol><li><strong>The Technical Feasibility document: </strong>Gemini CLI can help create the Tech Feasibility document that captures the highest technical risk your product is likely to face. Besides documenting, Gemini CLI can also help validate the risks by running very focused prototypes to test out a specific feature or functionality that you want to evaluate.</li><li><strong>Security Discovery: </strong>Gemini CLI can also be invoked to do a STRIDE analysis and identify threats in the current architecture and strategies to mitigate them:</li></ol><pre>$ gemini -p “Analyze the architecture in PRD.md. Identify the top security threats using the STRIDE framework and suggest mitigation strategies for each.”</pre><p>Alternatively you can add a Security section to your PRD and identify JIRA tickets focused on security to support your product architecture.</p><p><strong>3. User Flow Mapping &amp; Architecture Diagrams:</strong> Gemini CLI can also be used to create the user journey diagrams and architecture blue prints using visuals generated using <a href="http://mermaid.js/">mermaid.js</a> for flow charts and system diagrams:</p><pre>$ gemini -p “Based on PRD.md, create a Mermaid sequence diagram showing the data flow between the Frontend, Auth-Service, and Database.”</pre><p>Discovery is not just a one time event. Gemini CLI can help keep the Discovery process iterative and maintain the relevance and freshness of the artifacts as you want your workflow to have using the same simple and tailored instructions to invoke gemini CLI appropriately.</p><h3>Design:</h3><p>In the Design phase, you start answering questions on “how” to build? To support this quest, Gemini CLI can help create artifacts like High Level Design Document, System Architecture, API Specs Document, Database schema and Data models, UI/UX wireframes, Design Systems and Software Design Document.</p><h4>High Level Design Document:</h4><p>This artifact is generated automatically when you run the conductor setup (based on the Discovery artifacts such as <a href="http://product.md/">product.md</a>, <a href="http://spec.md/">spec.md</a> etc.). For example, if you were to build an Astrology LifeStyle app, you could invoke gemini as below:</p><pre>$ gemini -p “/conductor:setup — non-interactive — project-name=’AstrologyApp’ — tech-stack=’Node.js, TypeScript, PostgreSQL’ — goals=’Automated horoscope generation and user profile management’”</pre><p>Of course you can generate your own custom HLD document by instructing gemini CLI as shown below:</p><pre>$ gemini -p “You are a Senior Systems Architect. Read PRD.md and current codebase structure. Generate a High-Level Design (HLD) in Markdown. Include: 1. System Architecture (Component Diagram in Mermaid.js) 2. Data Flow &amp; Interfaces 3. Tech Stack Rationale 4. Scalability Constraints” &gt; HLD.md</pre><h4>API Specs &amp; Database Schema:</h4><p>Gemini CLI can automatically draft an Open API or Swagger spec based on the functional requirements.</p><pre>$ gemini -p “Read the ‘Functional Specs’ in PRD.md and write a complete OpenAPI 3.0 YAML file for the User Management module.”</pre><p>Likewise, Gemini CLI can also generate Database schema and Entity Relationship diagrams fo which ever database is chosen for the application:</p><pre>$ gemini -p “Design a PostgreSQL schema for the features in PRD.md. Include tables for users, roles, and permissions with proper foreign key relationships.”</pre><h4>Converting Figma Designs to Code:</h4><p>One of the common use cases in Design (bleeding into Development) is where Gemini CLI is used to generate React components directly from a Figma design.</p><p>There are couple of approaches to go from Figma to Code:</p><p><strong>Figma to Code Option 1: Fast Track Approach</strong></p><p>For rapid prototyping, you can use a direct instruction<strong> t</strong>o convert a Figma link to code in a single leap. Note: Since there is no other guidelines given to Gemini, you will be capturing all styling preferences (e.g., “Always use Lucide icons”) into GEMINI.md. This ensures the Direct Figma-to-Code command follows project rules without being told every time.</p><pre>$ gemini -p “Implement this design as a React component using Tailwind CSS: https://www.figma.com/design/1kL8nrATVt46Zw04TqdZKC/Untitled?node-id=1-330&quot;</pre><p>Of course, you can generate Vue 3 components from the same Figma designs as below:</p><pre>$ gemini -p “Implement this design as a Vue 3 component: https://www.figma.com/design/1kL8nrATVt46Zw04TqdZKC/Untitled?node-id=1-330. Use &lt;script setup&gt;, TypeScript, and Tailwind CSS.”</pre><p>By including &lt;script setup&gt;, TypeScript, and Tailwind CSS in your prompt, you are defining your Technical Stack in one sentence.</p><ul><li><em>TypeScript: </em>Ensures Gemini adds type safety to your props and state.</li><li><em>Tailwind CSS: </em>Ensures Gemini doesn’t create a massive &lt;style&gt; block at the bottom of the file, keeping your component portable.</li></ul><p>When you run that command, Gemini generates a single .vue file that uses modern coding style with logic that is concise, top-level, and perfectly compatible with modern build tools like Vite.</p><p>Note that in the Direct Figma-to-Code approach, the developer’s primary task is Verification. Because there is no other intermediate artifact to review first, the developer “Audits” the generated component immediately after the CLI writes it to disk.</p><p>Prior to executing the actual conversion instruction, you want to make sure your gemini CLI has the mcp server extension installed before hand:</p><pre>$ gemini extensions install https://github.com/figma/figma-gemini-cli-extension</pre><p>You will also need to authorize yourself with your Figma account by using the command on the gemini prompt as: “/mcp auth figma”. If you prefer not to use the extension, you can manually configure the mcp server in ~/.gemini/settings.json file or directly using the CLI as shown below using your Figma personal access token as shown below:</p><pre>$ gemini mcp add figma — httpUrl https://mcp.figma.com/mcp</pre><p>You will need to authenticate yourself in order to use the Figma server with your authorizations.</p><p><strong>Figma to Code Option 2: Spec Track</strong></p><p>You could also go from Figma to Code using the “conductor” extension. This method leaves enough of an audit trail so you can modify the logic in future if maintenance is needed. This is very appropriate for complex features requiring long-term maintenance, the Conductor extension provides a more rigorous path by codifying that Figma design into a persistent spec.md and plan.md before a single line of code is written.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*U0UTLKTSclkKYRH2hRkzYA.png" /></figure><h4>Software Design Document:</h4><p>Gemini CLI can help create the technical blueprint that bridges the high level design to the actual code — the bible of the Design phase. Using the conductor extension:</p><pre>$ gemini -p “/conductor:newTrack Feature Name”</pre><p>You can also generate SDD directly from gemini CLI as below:</p><pre>$ gemini -p “You are a Senior Systems Architect. Read PRD.md and generate a comprehensive Software Design Document (SDD). Include sections for: 1. System Architecture (Mermaid.js diagram) 2. Database Schema (ERD) 3. API Endpoints (OpenAPI format) 4. Security &amp; STRIDE Analysis 5. Deployment Strategy.” &gt; SDD.md</pre><p><strong>Note: </strong>Gemini CLI can function both in interactive mode as well as in non-interactive mode (invisible). When it is invoked as ‘$ gemini -p “Instruction” ‘ it is being invoked interactively (typically in Discovery or Design phase) and when it is invoked as ‘$ gemini “Instruction” ‘ it is being invoked non-interactively.</p><p>While traditionally the design documents are written once and forgotten later, with Gemini CLI, it can be a living document and document updates are a breeze since Gemini CLI understands the artifacts and if you are using the COnductor extension the documents live alongside code so Gemini can make changes to document when a new feature is being added.</p><h3>Development &amp; Testing:</h3><p>The actual development moves away from simple code snippets towards Spec Driven Development &amp; Behavior Driven Development. Instead of just writing code, the CLI helps manage a suite of persistent artifacts that ensure your implementation stays aligned with your architecture.</p><h4>Spec Driven Development:</h4><p>As you move into the development phase, Gemini CLI conductor extension can help generate and maintain key files that stipulate the “contract” for the development process:</p><ul><li><strong>spec.md: </strong>This file captures the functional spec which details the breakdown of what is being built for a specific task.</li><li><strong>plan.md: </strong>This file is the technical roadmap of components being built — a step by step list of phases, tasks and sub-tasks.</li></ul><p>With the conductor extension, the actual implementation is a breeze as we saw earlier in the Figma to Code illustration. Once the <strong>plan.md</strong> is finalized, the implementation can be invoked from the gemini command line as: /conductor:implement. The CLI then works through the plan autonomously — creating files, refactoring existing code, and verifying each step. If a command fails (like a broken build), the CLI’s “Reason and Act” (ReAct) loop allows it to read the error and attempt a fix automatically.</p><p>Of course, even without the conductor extension, Gemini CLI provides other tools that you can leverage to keep your development process following the same guard rails that the conductor extension offers but this time, you must maintain context by invoking Gemini CLI’s built-in session management. The following artifacts are available even without the conductor extension for maintaining context:</p><ul><li><strong>Gemini.md: </strong>This file acts as the “Law of the Land.” While spec.md is for a single feature when using conductor extension, GEMINI.md is for the entire project. It lists the project goals and constraints.</li><li><strong>Custom slash commands “/plan”: </strong>With Gemini CLI you can create custom commands to force Gemini follow specific instructions to act as a strategist before it codes. This can replace the plan.md file that the conductor extension uses. You could specify the instructions Gemini CLI needs to follow by providing instructions in ~/.gemini/commands/plan.toml file as:</li></ul><p><strong>plan.toml:</strong></p><pre># ~/.gemini/commands/plan.toml<br>description=&quot;Investigates and creates a strategic plan to accomplish a task.&quot;<br>prompt = &quot;&quot;&quot; Your primary role is that of a strategist, not an implementer. Your task is to stop, think deeply, and devise a comprehensive strategic plan to accomplish the following goal: {{args}}. You MUST NOT write, modify, or execute any code. Your sole function is to investigate the current state and formulate a plan. Present your strategic plan in markdown. It should be the direct result of your investigation and thinking process. Structure your response with sections on goal, investigation, strategic approach, verification strategy, Anticipated Challenges &amp; Considerations. Your final output should be ONLY this strategic plan.&quot;&quot;&quot;</pre><p>To invoke the plan command to generate vue3 code for a Figma design, you could execute the following:</p><pre>$ gemini<br># Invoke your new command once the CLI is launched:<br>&gt; /plan Build a Vue 3 dashboard from this Figma link: https://www.figma.com/design/1kL8nrATVt46Zw04TqdZKC/Untitled?node-id=1-330</pre><p>Or you can run it in one go from the $ prompt as:</p><pre>$ gemini -p “/plan Build a Vue 3 dashboard from this Figma link: https://www.figma.com/design/1kL8nrATVt46Zw04TqdZKC/Untitled?node-id=1-330&quot;</pre><ul><li>Gemini CLI also maintains a project-specific “paper trail” every time you use the CLI (from Gemini CLI version 0.20.8). This allows keeping track of the session even if you had to end the session by closing the window or if the execution crashed for any reason. You can resume where you left off by executing the /resume command. Gemini stores sessions in a hidden folder on your computer: ~/.gemini/tmp/&lt;project_hash&gt;/chats/ (Linux/mac OS)</li></ul><p>To resume the 3rd you can either pick it up using the /resume command or you can execute from command line as:</p><pre>$ gemini --resume 3</pre><p>Alternatively you can run directly in Gemini CLI by choosing the specific chat session you want to continue:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*YkhWKs8DHUWihTWKCR7kEQ.png" /></figure><ul><li>Gemini CLI also provides mechanisms to store specific instructions to long term memory (<a href="http://gemini.md/">Gemini.md</a>) using the /memory command. For ex., To save specific technical decisions into a persistent “long-term memory” that survives even when you start new sessions, you can use /memory add “We want to use PostgreSQL for the astrology data” which maintains this decision in long term memory for future reference.</li></ul><h4>Behavior Driven Development using UUV (User Centric Use Case Validator) Extension:</h4><p>While we have seen how Gemini CLI accelerates Spec Driven Development and enables Developers to solve problems quickly, very often we realize too late that, Developers have solved the wrong problem. This communication gap between business intent and technical execution is a common challenge resulting in rework and missed user needs. Behavior Driven Development bridges this gap by establishing a shared language for everyone involved.</p><p><strong>UUV — User centric Use cases Validator:</strong></p><p>UUV is an approach that simplifies End to End test writing and execution using BDD (Behaviour Driven Development) using user-centric approaches. Unlike standard unit testing, which checks if code works, the Gemini CLI UUV extension checks if the code behaves correctly from the perspective of a user. It specifically leverages accessibility data (ARIA roles, labels, and landmarks) to interact with the application, ensuring the app isn’t just functional, but inclusive and high-quality. The UUV extension uses the Gherkin syntax (Given/When/Then) as the communication language between you and Gemini.</p><p><strong>Testing Using UUV:</strong></p><p>Instead of writing a test script, you describe the user behavior and gemini CLI generates a .feature file which is emerging as a universal standard, instantly compatible with the entire testing ecosystem:</p><pre>$ gemini “Using UUV, create a BDD feature file for the sign-up flow. When I enter ‘Leo’ in the sign field, I should see the sun icon.”</pre><p><strong>Output:</strong></p><pre>$ cat features/signup.feature<br>Feature: User Sign-up Flow<br>Scenario: Display Sun Icon for Leo<br>Given I am on the sign-up page<br>When I enter &quot;Leo&quot; into the sign field<br>Then I should see the sun icon</pre><p>This command ensures that Gemini creates a .feature file that can be used for automated testing using tools like Cucumber or PlayWright in Javascript or Java or using custom tests written in Python. You can now generate the execution script using the feature file:</p><pre>$ gemini -p “UUV: Generate the execution script for features/signup.feature”</pre><p>This command leverages available tools to create appropriate test execution matching the feature file. Pytest generated test scripts can then be executed using the pytest framework.</p><p><strong>Output:</strong></p><pre>$ cat tests/step_definitions/test_signup_steps.py<br>from pytest_bdd import scenarios, given, when, then, parsers<br># Scenarios<br>scenarios(&#39;../features/signup.feature&#39;)<br># Given Steps<br>@given(&#39;I am on the sign-up page&#39;)<br>def signup_page():<br>  &quot;&quot;&quot;I am on the sign-up page.&quot;&quot;&quot;<br>  pass<br># When Steps<br>@when(parsers.parse(&#39;I enter &quot;{text}&quot; into the sign field&#39;))<br>def enter_sign(text):<br>  &quot;&quot;&quot;I enter &quot;Leo&quot; into the sign field.&quot;&quot;&quot;<br>  pass<br># Then Steps<br>@then(&#39;I should see the sun icon&#39;)<br>def should_see_sun_icon():<br>  &quot;&quot;&quot;I should see the sun icon.&quot;&quot;&quot;<br>  pass</pre><p>As you can see, the biggest paradigm shift with Gemini CLI is the move from Vibe Coding (brief, disconnected prompts) to Spec-Driven Development (SDD) and Merged Testing, where Gemini acts as an autonomous team member. Traditional AI enabled coding gives you a static response to queries whereas Gemini CLI, since it is embedded in your code, is able to Reason and Act as an Active agent observing and iterating its actions to align to the goals set forth by the user (Developer). This also elevates the role of a Developer from a Syntactician to an Architect and Auditor where the user is constantly steering, validating and auditing the code instead of typing boiler plate code.</p><h3>Deployment:</h3><p>With Gemini CLI, deployment is also no longer a manual hand off from the developer to the platform team rather it is an automated continuation of the development loop. As part of deployment, we will examine how GeminiCLI can help the deployment process in 3 distinct phases:</p><ol><li><em>Inner World </em>— which is the deployment architecture where Gemini CLI enables deployment using one of the architectural options such as Cloud Run or GKE or App Engine or Firebase etc.</li><li><em>Outer World </em>— The Infrastructure as Code where Gemini CLI helps build the necessary compute/storage infrastructure needed to stand up the architecture.</li><li><em>CI CD orchestration </em>— where Gemini CLI enables continuous integration and continuous deployment so the development velocity is operating at its optimal maximum.</li></ol><h4>The Inner World:</h4><p>With Gemini CLI, the same agent that wrote the code is also orchestrating the deployment of the code to your infrastructure or cloud, transforming deployment into a natural language conversation. In fact, you can leverage Gemini CLI to help identify the right deployment option using a command such as:</p><pre>$ gemini -p “Analyze my project and create a ‘Deployment Suitability Report’. Should I use Cloud Run, GKE, or App Engine? Explain why based on my code structure.”</pre><p>Reviewing the Deployment Suitability report can give a good pointer on which option is best suited for your codebase.</p><p>GeminiCLI gives us the ability to use natural language to deploy code to one of the following infrastructure options using the respective extensions:</p><ol><li>Cloud Run — Extension available: Gemini CLI Cloud Run</li><li>App Engine — Use gcloud for Gemini CLI</li><li>GKE — Extension available: Gemini CLI for GKE</li><li>Firebase — Extension available: Gemini CLI for Firebase</li></ol><p>While having these extensions, are very helpful since they provide the eyes and muscle for GeminiCLI to learn about and execute, GeminiCLI is also quite capable of executing actions from scratch if it has access to the “gcloud extension” by which it can trigger gcloud commands to deploy to Cloud Run or GKE or App Engine as the case may be.</p><p>Note: There is no standalone “Skaffold Extension” because Skaffold’s functionality is already natively integrated into the Gemini CLI’s core and the official GKE and Cloud Run extensions.</p><p>Instead of needing a specific extension just for Skaffold, Gemini CLI uses its Agentic Shell to orchestrate the Skaffold binary you already have on your machine.</p><p>The key artifact that enables this process is the Manifest file which can be different for different types of deployment. The Manifest file defines the run time environment (GKE, Cloud Run etc.) for the application. This file can be any one:</p><p><em>a) app.yaml</em> for App Engine deployments:</p><ul><li>The gemini CLI prompt to trigger this artifact can be:</li></ul><pre>$ gemini -p “Analyze my project structure and create a production-ready app.yaml for Google App Engine. Include the correct runtime, entrypoint, and any environment variables found in my .env file.”</pre><p><em>b) service.yaml</em> for Cloud Run:</p><ul><li>You can prompt GeminiCLI to deploy the app to Cloud Run with a simple command as below:</li></ul><pre>$ gemini -p “Deploy this Vue app to Cloud Run in us-central1”</pre><p>Alternatively with Cloud Run Extension, you could use the slash command from within the interactive Gemini CLI prompt:</p><pre>/deploy — region=us-central1</pre><p><em>c) deployment.yaml</em> for GKE (Kubernetes)</p><ul><li>You can prompt GeminiCLI to deploy the app to GKE (without the GKE extension) with a simple command as below:</li></ul><pre>$ gemini -p “Build a container image for this app, push it to my Artifact Registry, then generate a Kubernetes deployment and service to host it on my GKE cluster ‘prod-cluster’. Use 3 replicas and ensure it’s exposed externally.”</pre><p>Alternatively you can run the following command inside Gemini CLI if you have the GKE extension to trigger deployment as:</p><pre>$ gemini -p “GKE: Analyze my Vue app. 1. Generate the Dockerfile and GKE manifests Deployment + Service. 2. Automate the build using ‘gcloud builds submit’. 3. Deploy everything to my ‘astrology-dev’ cluster in us-central1. 4. Monitor the pods and tell me the public IP once the LoadBalancer is ready.”</pre><p><em>d) Skaffold.yaml</em> for a unified deployment:</p><ul><li>Skaffold is the de facto standard for orchestrating the “Inner Development Loop” for Kubernetes. If app.yaml is a static map for a single destination (App Engine), skaffold.yaml is a dynamic GPS for your entire containerized journey.</li><li>Gemini CLI uses Skaffold as its “hands” for Kubernetes: Auto-Correction. If a pod fails to start during a Skaffold run, Gemini reads the logs, identifies the error in your deployment.yaml, fixes it, and Skaffold automatically re-triggers the deploy.</li></ul><pre>$ gemini -p “Setup Skaffold to watch my source code. When I save a file, it should rebuild the container via Google Cloud Build and redeploy to GKE. Ensure it uses the ‘development’ profile I have in my workspace.”</pre><h4>The Outer World — Infrastructure as Code (IaC):</h4><p>Gemini CLI can also generate the appropriate IaC files (Terraform or Pulumi) that match your requirements (<a href="http://spec.md/">spec.md</a> from the conductor extension).</p><ul><li>If you don’t use the conductor extension, Gemini CLI will still be able to generate the IaC code analyzing the workspace context such as requirements.txt, package.json, Dockerfile etc. as well as .env files or gcloud settings.</li><li>Gemini CLI will also be able to get the direct cue from the prompt on what’s needed and execute accordingly.</li><li>Sample prompt to gemini CLI:</li></ul><pre>$ gemini -p “Analyze my current project and generate a production-ready Terraform configuration to deploy it to Google Cloud. Target GKE Autopilot for the backend and Cloud Run for the frontend. Include a Cloud SQL PostgreSQL instance and a private VPC. Use my current environment variables for the Project ID and Region.Save the output as a set of modules in an infra folder.”</pre><p>The primary advantage of having GeminiCLI generate the IaC as well as the code deployment process is one of synchronization. Gemini CLI ensures that the “Outer World” ( GKE cluster, VPC, and IAM) is perfectly sized and configured to support the “Inner World” ( deployment.yaml and application code). With GeminiCLI generating the IaC, the time taken is a matter of minutes limited only by conversational iteration and it is secure by default because GeminiCLI follows the GKE security playbooks.</p><h4>The CI/CD Orchestration:</h4><p>The CI/CD YAML (typically .github/workflows/main.yml for GitHub or .gitlab-ci.yml for Gitlab) acts as the Automated Pilot for your code. It ensures that every time you “push” code, it is tested, built into a container, and safely landed on GKE or Cloud Run.</p><p>Gemini CLI in action in Gitlab:</p><p>We can integrate Gemini CLI &amp; Gitlab in 2 distinct ways:</p><p><strong>Method 1: Creating an mcp bridge between Gemini CLI &amp; Gitlab:</strong></p><p>This gives the Gemini CLI in your local desktop or IDE a window into your Gitlab repo. With mcp, Gemini can:</p><ul><li>See the Pipeline Failure</li><li>Use a tool to Read the Dockerfile.</li><li>Use a tool to Check the Registry for the image.</li><li>Realize the image is missing, write a fix, and automatically open a new Merge Request to resolve the issue.</li></ul><p><strong>Creating a merge request from your development environment: </strong>Once you have the Gitlab mcp installed, you are now able to create a merge request from your development environment, making it super easy to go from coding to merging all with simple conversations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ndmFtKI-so6sO3_f9-SGtg.png" /></figure><p><strong>Method 2: Integrating Gemini CLI directly in a Gitlab pipeline:</strong></p><p>This involves installing Gemini CLI directly in your pipeline and passing your review instructions to Gemini CLI within the pipeline.</p><ul><li>Every time a merge request happens, this pipeline is invoked and Gemini CLI, being integrated with the pipeline, is able to review as shown in the following example below:</li></ul><pre>#.gitlab-ci.yml:<br>stages:<br>- review<br>gemini_mr_review:<br>stage: review<br>image: node:latest<br>rules:<br>- if: $CI_PIPELINE_SOURCE == &quot;merge_request_event&quot;<br>when: on_success<br>variables:<br>GEMINI_API_KEY: $GOOGLE_API_KEY<br>script:<br>- |<br># Install the Gemini CLI<br>npm install -g @google/gemini-cli<br># Check if the key is actually reaching the runner (without printing it)<br>if [ -z &quot;$GEMINI_API_KEY&quot; ]; then<br>echo &quot;ERROR: GEMINI_API_KEY is empty. Ensure &#39;variable&#39; is setup&quot;<br>exit 1<br>fi<br># Fetch target branch so git diff can see it<br>git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME<br># Get the list of changed files<br>CHANGES=$(git diff - name-only origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME $CI_COMMIT_SHA)<br># Run the review<br>echo &quot;Starting Gemini Code Review…&quot;<br>REVIEW_SUMMARY=$(gemini -p &quot;You are a senior code reviewer. Analyze these changes: ${CHANGES}. Provide a concise Markdown summary.&quot; - yolo)<br>echo &quot; - - Gemini Review Summary - -&quot;<br>echo &quot;$REVIEW_SUMMARY&quot;</pre><p>Beyond the CI/CD orchestration, Gemini CLI can also help in monitoring deployments when Gemini CLI is directed to AI Driven Canary Analysis.</p><h4>Gemini CLI Enabled Canary Analysis:</h4><p>The prompt that can instruct Gemini CLI to execute this complex task can be a simple language instruction capturing the nuances of the execution:</p><pre>$ gemini -p “I need to implement AI-Driven Canary Analysis for GKE. Write a Google Cloud Function in Python that takes Prometheus metrics and GKE logs as input and returns a ‘Promote’ or ‘Rollback’ verdict using Gemini 3 Flash. Use your shell tool to deploy this function to my GCP project. Generate an Argo Rollouts AnalysisTemplate that calls this new function’s URL. Update my rollout.yaml to include this analysis step in the canary strategy.”</pre><h3>Maintenance &amp; Monitoring:</h3><p>Gemini CLI can also be enabled for monitoring performance using GKE Extensions or Cloud Extensions both in a passive reactive method as well as in an active reactive approach as well.</p><h4>Passive Monitoring:</h4><p>Gemini CLI can also be wired to monitor your GKE clusters by periodic pulse check using a simple command as below:</p><pre># Cron.job<br>while true; do<br>gemini - yolo &quot;Check GKE pod memory. If any &gt; 80%, write a fix to &#39;k8s/patch.yaml&#39; and notify me.&quot;<br>sleep 600<br>done</pre><p>This instruction will ensure that:</p><ol><li>Gemini CLI has authorization to execute on your behalf and has good contextual understanding of the current application from ./GEMINI.md or ~/.gemini/GEMINI.md</li><li>Gemini CLI will then execute a series of shell commands (likely kubectl top pods -A) to pull the real-time memory usage of your GKE pods</li><li>If a pod crosses the 80% threshold, Gemini enters Agent Mode — Gemini CLI might run kubectl describe pod to see why memory is high (e.g., is it a leak, or just high traffic?). It then uses the write_file tool to create or update a k8s/patch.yaml file. This file will contain the fix, such as increasing the memory limit from 512Mi to 1Gi. Gemini CLI will also use the system’s notify-send (Linux) or osascript (Mac) to pop up a toast notification on the desktop.</li></ol><h4>Active Monitoring:</h4><p>You can also adopt a more active reactive approach by launching Gemini CLI using an event arc trigger that is activated based on request volume as shown below:</p><pre>$ gemini -p “I want to scale my GKE deployment based on request volume.Create a Cloud Monitoring alert that triggers if the request_count for my load balancer exceeds 1000/sec. Route this alert to a new Pub/Sub topic called ‘high-traffic-event’. Create an Eventarc trigger that listens to this topic and calls my /scale-up agent.”</pre><p>This will require a custom slash command /scale-up which will be housed in .gemini/commands/scale-up.toml:</p><pre>#.gemini/commands/scale-up.toml:<br>description = &quot;Analyzes load and scales GKE deployments safely.&quot;<br>prompt = &quot;&quot;&quot; Your goal is to scale up the deployment: {{args}} 1. Use `kubectl top pods` to verify current CPU/Memory usage. 2. Check `gcloud compute regions describe` to ensure we have quota. 3. If safe, increase replicas by 20%. 4. Verify the new pods reach &#39;Running&#39; status. 5. Notify me with the new replica count. &quot;&quot;&quot;</pre><p>Gemini CLI can be used to enable Predictive Autoscaling on a Managed Instance Group (MIG) that power the GKE node pools. While the Compute Engine Autoscaler performs the time-series forecasting based on historical Cloud Monitoring data, the Gemini CLI allows you to configure these complex Autoscaling Policies (e.g., setting the predictive-method to optimize-availability). This ensures the cluster scales out VMs before the forecasted traffic arrives, eliminating the typical latency found in reactive scaling.</p><p>Note: While Cloud Run lacks the Predictive Forecasting engine found in MIGs, Gemini CLI can be used to set the — min-instances flag for Cloud Run deployment. This ensures a baseline number of containers are ‘Always On,’ effectively bypassing cold starts without needing a historical forecast</p><h3>How will software development evolve in the future?</h3><p>As you can see Gemini CLI can be the pair programmer for the developer in the end to end development lifecycle and not just in the coding process. The transition from manual “vibe coding” to AI-orchestrated development isn’t just about speed — it’s about the evolution of the developer’s role. By leveraging the power of LLMs in the development process, we are not only changing the shipping velocity but also building newer capabilities to solve even greater architectural challenges. The future of software isn’t just written; it’s orchestrated. Software is no longer just a codebase; it is a live-synced ecosystem of design, logic, and predictive infrastructure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f29f9ee223f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/automating-software-development-with-gemini-cli-1f29f9ee223f">Automating software development with Gemini-CLI</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build your own Multi-Tier Network Twin on Google Cloud]]></title>
            <link>https://mitguru.medium.com/building-your-own-digital-twin-using-graph-on-google-cloud-5fc671584c99?source=rss-bcc5e9b6e2c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fc671584c99</guid>
            <category><![CDATA[neo4j]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[digital-twin]]></category>
            <category><![CDATA[graph-database]]></category>
            <dc:creator><![CDATA[Guru Rangavittal]]></dc:creator>
            <pubDate>Sun, 03 Apr 2022 18:49:24 GMT</pubDate>
            <atom:updated>2022-04-11T13:19:47.337Z</atom:updated>
            <content:encoded><![CDATA[<p>Google Cloud has a number of databases to capture myriad forms of data:</p><ul><li>Cloud SQL: Fully Managed My SQL/Post Gres &amp; SQL Server database</li><li>Cloud Spanner: A Distributed database with global consistency, 99.99% availability</li><li>Big Query: A petabyte scalable datawarehouse with 99.99% availability and incredible speed</li><li>Big Table: A No SQL database for analytical and operational workloads</li><li>Firestore: A highly scalable and popular document database service for mobile, web and app development.</li></ul><p>Besides Google also has a number of other partner databases prominent among them are:</p><ul><li>Mongo DB — A global database service</li><li>Neo4j — A fully managed graph database service</li><li>Memory Store — A fully managed redis database service</li></ul><p>In this essay, we will focus on one of the databases — Neo4j — a graph database and understand how it can be used to model a Digital Twin of your business process.</p><p><strong>Neo4j on Google Cloud</strong></p><p>Gartner describes the graph technology as a key tool for uncovering relationships across diverse data. In a planet where everything is so tightly interconnected with everything else, lot of natural data lends itself to being very accurately described by a graph database.</p><p>Neo4j is available in Google Cloud in the form of Aura — a fully managed database service. AuraDB on Google Cloud is the easiest and fastest way to build graph applications in the cloud. Neo4j AuraDB™ is a graph database-as-a-service designed for the best developer experience. Fully managed and completely automated, AuraDB allows you to focus on building applications and connect to best-in-class services such as Google Cloud Vertex AI, an ML development platform to create and deploy graph-based machine learning models. Built on the world’s most trusted graph platform, AuraDB is purpose-built to leverage data relationships within all workloads; from SMB to the Enterprise, enabling fast and scalable insights across connected data sets.</p><p><strong>Modeling the real world on a Graph Database</strong></p><p>Take for example human networks — every human is interconnected with a web of relationships and by continuously modeling all relationships using a graph database, we can replicate the human network of connections to reflect real world human connections.</p><p>Similarly in the business world, every enterprise has a web of business relationships. Relationships that connect an enterprise to its customers as well as relationships that connect an enterprise to its suppliers. One can simplify relationships between enterprises to just the first level of relationships — for example, we could only be looking at those customers who issue direct sales orders to us or we could be only looking at suppliers to whom we issue direct purchase orders. However, life is lot more complex than those 1-&gt;1 relationships that are directly ‘legally’ liable using instruments such as Sales Orders or Purchase Orders. In business as in life, there is a network of customers and they are called the demand chain. Likewise, there is a network of suppliers who contribute to building the final material or component procured which is called the supply chain.</p><p>In business as in life, relationships are built on factors such as forecasts or Planned Orders or Purchase Intentions. Supplier’s suppliers and customer’s customers build trust with an enterprise using ‘non-legally’ binding indicators such as forecasts or planned orders or intentions. Modeling such relationships is tricky but can determine the success or failure of an enterprise in meeting demands and planning for the future.</p><p><strong>Modeling your supply chain on a Graph Database</strong></p><p>Imagine if you have 3 plants — one in Missouri, one in West Virginia and one in Kentucky. Assume that you are building a vehicle that has 4 main parts each with its own set of suppliers and supplier’s suppliers:</p><ul><li>Frame</li><li>Engine</li><li>Transmission</li><li>Chassis</li></ul><p>You can model this entire network of interconnections between your plants and suppliers using a graph database as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SUI-HrCGuAQhK782" /></figure><p>That is it — that is your digital twin of your manufacturing network over multiple tiers of suppliers. But what can you do with this?</p><p><strong>Graph Database as an Analytical Powerhouse</strong></p><p>With your multi-tier manufacturing network defined in the graph database you now have a visual model of your supply chain, along with your bill of material and bill of distribution that allows your data scientist to conduct “what if” scenario analysis. Your team can now answer a variety of questions such as:</p><ol><li>What will happen if a hurricane hits my supply base in Ohio and they can’t deliver?</li><li>Which parts are being sourced from my supplier in Ohio?</li><li>Who are the alternative suppliers for a given part?</li></ol><p>And so many more.</p><p>Besides you can combine the data from your graph database with your procurement/pricing data and leverage the power of Big Query to run complex Procurement Analytics that can help enterprises to answer a number of procurement related questions such as:</p><ul><li>Are we getting a consistent price for the same part across our supply chain?</li><li>What parts are duplicates in our inventory?</li><li>How can we improve our inventory policy knowing that there are duplicate parts in our network?</li><li>How do we ensure that the suppliers are charging the right price for a given part or component across the supply chain?</li></ul><p>The Graph database coupled with Big Query and the power of Vertex AI gives your citizen data scientist “super powers” to model and analyze your multi-tier manufacturing network, supply chain data and network inventory.</p><p><strong>Graph Database as a System of Record for Planning Decisions</strong></p><p>We can also use the graph database to capture core planning decisions arising from various events. If your enterprise has a forecasting engine with forecasts being maintained at the top level customer demand products, now that your supply chain has been modeled in the graph, you can use the graph to do the supply planning by propagating the forecasts throughout the network and determining the demand for a part or a component at a supplier level. Hence your graph database can now start emerging as the most accurate planning engine for your supplies and suppliers.</p><p>Why is Graph Database more accurate for Supply Planning?</p><p>One of the big limitations of conventional planning engines is the levels of relationships considered. Most planning engines do not model the multi-tier supplier network that is critical to define accurate forecasts. Most planning engines only consider planner specified Purchase orders or Planned Purchase orders as the gospel of truth from a planning purpose. This does not take into account inherent relationships among components and end-products as mentioned in Bills of Material(BOM) and Bills of Distribution(BOD).</p><p>By capturing intricate multi-tier data from structures such as BOM and BOD, Graph databases allow for deeper modeling of relationships between an enterprise and its demand chain partners or supply network partners. Hence by nature of the design of a graph database, it allows for accurate data capture and hence graph databases emerge as more accurate tools than even ERPs and Advanced Planners for supply planning.</p><p>Graph Database as a Record for Planning decisions</p><p>Now that we recognize that Graph databases can be used to calculate forecasts of multi-tier suppliers and their components/material, we can appreciate the ability graph databases provide to capture decisions taken by planners around % of supplies among different suppliers for a given part or component. Imagine a natural event and you have to change your supplier from Supplier A to Supplier B, you can capture this decision as an update to the % of Supplies attribute for a given part at a given location. We can use this information along with the overall supply chain information to understand supply risks and what actions need to be taken by enterprises to manage those risks.</p><p>Check out how you can get started on Neo4j Aura using this <a href="https://neo4j.com/cloud/aura-google-cloud/">link</a>.</p><p>Check out how you can build smarter AI with Neo4j and Google Cloud Vertex AI using <a href="https://cloud.google.com/blog/products/ai-machine-learning/analyze-graph-data-on-google-cloud-with-neo4j-and-vertex-ai">this</a> link.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fc671584c99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Re-thinking Supply Planning in a post-pandemic world]]></title>
            <link>https://mitguru.medium.com/re-thinking-supply-planning-in-a-post-pandemic-world-acd269913b76?source=rss-bcc5e9b6e2c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/acd269913b76</guid>
            <dc:creator><![CDATA[Guru Rangavittal]]></dc:creator>
            <pubDate>Sat, 13 Mar 2021 04:33:43 GMT</pubDate>
            <atom:updated>2021-03-16T23:06:59.528Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*JBVRuopy3bBCVD7_.jpeg" /><figcaption>Supply Planning Post Pandemic</figcaption></figure><h4>Summary</h4><p>Covid-19 clearly exposed the limitations in current “manufacturing” planning processes and manufacturers have realized that their current strategies are inadequate to meet supply and demand shocks of the type experienced during the pandemic.</p><p>Success for manufacturers is dependent not only on product innovation but also on the efficiency with which they are able to deliver the right product at the right time.</p><p>This requires efficient sourcing, stocking and logistics at every level of the product manufacturing process.</p><p>Manufacturers attempting to implement this have ended up with a complex, highly interconnected supply chain with parts and components sourced from all over the world.</p><p>Covid-19 was a shock to many manufacturers forcing them to re-think not only their immediate supply channels but also that of their suppliers and their suppliers-suppliers to stay competitive.</p><p>While companies have invested to some extent on visibility in operational processes, visibility in planning processes has not received the same level of investments.</p><p>This paper advocates that enterprises should invest in a dedicated “Supply Platform” that can be the foundation for driving visibility to drive better supply resilience, lower product costs and improved efficiency throughout the supply chain.</p><h4>Modern Global Supply Chains = Higher Inventory + Risk</h4><p>Manufacturers have continuously looked for ways to drive value to customers during both boom and bust cycles by improving their sourcing, stocking and distribution strategies in a way that drives greatest value for customers.</p><p>This has resulted in a supply chain with a global manufacturing foot print and international logistics that has increased the total transit time significantly.</p><p>The increase in lead times and global supply base have resulted in higher risks (made amply clear during the covid induced supply disruptions) and to manage those risks, manufacturers have attempted to use inventory as a buffer.</p><h4>Leveraging Technology to lower risk</h4><p>Covid-19 also clearly demonstrated the vulnerability of such complex supply chains and manufacturers have now turned to various kinds of IT systems to lower that risk.</p><p>Today’s ERPs form the backbone of any enterprise — manufacturing or otherwise.</p><p>They provide end to end visibility of the cash to cash cycle and a strong foundation for companies to keep their books in order and deliver to commitments on both sides of supply and demand.</p><h4>The Challenges of Growth &amp; Weaknesses of current manufacturing systems</h4><p>As manufacturers grew, organically and inorganically, they inherited a plethora of ERP systems for each acquisition/expansion. Each ERP brought with itself certain strengths and complexities unique to that ERP.</p><p>While ERPs are a great platform for the enterprise to manage their books they have not been able to provide a unified way to manage and enhance supplier relationships, particularly when combined with other kinds of ERPs.</p><p>With so many ERP systems, manufacturers end up confusing their supply base by sending ambiguous orders, mixed signals and contradictory messages leaving the suppliers to lose trust of the basic communication.</p><p><strong>Why a federation of ERPs is a detriment to provide a unified view?</strong></p><p>While current ERPs provide great technological capabilities to model scenarios, they fail at the boundary points where ERPs need to connect with other systems and other ERPs.</p><p>The process gaps &amp; data inconsistencies come to the fore and it is left to the system integrator’s choice of assumptions that drive critical business interfaces which severely handicaps manufacturers from building accurate production/procurement plans even within their own organization (forget about Tier 1 supplier’s supply chain and beyond).</p><p>Conventional planning systems that plan future orders and forecasts for suppliers fail to capture the nuances while planning and fall short of enabling a trusted relationship between the manufacturer and its suppliers.</p><p><strong>Limitations of ERP Advanced Planning, Multi-tier ERP Systems or Best of Breed solutions</strong></p><p>There are some really, cool Supply Planning solutions in the market with phenomenal optimization engines and impressive set of capabilities that could potentially be a solution for the supply planning challenges.</p><p>However, the humongous time and effort, it takes to make them successful is so daunting that manufacturers end up questioning the value of such Best of Breed optimization engines and abandoning at the validation stage itself.</p><p>Planning engines that come with ERPs also are yet to prove their abilities in addressing the planning needs of a diverse ecosystem of ERPs for the same reason as their host ERPs.</p><p>Multi-tier ERP architecture or centralized ERP have to some extent alleviated the problems for affiliated ERP systems but once we have more than a few types ERPs then planning becomes infeasible using both standard ERP dedicated Advanced Planning Engines or multi-tier datawarehouse type Advanced Planning engines.</p><p><strong>So what is the solution?</strong></p><p>Clearly, there is a crying need to provide an enterprise view to the supply base so that cohesive messages can be communicated with suppliers and relationships strengthened using processes that can unify the enterprise, create common vocabulary and harmonize the data across the different plants/ERP systems of the OEM for the suppliers.</p><p>Manufacturer’s have recognized this gap in their systems and processes and have attempted to solve the issue in a few different ways.</p><ul><li><strong>Structural approaches: </strong>One of the things that large manufacturer’s have attempted to implement is to charter a central procurement organization. While the structural change helped streamline processes it fell short in the scope of operations. In areas where individual plants continued to maintain the relationship, neither the new structure nor the current ERP systems were able to bridge the gaps with suppliers.</li><li><strong>Systemic approaches: </strong>Combined with a central procurement organization, companies implemented a single procurement system which ensured that all contracts were managed centrally. While the common structure and a single procurement system improved operational processes, the supply constraint visibility and planning issues continued to remain because of the underlying ERP differences and suppliers continued to get ambiguous guidance and multiple directions from the same manufacturer leaving suppliers confused and unsure.</li></ul><p>The need for a common platform to improve visibility &amp; planning is starting to emerge and a realization for supply professionals tackling this problem that the current systems and strategies are not adequate to bridge this gap.</p><h4>Need for an Enterprise Supply Platform</h4><p>Every plant might have certain unique conventions and every ERP has its limitations. Any solution to drive visibility through the supply chain, needs to recognize these differences and bridge differences through a common enterprise vocabulary for items, suppliers &amp; contractual terms. This allows for an apple to apple comparison and ensures that when two plants place a demand on a supplier for the future it is understood clearly and the supplier is able to commit capital and resources needed to achieve that shared vision.</p><p>The Enterprise Supply Platform will need to provide that unified view of the enterprise to suppliers and vice versa and can thus be a key enabler for companies wanting to achieve supply excellence while driving confidence among suppliers to invest and co-create the vision that the manufacturer plans to achieve.</p><h4>Core capabilities of an Enterprise Supply Platform</h4><p>The Enterprise Supply Platform would have the following key capabilities to bridge the differences among ERP systems and processes in the plants of large manufacturing organizations.</p><ul><li>An ability to harmonize processes across plants</li><li>Ability to align plant level nomenclature differences</li><li>Ability to collaborate and contract centrally with suppliers</li><li>Ability to anchor collaboration with supply facilities (both internal and outsourced) as well as external downstream suppliers over all the critical tiers of supply across all plants throughout the enterprise.</li><li>Ability to plan both direct and indirect material critical to production</li><li>Ability to plan over not just the current year but also into the future</li></ul><p>The Enterprise Supply Platform will clearly be the strategic nerve center for supply planners striving to better the performance of suppliers to meet their customer needs.</p><h4>Supply Platform: Where does it fit in the Enterprise Fabric</h4><p>The following diagram provides a bird’s eye view of how the Enterprise Supply Platform will interface with other systems in the Enterprise Architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GlB7qES28AqIcXclXC3sTw.png" /></figure><p>The Enterprise Supply Platform has a very vital role to play in not just being the core optimization engine for supply planning but also providing analytical, visualization and collaborating tools for supply planners while integrating across diverse ERPs/systems &amp; geographies for the OEM.</p><h4>Approach — How do we build it?</h4><p>The core components of an Enterprise Supply Portal will be:</p><ul><li>A knowledge graph that captures the end to end supply chain</li><li>A planning engine that will help plan for not just the current season but also for the future</li><li>An integration layer that will integrate the supply platform with the broader enterprise fabric</li><li>An orchestration layer that will coordinate the information flows and maintain currency in the plans and execution</li><li>An Data layer that will provide the tools to store retrieve and analyze data for Enterprise Data Scientists</li><li>An Visualization layer that allows business users to monitor and act on the insights</li></ul><h4>What are your next steps?</h4><p>Covid-19 was a very painful wake up call for many Supply Chain Practitioners. Let us no longer be constrained by systems and processes to keep customers happy and suppliers aligned.</p><p>Do you have trust issues with your suppliers? Do you have challenges committing a delivery dates to your customers? Engage with us in a free 1 hour consultation and make an assessment of your supply chain. Contact the author to see how you can benefit from our expertise.</p><p>About the Author</p><p><em>Guruprakash Rangavittal is a seasoned architect and strategist with depth in Business Transformations, Process Improvement, Operational Excellence, Cloud &amp; Big Data Technologies &amp; Business Planning.</em></p><p><em>Guru has a BE in Electronics &amp; Communication Engineering from Anna Univ, (Guindy, Chennai) an MBA (Finance) from IIM, Lucknow and an ME (Supply Chain) from MIT, Boston. Guru can be reached at gprakash@alum.mit.edu.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acd269913b76" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>