AI-driven software development automation

From Jira ticket
to Pull Request.

AI-driven software development automation that connects Jira, Kafka, RAG, LLMs and Bitbucket into one continuous engineering workflow.

Open source Built in the open, and exercised on fintech engineering work.

github.com/RinkeshKumarSinha/GENCODEAGENT View full project source
  • 3Spring Boot services
  • 1Kafka topic · 3 partitions
  • 384dimension embeddings
  • 3tickets of RAG context
  • 1Pull Request, human reviewed

01The idea

Software development
begins with an issue.

GENCODEAGENT follows that issue through the engineering pipeline — enriching it with the context of everything the project has done before, generating an implementation, and handing a Pull Request back to a human.

The tickets it has run against are fintech work — retry handling on a payment transaction service, gift-card balance validation — though nothing in the pipeline is domain-specific. The whole system is open source.

SCRUM-7 Task

Add retry handling to the payment transaction service.

Status
IN PROGRESS
Priority
High
Project
SCRUM

02The architecture

One ticket. Three services.
One automated pipeline.

Three Spring Boot services, one Kafka topic and a vector store. Select any node to read what it is responsible for.

03The automation

Watch a ticket become
a Pull Request.

One event, eight stages, no human in the loop until review.

  1. 01JiraTicket status set to CODEGEN
  2. 02WebhookHTTP POST to webhook-service
  3. 03KafkaEvent enters jira.issue.events
  4. 04RAGEmbedded to 384 dims → pgvector
  5. 05ContextTop-3 similar tickets by cosine similarity
  6. 06GenerationGroq / Llama writes the implementation
  7. 07BitbucketBranch feature/SCRUM-7-retry
  8. 08Pull RequestOpened against master
agent trace — SCRUM-7 idle

    04The query interface

    The same index
    answers questions.

    Every ticket the pipeline embeds for code-generation context is also queryable in plain language. One vector table, two consumers: it feeds the model that writes the code, and it answers the developer who asks what the project already knows.

    rag-service :8081semantic search · grounded answer
    The GENCODEAGENT console answering “Which tickets are about C++?” in 1.15 seconds, citing SCRUM-2 at 68.2 percent and SCRUM-8 at 65.0 percent cosine similarity, with the live index of eight tickets beside it.
    A question, an answer, and the tickets it came from — each with its cosine similarity. Retrieval and generation, 1.15 seconds.

    How it is wired

    • POST /api/query embeds the question with the same HuggingFace model used for indexing — 384 dimensions, so question and ticket share one vector space.
    • Hybrid retrieval. Naming a ticket is lexical, not semantic: SCRUM-3 embeds almost identically to SCRUM-1. Any issue key in the question — a pasted Jira URL included — is looked up exactly and pinned to the front of the context; cosine neighbours fill the rest.
    • Grounding. The retrieved tickets become the prompt, and every answer ships with its sources and their similarity scores. Nothing is returned that cannot be traced to a row.
    • GET /api/tickets backs the live index panel, so the console shows exactly what the pipeline has seen.
    exact key lookup
    The same console asked about SCRUM-3, returning its summary, status, priority, assignee, reporter and description pulled from the indexed ticket.
    Ask for a ticket by key and the exact row is retrieved, not approximated.

    05Built with

    • Java 21
    • Spring Boot 3.2
    • Apache Kafka
    • PostgreSQL
    • pgvector
    • HuggingFace
    • Groq
    • Llama 3.3 70B
    • Jira Cloud API
    • Bitbucket Cloud API
    • Docker Compose
    • ngrok

    A Jira ticket is the beginning.
    The Pull Request is the output.