Engineering

Advent Calendar 2025 Day 24

Ingenuity in AI Assistants for the AGENT Builder

Yota Moegi

⭐️ This article is the 24th day of JAPAN AI Advent Calendar 2025 ⭐️

Hello, I'm Moegi, developing on the Official Agent Team at JAPAN AI. Our team handles frontend and agent feature development for JAPAN AI AGENT, an AI agent creation platform.

Recently, I've been particularly focused on the AGENT builder, which allows users to create their own AI agents.

JAPAN AI AGENT

JAPAN AI AGENT is an AI agent development and utilization platform provided by JAPAN AI.

JAPAN AI AGENTjapan-ai.co.jp

AI agents are systems that, when given a task, autonomously perform data collection, planning, and output to achieve that task. Think of Claude Code for an easy understanding.

JAPAN AI AGENT provides an agent platform usable not only by IT engineers but across all industries and sectors, tackling problem-solving in a wide range of domains.

AGENT Builder

In addition to officially prepared agents, JAPAN AI AGENT provides agent creation functionality that users can customize for their business needs. The screen responsible for this agent creation functionality is the "AGENT builder."

The AGENT builder doesn't just allow agent creation—it offers creation assistance through conversational AI assistants, enabling even those unfamiliar with JAPAN AI features or lacking prompt engineering knowledge to easily create AI agents suited to their needs.

This article explains the innovations for enabling assistants to create agents users want.

Form Integration

Previously, when having AI consider improvements to configuration items, the flow involved copying current form content and pasting it into chat, then manually reflecting AI output back into the form—a cumbersome process.

To solve this, we automatically insert form content into message context during assistant conversations, enabling the assistant to recognize form content.

We've also added functionality for assistants to automatically input settings into forms after hearing user requirements. This allows users to immediately reflect AI suggestions into forms and test agents without pasting into configurations.

Proposable configuration items range from system prompts and plugins (equivalent to Tools like external APIs and functions) that affect agent behavior, to metadata like names, descriptions, example questions, and icons—covering all settings.

Each time the assistant edits the form, differences are displayed. This works by maintaining form state for each conversation and calculating differences whenever edits occur. This allows users to confirm changes and revert with one click anytime.

Tool Suggestion for Agent Use

AI agents provide "plugins"—groups of tools (external APIs, functions, etc.) callable by agents to perform given tasks. In AGENT builder, users pre-select tools based on the agent's role, and during agent use, tools are automatically called from the selected set to perform tasks.

Currently, JAPAN AI provides nearly 200 official tools, making it time-consuming to find target tools or research capabilities.

Therefore, we introduced RAG functionality to search published tools from the assistant. Tool suggestion implementation involves two steps: data preprocessing and assistant-based search.

In data preprocessing, we collect lists of user-available tools and register them in vector DB—a preliminary processing step. To enable assistants to suggest and explain tools, we vectorize metadata like names, descriptions, and IDs from each tool. Since tool metadata is mostly in Japanese, we translate to English before vectorization to improve search accuracy.

In the assistant search step, we generate queries based on user instructions and search for relevant tools from the DB. For search, we also instruct to translate queries to English and search with multiple queries, ensuring tools are reliably found.

Through plugin suggestions, users don't need to search for tools themselves—just inputting the desired agent allows the assistant to automatically configure tools that meet objectives.

System Prompt Generation Acceleration

System prompts are crucial configuration items containing all descriptions affecting agent behavior—business flows, rules, behaviors, etc. Naturally, assistants support creation, but several challenges existed:

  • To generate high-accuracy system prompts, the assistant's own system prompt becomes lengthy
  • Using high-accuracy models makes generating long system prompts time-consuming

To solve this, we separated system prompt generation functionality into a sub-agent.

The sub-agent uses a fast model and handles only the single task of system prompt generation. Meanwhile, the parent agent (assistant) uses a high-accuracy model for generation instructions and overall control.

This configuration maintains assistant accuracy while delegating time-consuming system prompt generation to fast models, reducing overall agent creation time.

Conclusion

This article introduced AI assistant innovations in AGENT builder. Through mechanisms like form integration, automatic tool suggestions, and sub-agent acceleration, AI assistants support agent creation according to user objectives, significantly improving the creation experience. Creating agents just by talking is truly like Vibe Coding!

Thanks to this, many agents are created daily, with over 10,000 agents now existing on JAPAN AI!

JAPAN AI continues adding new features, and agents keep evolving. We'll continue making AI assistants smarter and more user-friendly, so please look forward to it!

【JAPAN AI】Product AI Engineer | 株式会社ジーニーhrmos.co