# GSoC'26 Discussion : AI Chatbot to guide user workflow

**URL:** <https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151>\
**Category:** GSoC\
**Tags:** gsoc\
**Created:** [February 7, 2026, 5:54am UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151 "2026-02-07T05:54:58Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![RashiV](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@RashiV](https://community.jenkins.io/u/RashiV)\
**Post date:** [February 7, 2026, 5:54am UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/1 "2026-02-07T05:54:58Z")

</div>

Hi everyone,

My name is Rashi Verma. I am 2nd year Computer Science student from India ,currently focused on the landscape of ML and automation, and I am highly motivated to contribute to the **AI Chatbot to Guide User Workflow** project for GSoC 2026.

Coming from a Data Science background, I have extensive experience with Python and LLM orchestration (specifically RAG and context-aware prompting). However, I recognize that the soul of Jenkins is Java. I am not here just to build a standalone model; I am here to build a _Jenkins tool_.

I am currently:

1. **Bridging the Gap:** Actively learning the Jenkins Extension Point system and Stapler framework to ensure the AI integration is native and performant.

2. **Studying the Core:** Familiarizing myself with Jenkins Pipeline syntax to improve the chatbot’s accuracy in guiding user workflows.

3. **Ready to Work:** I am looking for a ‘good first issue’—ideally one involving the UI or the Python-Jenkins API—to prove my technical competence within the ecosystem before the proposal period begins.

I look forward to discussing how we can make Jenkins more intuitive through AI.

Best regards,

Rashi Verma

---

<div class="post-metadata">

**Author:** ![krisstern](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/krisstern/32/824_2.png) [@krisstern](https://community.jenkins.io/u/krisstern)\
**Post date:** [February 7, 2026, 10:20am UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/2 "2026-02-07T10:20:09Z")

</div>

Hi @RashiV, Welcome to the Jenkins community!

Regarding the language use of the user chatbot project, you can probably ombine both Java and Python in a Jenkins plugin by using Java for the plugin structure (extending `Builder` or `Step`) and using the `Launcher` API to execute Python scripts, or by employing tools like `Py4j` for direct inter-process communication. This allows leveraging Java’s Jenkins API access while utilizing Python’s libraries. But we are open to alternatives too like using **[Shared Libraries](https://www.google.com/search?q=Shared+Libraries&oq=how+to+combine+java+and+python+in+the+same+jenkins+plugin%3F&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigATIHCAMQIRigATIHCAQQIRigATIHCAUQIRigATIHCAYQIRiPAjIHCAcQIRiPAtIBCTEzMzg3ajBqN6gCALACAA&sourceid=chrome&ie=UTF-8&mstk=AUtExfCBe5pQ6KPH0k0Gsg1guQoEdCfEe3peM-h9mQQm2Wb2pdSSqSvWpRnzLhOxufeOy9Bmg6FqiJIFJieMTPbPJynz7Lrw-vTQqLRipVIbKDJoBPflcj-1RAfBMseTym4nSGFfXsoZFTs-NHE5TL_5NFhNC3O1p_SU6-NLKRPXt2_4PcQ&csui=3&ved=2ahUKEwjphui4k8eSAxXmzTQHHTQ-KqwQgK4QegQIBxAB)** to create a wrapper around some Python scripts, providing a higher-level, safe API for the plugin.

---

<div class="post-metadata">

**Author:** ![RashiV](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@RashiV](https://community.jenkins.io/u/RashiV)\
**Post date:** [February 7, 2026, 2:42pm UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/3 "2026-02-07T14:42:06Z")

</div>

Thanks @krisstern for the detailed feedback .

For the AI Chatbot

project, I’m currently leaning toward an approach that prioritizes stability and long-term maintainability. While Py4J enables powerful object-level IPC, a Launcher API–based, process-oriented design feels more Jenkins-native and predictable, especially with respect to agent compatibility and operational safety.

**Proposed approach:**

**Phase 1 (Launcher API PoC):** Build a minimal, structured Java→Python bridge using the Launcher API with explicit input/output contracts (e.g., JSON over stdin/stdout). This establishes a stable baseline that works across agents and environments.

**Phase 2 (Py4J evaluation):** Explore Py4J only if we identify concrete limitations where tighter, stateful interaction is clearly beneficial and justifiable.

I’m currently setting up JDK 21 and Maven using `my-first-plugin` and will share a technical update once the initial Java↔Python handshake via the Launcher is working.

Do you have any specific security constraints I should keep in mind while I build the Launcher PoC?

---

<div class="post-metadata">

**Author:** ![krisstern](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/krisstern/32/824_2.png) [@krisstern](https://community.jenkins.io/u/krisstern)\
**Post date:** [February 8, 2026, 5:00am UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/4 "2026-02-08T05:00:00Z")

</div>

Could you please elaborate what you meant by Launcher API?

Alternatively we can use combined Java and Python plugin by:

1. **Embedding Python with Jython**
2. **Executing Python scripts as a build step**

---

<div class="post-metadata">

**Author:** ![RashiV](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@RashiV](https://community.jenkins.io/u/RashiV)\
**Post date:** [February 8, 2026, 11:32am UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/5 "2026-02-08T11:32:45Z")

</div>

Thank you @krisstern for the guidance.

**By Launcher API** , I specifically mean using the `hudson.Launcher` class within the plugin to start Python as an external sub-process (on the controller or agent), with communication via well-defined input/output streams.

**Regarding the alternatives you mentioned:**

- **Jython:** I’m inclined to avoid this path since it is limited to Python 2.7 and does not support the modern Python 3 ecosystem required for AI/LLM tooling.

- **Executing Python as a build step:** This is a viable option, though I’m exploring whether a dedicated plugin-level bridge (using Launcher) would allow a more integrated “AI guide” experience while still keeping Python isolated from the JVM.

**Work Update:** I’ve verified my local plugin setup and extension points are functioning correctly. My next step is to prototype the Python bridge using the Launcher approach.

You can see my verified “Hello World” output below.

Please let me know if this interpretation of the Launcher API aligns with your expectations, or if you would recommend a different direction at this stage.

 ![Screenshot (233)](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/3X/3/e/3e19ac6602bdaa1acd94e448b4fa668f9bcd3d3e.png)

---

<div class="post-metadata">

**Author:** ![krisstern](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/krisstern/32/824_2.png) [@krisstern](https://community.jenkins.io/u/krisstern)\
**Post date:** [February 8, 2026, 1:56pm UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/6 "2026-02-08T13:56:52Z")

</div>

So it sounds like maybe something like [Python Jenkins — Python Jenkins 1.8.0 documentation](https://python-jenkins.readthedocs.io/en/latest/) would be useful for your proposal

---

<div class="post-metadata">

**Author:** ![RashiV](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@RashiV](https://community.jenkins.io/u/RashiV)\
**Post date:** [February 11, 2026, 1:40pm UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/7 "2026-02-11T13:40:32Z")

</div>

Progress Update: Jenkins Pipeline & python-jenkins Implementation

Respected @krisstern **,**

Please accept my apologies for the delay in my response. I wanted to ensure I had a fully functional environment and concrete implementation results to share with you before getting back to you.

Over the past few days, I have successfully:

- **Modernized Jenkins Setup:** Configured a Jenkins environment (LTS 2.479.1) with full **Pipeline** support. I successfully resolved several configuration hurdles to get the **Pipeline Stage View** and **Pipeline REST API** plugins working seamlessly.

- **Pipeline Implementation:** Authored and executed a `Jenkinsfile` to understand the lifecycle of a build. I’ve attached a screenshot of my **Stage View UI** showing a successful multi-stage execution.

- **python-jenkins (v1.8.0) Integration:** I’ve begun programmatically interacting with my local instance. I have successfully implemented and tested:

This hands-on work has given me a clear understanding of how the `python-jenkins` library acts as a wrapper for the REST API.

As a next step, would you recommend diving deeper into advanced python-jenkins capabilities, or should I start drafting the high-level architecture for the proposal based on these findings?

Thank you again for suggesting python-jenkins — it has been very helpful so far.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/3X/8/a/8a74df24b0e9557113a003ed0dcaf10d08862ef3.png)

---

<div class="post-metadata">

**Author:** ![RashiV](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@RashiV](https://community.jenkins.io/u/RashiV)\
**Post date:** [February 14, 2026, 12:20pm UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/8 "2026-02-14T12:20:54Z")

</div>

Respected @krisstern **,**

I’ve been diving deeper into **LlamaIndex** to build out the project’s backend. After successfully running a basic local RAG loop, I realized that simple vector search often loses the context needed for complex Jenkins logs.

To solve this, I’m currently exploring **Recursive Retrieval** using `IndexNode`. I’m learning how to link smaller text chunks to their parent nodes so the model can see the broader paragraph when it finds a specific error match.

For the integration, I’m sticking with **`python-jenkins`** via REST API for now. It feels more decoupled way to handle logs and metadata via API tokens while I’m still in the prototyping phase.

As I refine the proposal, should I focus on keeping this as a decoupled service, or is there a preference for it to eventually be more tightly integrated with the Jenkins core?

---

<div class="post-metadata">

**Author:** ![RashiV](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@RashiV](https://community.jenkins.io/u/RashiV)\
**Post date:** [February 20, 2026, 1:51pm UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/9 "2026-02-20T13:51:15Z")

</div>

Hi @krisstern ,I have some updates from the past few days regarding my project\*\*.\*\* I have successfully implemented a platform-aware diagnostic agent. Below is the refined structure of my progress and current roadmap.

**Technical Architecture:**

My system utilizes a **Decoupled Agentic RAG** framework to ensure zero performance overhead on the Jenkins Controller.

- **Backend** : **FastAPI** serving as the core orchestrator and session manager.

- **Data Layer** : **python-jenkins** integration for real-time fetching of `consoleText` and build metadata.

- **Logic Engine** : **LlamaIndex** with a `RouterQueryEngine` to intelligently switch between:

- **Reasoning** : Powered by `llama-3.3-70b-versatile` (Groq), utilizing a custom LLM Factory via `Settings.llm` for future-proofed model swapping.

### Practical Implementations: “The System DNA”

I have implemented a **Heuristic Engine** that automates context gathering without manual user input:

- **OS Syntax Anchoring** : Automatically detects Agent OS (Windows vs. Linux) from log path patterns (e.g., detecting `C:\` vs `/var/`).

- **Response Enforcements** : Strictly enforces platform-specific syntax (e.g., `bat` for Windows builds, `sh` for Linux) to eliminate technical hallucinations.

- **Structured Output** : Response schema designed to provide a **Root Cause** , **Evidence** (quoted logs), and a **Technical Fix**.

### Challenges & Debugging Logs:

- **Cross-Platform Hallucinations** :AI suggested Linux commands for Windows agents. **Solved** by anchoring the system prompt to the detected “DNA” OS tag.
- **Context Overload** : Large logs exceeding token limits. **Solved** by implementing a `HierarchicalNodeParser` to chunk logs while maintaining parent context.

In the attached prototype demonstration, the agent correctly identifies a Windows-specific failure (Exit Code 9009) and suggests a valid `bat`-based remediation.

This demonstrates that the system has moved beyond generic log summarization into environment-aware executable diagnostics.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/3X/0/6/065d46809e747eaf96cb43bccf6d37f16c2050c0.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/3X/0/b/0be8ef2e093031ffc31bef6bbc8e5975b93f7da3.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/3X/a/3/a31e2884d08f88d7e07505c693e7f9e03d963b80.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/3X/8/0/802bbd9829677329e4a018b26848e1686f4cc460.png)

**Phase 2 :**

I am now moving into the **Environmental Sensitivity** phase:

1. **Plugin-Awareness (Active)**: Integrating logic to check the controller’s installed plugins via API. The AI will only suggest tools that the system actually possesses.

2. **Multi-Job Context Analysis** : Implementing a **“Success-Failure Diff.”** The agent will compare the last successful build with the current failure to pinpoint exactly which change caused the break.

## Multi-Job Context Strategy:

For the upcoming “Success-Failure Diff” implementation, I’m evaluating two prioritization paths:

1. Git commit diffs

2. Jenkinsfile configuration diffs

My current inclination is to prioritize Jenkinsfile configuration diffs first, as CI failures often stem directly from pipeline definition changes. However, Git diffs could provide broader regression context..

I would really value your thoughts on whether this direction aligns with the long-term vision for Jenkins AI tooling, and any guidance on the next steps.

Best regards,  
Rashi Verma

---

<div class="post-metadata">

**Author:** ![RashiV](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@RashiV](https://community.jenkins.io/u/RashiV)\
**Post date:** [March 9, 2026, 4:37am UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/10 "2026-03-09T04:37:15Z")

</div>

Hi @krisstern , @shivaylamba

I am planning the architecture for the AI Chatbot and I have a question regarding the environment.

To use LlamaIndex and Python’s ML libraries effectively, I am proposing a **FastAPI microservice** that communicates with the Jenkins Java plugin via a **REST API**.

My question is: Does the Jenkins community prefer this Python service to be something the **user installs locally** alongside their Jenkins controller, or should the plugin connect to a **remote, centralized API** hosted by the project?

I want to ensure my proposal handles the ‘Dependency’ problem (requiring the user to have Python) in a way that aligns with Jenkins’ standards.

---

<div class="post-metadata">

**Author:** ![sharma-sugurthi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/sharma-sugurthi/32/20125_2.png) [@sharma-sugurthi](https://community.jenkins.io/u/sharma-sugurthi)\
**Post date:** [March 9, 2026, 5:16am UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/11 "2026-03-09T05:16:14Z")

</div>

Hii @RashiV

As a contributor to the `resources-ai-chatbot-plugin`, I wanted to confirm that this ‘AI Chatbot to guide user workflow’ project is one of the ‘future enhancements’ we discussed in the recent community post.

the features mentioned here (like guiding users through complex pipelines) are high priority said by @berviantoleo . It’s great to see you bridging the gap between Python (for the AI/LLM part) and Java (for the Jenkins core).

if you need any clarification on the current plugin architecture or specific Jenkins Extension Points to make this work, feel free to ask…

---

<div class="post-metadata">

**Author:** ![berviantoleo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/berviantoleo/32/13999_2.png) [@berviantoleo](https://community.jenkins.io/u/berviantoleo)\
**Post date:** [March 9, 2026, 5:37am UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/12 "2026-03-09T05:37:26Z")

</div>

@sharma-sugurthi

Please be aware that this discussion is a different project from`resource-ai-chatbot-plugin.`

- AI Chatbot to Guide User Workflow

> **[AI Chatbot to Guide User Workflow](https://www.jenkins.io/projects/gsoc/2026/project-ideas/ai-chatbot-to-guide-user-workflow/)**
>
> Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software

- [Continue AI-Powered Chatbot for Quick Access to Jenkins Resources](https://www.jenkins.io/projects/gsoc/2026/project-ideas/continue-ai-powered-chatbot-for-quick-access-to-jenkins-resources/)

---

<div class="post-metadata">

**Author:** ![RashiV](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@RashiV](https://community.jenkins.io/u/RashiV)\
**Post date:** [March 9, 2026, 10:10am UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/13 "2026-03-09T10:10:59Z")

</div>

Hi @berviantoleo and @sharma-sugurthi,

Thank you for the clarification! Yes, I am focusing specifically on the **‘AI Chatbot to Guide User Workflow’** project.

While my project is separate from the `resource-ai-chatbot-plugin`, I would learn more about the **Jenkins Extension Points** as you mentioned. Specifically, I am looking into how to best anchor a chat UI within the Jenkins Dashboard and which extension points would allow the bot to read pipeline logs for real-time troubleshooting.

---

<div class="post-metadata">

**Author:** ![sharma-sugurthi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/sharma-sugurthi/32/20125_2.png) [@sharma-sugurthi](https://community.jenkins.io/u/sharma-sugurthi)\
**Post date:** [March 9, 2026, 4:01pm UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/14 "2026-03-09T16:01:08Z")

</div>

@berviantoleo I aware that, those two are seperate initiatives. I just wanted to check if there’s any overlap in the future features (like agentic debugging or deep context) we might be able to share or align on ,so we don’t end up duplicating work, like that…

@RashiV If you are diving into those Extension Points for the Workflow bot, feel free to ping me,I would be happy to share what we have learned in the `resources-ai-chatbot-plugin` repo to help you…

---

<div class="post-metadata">

**Author:** ![124padmini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/124padmini/32/20129_2.png) [@124padmini](https://community.jenkins.io/u/124padmini)\
**Post date:** [March 10, 2026, 12:33pm UTC](https://community.jenkins.io/t/gsoc26-discussion-ai-chatbot-to-guide-user-workflow/36151/15 "2026-03-10T12:33:50Z")

</div>

Hi @krisstern and @shivaylamba 👋

My name is **Padmini** , an MTech CSE student from Hyderabad, India. I have prior industry experience at **Accenture** as a Software Engineer Associate, where I worked on **Spring Boot microservices, Jenkins CI/CD pipelines, and JUnit testing**.

I’m already an active GSoC 2026 contributor — I’ve forked the **email-ext plugin** and am contributing to the _Jenkins Email Notifications via Outlook OAuth_ project. This means I’m already comfortable with Jenkins plugin architecture, the Maven build system, and `@Extension` points.

I’d like to apply for the **AI Chatbot to Guide User Workflow** project. Having read the thread carefully, I see the core challenge is building a **robust Java plugin layer** that anchors the chat UI natively in the Jenkins Dashboard and exposes the right Extension Points — while delegating AI reasoning to a Python FastAPI service.

My focus will be on the **Java side of this bridge** , specifically:

- Implementing a native Jenkins panel using `hudson.model.Action` to embed the chat UI

- Designing the REST endpoint within the plugin that the FastAPI service calls back into

- Ensuring the plugin reads `consoleText` and build metadata using Jenkins’ internal APIs (not just python-jenkins externally)

I have a question for the mentors: Is the preferred UI approach a **Jelly-based side panel** attached to each build page, or a **global Jenkins Dashboard widget** accessible from anywhere? This will shape the Extension Point selection significantly.

Looking forward to contributing!

Best regards,  
Padmini
