Rondo
Back to List
AIAgentGemini

My First Time Making a Tool Using an AI Agent at Work

Rondo

2026-04-05

Background

About 2 weeks ago, my boss gave junior developers in the team a task.
It's about making a tool not only for us but for other teams such as QA, sales, and so on.
Why the task? To put it simply, there were some problems in our workflow.

There are three main teams related to this situation. My team(Firmware development), QA, and sales.
The overall workflow seems like this.

  1. Once we release a firmware, the QA team starts testing.
  2. During the test, the QA checks what issues are solved and what new features are added to the given firmware.
  3. After the test, the QA lets our team know what issues are not solved, happened, etc.

Looks simple? Of course it does.
All my team has to do is just keep writing down about solved issues and added features into a shared doc so the QA can follow up and make them easy to test.


Real Problem

BUT, the real problem is that our targets and OEMs are too various, making it hard for my teammates to write down about effects the code they write will have on which OEMs, target products, and so on.(I know. It's just an excuse.)

So on behalf of the QA, it's not surprising that they have trouble with tracking issues and features. For example, without the doc I've mentioned, they must check version, related issues, requested features and target products at the same time, all on their own. But since only my team can see the git log, there's no way for the QA to check them at the same time. So they always have to ask my team about that.

TL;DR
My team(Firmware team) : "It's too hard for us to keep writing the shared doc! We're busy dealing with our tasks!"
QA team : "How can we check the firmware without proper information? We need that!"

And don't forget that I've mentioned 'Sales team' above.
They always run to our team and ask 'Hey, has the feature we requested before been added to the firmware? At which version?'
Of course, it's not a big deal for us to reply. But the repetitive situation is really tiring, you know. My boss might have felt that feeling a way earlier than me.


No One to Do The Task But Me

So the task had been given to the juniors.
The task was to make a simple webpage where we can share our git log with other teams(Of course, only pre-filtered logs.)as fast as possible.

Unfortunately, other juniors were working on other important tasks. So I was the only one who could deal with this task.
If I were to have enough time, I would have done this task all on my own. But the deadline was too short and I still had other tasks, meaning I didn't have enough bandwidth.
That's why I decided to do this task only using an AI agent. To be honest, I thought that the task was the best timing to experiment an AI agent at work.


Three Personal Criteria to Use AI at Work

I use AI agents a lot for my 'personal' projects.
But I don't use that much at work, since there are three main criteria.

1. The task must be clear and pinpointed.
2. The task must be irrelevant to our base code. (I don't want AI agents mess up with the huge code base!)
3. The task must be what I can do on my own(So that I can fix problem later on.)

Fortunately, the task I was given met all the criteria. It was clear(Making a website to share information), irrelevant to our base code, could be done all on my own(I had personally learned a bit about Django and React before.)


Dive into The Task

So once I decided to use an AI agent for the task, I immediately opened Gemini-CLI(My favorite tool!).
But, before I got down to the task, there was one thing I needed to do.
I formed a structure of the tool. The tool must get git logs.

To achieve this, there were 2 ways.

  1. Get git logs through https request/response.
  2. Clone the repositories in a server we have and place the tool in the same server. Then get git logs using 'git log' command.

At first, I considered option 1. but I thought there was no reason to use http, since I expected it'd be slower than option 2, which doesn't have to use network at all. (Of course, the git server is a different server, though it's in the same network with the server I was working on.)
Option 2 had its own flaws as well. It would be bothering since I would have to clone the repositories all by myself and update it by hand when needed. But I prioritized speed over avoiding hassle. (We didn't have to always keep the logs updated.)

Next, the overall workflow was really simple.

  1. Ask Gemini-CLI to implement an exact feature.
  2. Accept the output.
  3. Run the code and check issues.
  4. If any issues found, then let Gemini-CLI know the issues and let it fix the issues.
  5. If Gemini-CLI keeps failing in finding the issues, then I fix them.
  6. ???
  7. PROFIT!!

I repetitively asked Gemini-CLI to implement features-getting logs from existing repositories, parsing them, filtering them, showing them, etc.

Example prompt: Add a dropbox to limit shown logs on each page. The range is from 10 to 100 and gap is 10. The dropbox must be located next to filter box.

And I sometimes asked Gemini-CLI to think about the project itself during the process.

'Is the project really going well?'  
'Are there any other ways to make it better?' 

I guess prompts like above played a big role in the entire system.

Maybe I could use a multi-agent framework, but I thought using a multi-agent framework would be too much for the task.
(Still, I am planning to try a multi-agent framework for my personal project.)

Anyway, after many repetitions of this flow, I finally got a decent result.

Here's a trick I love to use: When you start a project with an AI agent, tell it make a file to write down about what it has done(To track.) and check it after every single task. I think this strategy works really well. Already know this trick? Sorry.


Output

The final output met all the requirements.
Let me describe the website to you.

  • You can select repository and branch to search.
  • You can filter target product(It's possible since we write about target product in commit message.)
  • You can search based on git commit message, which contains a lot of information such as version, date, tags, what the commit is about and so on.
  • You can paginate.
  • It looks cute! (it's a shame that I can't put an image of it.)

Further detail is followed:

  • It's made of only Django(and Django template). Since there was no need to make the website CSR, I decided not to use React.
  • The way it works looks like:
  1. Clone the repository in any path.
  2. Save the path of the repository using Django-admin. Only repository path and name(identifier) needed.
  3. Get branches and logs from the selected repository based on the saved path.
  4. Since the repository doesn't update automatically, I or other teammates need to 'git pull' regularly. (I know it's annoying. But sometimes you need to hide information intentionally..)

Oh! I forgot to say. DB is sqlite, the default option of django.


Conclusion

After all, it was successful. Not only was my boss satisfied with it but both the QA and the Sales teams were as well. They were amazed by how easy the tool was to use.
Especially even for the Sales, who doesn't know about development-related things, there's no issues with using the tool since all they need to do is just to search exact version or feature they're looking for. (Surely, I've already taught them about the basic knowledge to use the tool.)
And for me, it was a fresh experience as well. I learned a bit more about how to assign tasks to AI agents and supervising it. To put it simply, it was fun!

The one thing I've learned over the task is that ability to define a problem specifically and divide a task into small steps will be essential for developers, regardless of whether they're juniors or not.

At least I think, developers who don't stop thinking will survive, no matter what happens in the future.

Thank you for reading this article.