Introducing and developing AI agents
Your company's own work will not disappear. A company without work that is distinctively its own has nothing that sets it apart.
AI agents carry out that work in your place, including the judgement.
A person entrusts generative AI with the scope of authority and responsibility that the person holds.
Contents
What we do
We develop AI agents specialised in your company's work, to make that work more efficient. We combine them with RAG and connect them to your internal systems.
Q1What kind of work can be entrusted to AI agents?
Work that involves judgement. It is because generative AI exists that judgement can be entrusted. This is the biggest difference from automation up to now.
The thinking
Automation up to now (RPA and the like) traced the steps a person had decided. It stops when a situation outside those steps arises. AI agents carry out human work in a person's place, including the judgement. They receive a goal, call the external tools they need, evaluate the results and decide for themselves what to do next.
| Automation up to now | AI agents | |
|---|---|---|
| Who decides the steps | A person (fixed in advance) | Generative AI (judged on the spot) |
| Unexpected situations | It stops | It reads the situation and changes how it proceeds |
| Work it suits | Repeating the same steps every time | Work that involves judgement |
How to build it
The criteria for judgement are given in advance by a person, as prompts. Examples of work to entrust:
| Department | Example | Where judgement comes in |
|---|---|---|
| Accounting | Read an invoice PDF → link it to transaction data in the internal database → create the invoice → ask a manager for approval on Slack | Matching against transaction data; checking that the contents are in order |
| Sales | Connect to calendars and match the team's free time against the customer's proposed dates → after agreement, book a meeting room and set up the video call | Which of the proposed dates to choose |
Work that takes effort, is done repeatedly and needs a judgement each time is well suited to AI agents.
Q2Is it safe to leave work that allows no mistakes, such as invoices, to AI?
We cannot guarantee zero mistakes. But they can be greatly reduced by the way the system is built.
The thinking
Generative AI producing incorrect content (hallucination) cannot be avoided in theory. The same is true of people. Just as work is not organised on the assumption that people never make mistakes, checks are built in for generative AI on the assumption that it will make them.
How to build it
- Define the form of the output at each step, and check that output
- Always structure the data after a PDF has been through OCR (JSON, for example). This makes it easier to check item by item
- Define formats for amounts, dates and customer IDs, validate them and reject invalid values
- Check bank transfers and the like twice. If one generative AI is not enough to be sure, have another one check as well
- Use different generative AIs for the role that creates and the role that checks
- Prepare a separate safety mechanism that can stop the process even if a hallucination occurs
There is a case in which multiple layers of checks were added to invoice processing and practical mistakes were kept at zero for three months. However, a record of zero for three months and never making a mistake in the future are two different things.
Q3What safety measures are needed when connecting AI agents to internal systems?
The most important thing is how you think about authority. An AI agent is a person entrusting generative AI with the scope of authority and responsibility that the person holds.
The thinking
AI agents can make judgements. Those judgements are made within the authority of the person who entrusted the work, and that person bears responsibility for the results.
| Principle | Details |
|---|---|
| The scope that can be entrusted | Up to the scope of authority and responsibility that you yourself hold. Authority you do not have cannot be entrusted to an AI agent either |
| Who decides what to entrust | The person who holds that authority and responsibility |
| How to decide | Weigh the efficiency of the work against the risk when a mistake occurs. Even an operation that cannot be undone may be entrusted if efficiency is judged to outweigh the risk. There is no uniform line |
| Responsibility | Responsibility for the results of what was entrusted remains with the person who entrusted it |
How far to entrust is not a question of technology; it is a judgement made by the person who holds authority over that work.
How to build it
Once the thinking is settled, it is built into a mechanism.
The connection uses MCP (Model Context Protocol). It is a common set of rules for AI to exchange information with external databases and business applications, an open standard created chiefly by Anthropic. Like a USB-C port, it lets an invoicing system and other companies' AI agents all connect through a single entry point.
With the added convenience comes added risk. An MCP server is a relay point between tools, so measures are layered on the assumption that even the internal network is not to be trusted.
| Measure | Details |
|---|---|
| Authentication | Adopt multi-factor authentication |
| Permission settings | Ensure that the AI agent cannot act beyond the scope of authority held by the person who entrusted the work |
| Records | Store execution logs as append-only. This makes it possible to trace afterwards what was executed under whose authority |
| Input inspection | Inspect the contents of prompts to prevent prompt injection (an attack that uses special wording to make the AI malfunction and reveal internal information) |
| Human approval | Operations that the person entrusting the work has decided to check personally are executed only after approval |
Q4What needs to be decided when developing an AI agent?
Decisions are needed for each of three layers. The most important is the agent layer, which carries the business logic.
The thinking
The purpose of an AI agent is to support the work. Using generative AI is not itself the purpose. So the focus is on how to get the work done, rather than on which generative AI to choose or where to run it.
How to build it
| Layer | Analogy | What to decide |
|---|---|---|
| LLM layer | The brain | Which generative AI to use. Besides performance: how strong it is in Japanese, its cost, and whether it meets your company's compliance requirements |
| Agent layer | Business logic | How to bring in your company's information (RAG over internal documents, FAQs, regulations and so on). How to connect to internal APIs, databases and SaaS. How to build agents for each usage scenario |
| Execution environment layer | Infrastructure and operation | Where to run it (cloud or your own servers). Which logs to monitor. Who is given which scope of authority. The design of operations |
Q5Why do projects fail to move from a proof of concept (PoC) to production?
There are two reasons: the desired results are not being produced at all, or they are produced but fall short of the accuracy the work requires. In both cases the biggest cause is the same: the data needed to produce the desired results has not been loaded as RAG.
| Reason | State | |
|---|---|---|
| Functional | The desired results are not produced | Items the work needs are missing from the output in the first place |
| Non-functional | Accuracy falls short | The items are all there, but the accuracy and quality are not good enough to use in the work |
The thinking
Systems that use AI differ in nature from ordinary system development. An ordinary system, once built, behaves as intended. When AI is involved, the system may behave as intended and still not produce the results you want to use. Working, and producing results usable in the work, are two different things.
Generative AI answers general knowledge at a high level. When it does not produce the results the work needs, it is because it does not have the data specific to that work. The starting point is to work backwards from the results you want and ask whether the necessary data has been loaded.
How to build it
The first thing to check is whether the data needed to produce the desired results has been loaded as RAG.
| Step | What to check |
|---|---|
| 1 | Write down, item by item, the results the work needs |
| 2 | Check whether the data needed to produce those items is in RAG. If it is missing, load it |
| 3 | With the data in place, verify accuracy. Compare processing time, error rate and staff satisfaction before and after introduction, in numbers |
| 4 | Repeat verification and correction until the desired results are produced |
When moving ahead, choose work with clear KPIs and a high degree of routine, and run it small within a limited scope. If it goes well, expand the data in RAG and increase the usage scenarios. After going into production, new data and unforeseen cases keep appearing, so continue adding data and making improvements.
Q6Should we introduce AI agents straight away?
We do not recommend it. Start by getting work done with prompts.
The thinking
AI agents are an extension of prompts. One prompt gets one piece of work done. Those prompts are connected together. When the connected prompts come to run automatically, that is an AI agent. Without the prompts that form the foundation, you cannot build the agent alone.
How to build it
- Use prompts to hand many pieces of work to generative AI and make them more efficient
- Connect prompts together (prompt chains) to cover a wide range of the work
- Inputs and outputs become clear. From here it leads to AI agents
Try it in the actual work first, and then consider how to build the AI agent. This order turns out to be the shortcut.
Watch the videos (in Japanese)
Our representative, Tomoyasu Ohba, discusses these topics on the YouTube channel “システム開発のリアル:発注者向け解説” (The Reality of System Development: Explained for Clients). The videos are in Japanese.
Case studies
Jigyosaisei.com: our proprietary RAG-powered AI agent searches Google for "business turnaround" every morning → extracts high-quality articles using evaluation logic → instantly applies the persona and related information pre-set in RAG → generates an article and publishes it immediately, a fully automated one-stop pipeline.
Our products

PENPIT
A platform that makes it easy to build mechanisms that automate work by connecting prompts.
- Prompt chains are easy to build. You can put into practice, exactly as described, the approach of getting one piece of work done with one prompt and connecting prompts to hand over a wide range of the work
- What you build can be used not only in your own company but also provided to other companies
- PENPIT itself can be used through an API, so it can serve as an AI agent
- AI agent functions can be registered and used. Your company's AI agents can also be registered (support planned for 2026)

Pen no Soyokaze
An AI agent that prepares information to publish on a website. Set the writer's position, the intended readers, the tone and the purpose, and it writes text to match.
- Continuously prepares information to publish on your company's website
- Going forward, as a GEO measure, it will be able to prepare the information AI search needs in question-and-answer form
- Can be registered in PENPIT as an AI agent function