basicmath journal
§ AI & Products ·

The AI Agent Frontier (February 2025 Edition): A Complete Guide for Executives and Engineers, from Business Use to the Tech Stack

33 min readMachine-translated draft
SummaryA 30-second read
  1. AI agents are next-generation AI that assess situations on their own and plan and carry out tasks to reach a goal, and businesses are already putting them to practical use.
  2. Gartner predicts that by 2028 AI agents will make 15% of day-to-day work decisions autonomously, and that 33% of enterprise software will include them.
  3. To succeed, start small with a PoC, build security, ethics and operations monitoring (AIOps) into the setup, and design how people and AI work together.
15%
Day-to-day work decisions made autonomously by AI agents by 2028 (Gartner forecast)
33%
Enterprise software using AI agents in 2028 (under 1% in 2024)
20%
Organizations using AI to flatten their structure by the end of 2026 (Gartner forecast)

This article is for:

  • Business leaders in the tech industry who want to know the latest trends in AI agents and where they are heading
  • DX leads and product managers considering AI agents for their own business
  • AI engineers and developers interested in the technology and frameworks for building AI agents
  • Anyone at a company considering AI agents who wants concrete use cases and key points for adoption

Introduction: The Arrival of “Autonomous AI” That Will Reshape How We Work and Do Business

Our business environment is changing faster than ever. In these turbulent times, strengthening competitiveness and raising productivity are challenges that companies can no longer put off. Against this backdrop, you have probably been hearing the term “AI agent” more and more.

This is not AI that simply does what it is told. It is a next-generation AI technology that, much like a person, assesses situations on its own and plans and executes complex tasks to reach a goal. You might think, “Isn’t that science fiction?” But AI agents have already moved beyond the research stage, and businesses are steadily putting them into practice. They are evolving fast, and their impact could be big enough to fundamentally change how we work and how companies operate.

In this article, we answer questions such as:

  • “What exactly is an AI agent? How is it different from traditional AI?”
  • “What is happening in the market right now? Which companies are ahead?”
  • “Which tasks can it be used for? What results can it deliver?”
  • “What technology does it take to build one? What tools are available?”
  • “What should we watch out for when adopting it? What are the keys to success?”

We cover these comprehensively and clearly, with the latest information and concrete examples.

Chapter 1: What Is an AI Agent? The Basics

Let’s start with the basic meaning of the term “AI agent.”

Defining an AI Agent

There are several definitions, but the research firm Gartner defines an AI agent as

“autonomous or semi-autonomous software that applies AI techniques to perceive, make decisions, take actions and achieve goals in digital and physical environments.”

To put it more simply, it may help to think of it as “an AI program that thinks and acts on its own.” Specifically, it has the following characteristics:

  • Perception (sensors):
    • It understands the situation from many sources, such as text, voice, images, information on the internet and internal databases.
  • Decision-making (reasoning engine):
    • It decides “what to do” based on the information it has gathered, its existing knowledge (knowledge base) and what it has learned.
    • An LLM (large language model) often serves as this “brain.”
  • Action (actuators):
    • It takes concrete actions based on its decisions.
    • For example, it generates text, sends emails or operates other software (such as RPA).
  • Autonomy:
    • Rather than always waiting for human instructions, it acts independently with a degree of discretion.
  • Learning:
    • It learns from experience and becomes smarter and more efficient over time.
  • Adaptability:
    • It changes its behavior flexibly as its surroundings or goals change.
  • Goal orientation:
    • It moves tasks forward on its own toward a given goal (for example, “complete the business trip arrangements” or “write a market research report”).

The Decisive Difference from Traditional AI

Some readers may wonder, “How is this different from chatbots or RPA (robotic process automation)?”

  • Traditional chatbots and RPA:
    • They mainly automated specific routine tasks by following predefined rules or scenarios (scripts).
    • People had to give detailed instructions, and they struggled with unexpected situations.
  • AI agents:
    • Beyond fixed rules, they use advanced AI such as LLMs to understand situations, then decide, plan and act on their own.
    • The key difference is their “agency” (initiative), which lets them handle more complex, non-routine tasks where conditions change.

Table: Traditional AI systems vs. AI agents

Aspect Traditional AI systems AI agents
Autonomy Within programmed limits Autonomous decisions and actions based on the environment
Learning Fixed, rule-based Continuous learning and adaptation
Interaction One-way processing Two-way communication (such as dialogue)
Problem solving Specialized in specific tasks Can handle multiple tasks and complex problems

In this way, AI agents take traditional automation tools a step further and could take on or support complex knowledge work in a more human-like way.

AI agents are no longer just a concept. The market is taking off quickly, and competition among the major players is heating up.

Gartner on the Importance and Future of AI Agents

The research firm Gartner has named AI agents (agentic AI) the top strategic technology trend for 2025, underscoring their importance. Gartner expects the spread of AI agents to have a major impact on businesses and organizations, and in reports and predictions released around October 2024 it laid out the following outlook:

  • Changes in decision-making:
    • By 2028, 15% of day-to-day work decisions are predicted to be made autonomously by AI agents without human involvement (almost 0% as of 2024).
    • This suggests AI will move beyond simple tasks into work that requires judgment.
  • Spread into software:
    • The use of AI agents in enterprise software is also expected to rise quickly.
    • It is predicted to jump from under 1% in 2024 to 33% in 2028, pointing to a future in which AI agents are a standard part of many business applications.
  • Impact on organizational structure:
    • As AI automates task management and performance monitoring, organizational structures are also expected to change.
    • By the end of 2026, 20% of organizations may use AI to flatten their structure, significantly changing the role of today’s middle managers or eliminating more than half of those positions.

These Gartner predictions strongly suggest that AI agents are more than a technology trend: they could transform corporate decision-making, the nature of software and even organizational structure itself.

Note: These Gartner predictions are based on official releases published around October 2024, including “Gartner Top Strategic Technology Trends for 2025” and “Gartner Reveals Top Predictions for IT Organizations and Users in 2025 and Beyond.”

The Giants Moving the Market: Strategies of the Major IT Companies – Ecosystems and the Battle for Dominance

On the main battlefield of the AI agent market, the tech giants are fighting fiercely for dominance, each playing to its strengths. Their strategies show clear differences as well as shared aims.

Strategy Comparison of Major IT Companies

Company Strengths and features Strategic direction
Microsoft Azure cloud platform, Office integration, enterprise sales strength, Copilot brand recognition Ecosystem strategy: stronger integration with existing products built around Copilot. Encourages companies to build their own solutions with Copilot Studio. Provides the platform on Azure.
Google Powerful LLM (Gemini), search technology, AI research and development, Android/Chrome ecosystem AI technology leadership and general-purpose capability: developing high-performance agents built on Gemini and search technology. Focus on improving general capabilities such as multimodality, long-term memory and web navigation.
Amazon (AWS) Dominant cloud infrastructure (AWS), a wide range of AI models and tools (Bedrock), customer base Platform strategy: offers many options on Bedrock and provides an environment where companies can build and run the AI agents that suit them best. Strengthens its position as an infrastructure provider.
Meta Open-source LLM (Llama), huge user base, influence on the developer community Open-source strategy: provides a high-performance LLM (Llama) for free to energize the developer community. Aims to lead in the core technology for building AI agents.
OpenAI Cutting-edge LLM development, first-mover advantage with ChatGPT, strong API ecosystem Cutting-edge technology and API-led: pushes GPT model performance and gives developers an advanced foundation through its API. Also focuses on enterprise customization and stronger safety.
Anthropic Emphasis on safety and ethics, high-performance LLM (Claude), partnerships with major IT companies (Google, AWS, MS) Balancing safety and performance: focuses on making Claude models more reliable and capable. Strengthens agent capabilities such as GUI operation and expands support for enterprise adoption.
IBM Deep understanding of the enterprise market, industry knowledge, consulting capability, watsonx brand Enterprise focus: built around the watsonx platform, provides AI agent features specialized for core business operations and DX support. Emphasizes reliability and governance.
Salesforce / Oracle / SAP Core businesses (CRM/ERP/SCM), vast customer data, industry-specific business knowledge Integration into existing business: deeply embeds AI agent features in their main applications to improve customer experience and efficiency. Optimized for specific business processes.
NEC / Panasonic and others (major Japanese companies) Understanding of the Japanese market, strengths in specific industries (manufacturing, social infrastructure, etc.), existing customer base Specific fields and the Japanese market: develops and provides AI agents and solutions for industries where they are strong and for domestic needs. Also draws on their own internal experience.

Note: The table above is based on information as of April 2025. Each company’s strategy and the timing and content of its services may change. Please check the latest official information.

Analysis: What the Major IT Companies Are Aiming For

  • Why these strategies?
    • Building ecosystems: Microsoft, Google and AWS are embedding AI agents into their clouds and existing services (Office, Android, AWS services) as hubs, aiming to keep users inside their own ecosystems.
    • Leadership through open source: By open-sourcing Llama, Meta is drawing in the developer community and securing influence over the core technology of AI development. This resembles Google’s Android strategy.
    • Differentiation through cutting-edge technology: OpenAI and Anthropic aim to lead on the performance and safety of the LLMs themselves, and to establish their market position through API access and partnerships with large companies.
    • Strengthening existing businesses: Salesforce, Oracle, SAP, IBM and others are integrating AI agents into their core enterprise software and services to increase the value they deliver to customers.
  • Strengths and weaknesses:
    • Strengths: Competitive advantage depends on factors such as having a cloud platform, the volume and quality of data held, the scale of AI R&D investment, the existing customer base and brand power, and the reach of the ecosystem.
    • Weaknesses: These include a lack of domain expertise (general-purpose AI companies), weak synergy with existing businesses (specialized AI companies), the size of the developer community, and concerns about safety and ethics.
  • Different directions:
    • General-purpose vs. specialized: Google and OpenAI are aiming for AI agents with more general capabilities, while SAP, Oracle, NEC and others focus on agents specialized for particular industries or business processes. Microsoft appears to be pursuing both.
    • Platform vs. application: AWS and Microsoft Azure emphasize their role as a “platform” that offers a variety of AI models and tools so companies can build agents freely. Salesforce and SAP, by contrast, mainly deliver agents built into their own applications.
    • Open vs. closed: Meta (Llama) pursues an open-source strategy to grow its ecosystem. OpenAI and Anthropic, on the other hand, basically follow a closed strategy of offering high-performance models through APIs (though they also offer some open-source models). Google and Microsoft use both approaches.

This battle for dominance is not just a technology race. It is a contest over who will control the foundation of tomorrow’s digital society.

Challengers of a New Era: Notable Startups and Their Strategies – Niches and Disruptive Innovation

While the big IT companies move the market as a whole, startups with innovative technologies and ideas keep appearing in the AI agent space, each trying to carve out its own position.

Strategy Types of Notable Startups

Startup strategies vary widely, but the following types are common:

  • Vertical focus:
    • Examples: Sierra Technologies (customer service), Hippocratic AI (healthcare), Qventus (hospital operations)
    • Strategy: They specialize deeply in a particular industry (healthcare, finance, retail, etc.) or business process and provide AI agents that solve problems specific to that field. Their strengths include high accuracy based on industry knowledge and data, and the ability to meet regulatory requirements. They appear to aim at delivering deep value in niche markets that large companies tend to overlook.
  • Infrastructure and tooling:
    • Examples: Adept AI (action model foundation), Writer (generative AI platform for enterprises), DeepSeek (open-source LLM), Replit (AI development environment)
    • Strategy: Rather than AI agents themselves, they provide the underlying technology for building and running agents (AI models with specific capabilities, development platforms, low-code tools, etc.). They appear to aim at helping developers and companies build better agents more easily. Many of them take an open-source approach.
  • Novel applications:
    • Examples: Luma Labs (video generation AI), x.AI (support for scientific discovery)
    • Strategy: They apply AI agent technology to new fields where it has rarely been used (creative work, scientific research, etc.) to drive disruptive innovation. Their competitive edge comes from specific technical breakthroughs and original ideas.
  • Developer tools and low-code:
    • Examples: Dify.ai, Replit AI
    • Strategy: They reduce the complexity of building AI agents and provide tools and platforms that let more developers, and in some cases non-developers, build and use agents. They appear to aim at democratizing development.

Analysis: Startup Strategies and Their Potential

  • Why these strategies?
    • Because startups cannot match the resources of large companies, they try to build a competitive edge with strategies such as digging deep into a specific niche market (vertical focus), establishing a unique technical advantage (infrastructure, novel applications) and lowering the barrier to development (developer tools).
  • Strengths and weaknesses:
    • Strengths: Deep expertise in a specific area, speed in decision-making and development, first-mover advantage in niche markets, specific technical breakthroughs.
    • Weaknesses: Fundraising, scalability, intensifying competition with large companies, market awareness, hiring talent.
  • Differences from and coexistence with large companies:
    • Startups can deliver value in specialized areas that large companies cannot fully cover, or through more experimental and disruptive approaches.
    • In the future, competition and coexistence are likely to advance together, for example with startups’ specialized agents running on big companies’ platforms, or large companies acquiring promising startups.

Amid the competition and collaboration between big IT companies and startups, the AI agent market as a whole is likely to move in the following directions:

  • Deeper technology:
    • Multi-agent systems: Instead of a single all-purpose agent, systems in which several specialized agents work together to handle more complex tasks may become mainstream.
    • Greater ability to act: We will see more agents that do not just process information but act on the real world, such as operating software or controlling physical devices.
    • Multimodality and long-term memory: Agents that understand text, images, voice and more in an integrated way, and that can hold conversations and carry out tasks based on long-term context, will become the standard.
  • Changes in market structure:
    • Fiercer platform competition: AWS Bedrock, Microsoft Copilot Studio, Google Vertex AI and others will keep competing to be the foundation (platform) that offers a range of models and tools.
    • General-purpose and specialized agents side by side: General-purpose agents for everyday tasks will coexist with specialized agents optimized for particular industries and processes, and users will choose between them depending on the purpose.
    • The role of open source: Open-source models and frameworks such as Llama will continue to play an important role by speeding up innovation, lowering development costs and offering a way to avoid dependence on a single company.
  • Challenges to overcome:
    • Ethics and governance: As AI agents become more autonomous, ensuring transparency, fairness and accountability in their decisions will be the most important challenge for gaining public acceptance. Regulatory developments such as the EU AI Act also need close attention.
    • Security: New attack methods aimed at increasingly advanced and autonomous AI agents may emerge, so security measures must be continually strengthened.
    • Talent development: Developing and securing people who can build, manage and use AI agents (employees with AI literacy, AI agent administrators, AI ethics specialists, etc.) is an urgent task for companies and society as a whole.

Toward Collaboration Between People and AI

Rather than fearing AI agents as something that will take away human jobs, we should see them as partners that extend human abilities and let us focus on more creative, higher-value work. AI handles simple tasks and information gathering and analysis, while people evaluate the options AI presents, make the final decisions, and bring the empathy and creativity that AI finds difficult. This kind of “collaboration between people and AI (hybrid intelligence)” may be exactly what we should aim for in the age of AI agents.

Chapter 3: The Front Line of AI Agent Adoption and Services: What Major Companies Are Doing (February 2025 Edition)

AI agents are no longer a technology of the future. They are already producing concrete results in business. Here, based on the latest information, we summarize adoption cases of AI agents at major companies and trends in the AI agent services that companies have launched or plan to launch.

  • Efficiency and cost reduction are the main goals: Many deployments aim to make existing work more efficient and cut costs, such as shortening the time spent writing meeting minutes (KDDI, Microsoft), reducing inventory management costs (Toyota), reducing maintenance costs (Hitachi) and reducing hiring costs (IBM).
  • Use of AI specialized for specific tasks: Companies are deploying AI tools and systems focused on solving specific problems, such as fraud detection (MUFG Bank), predictive maintenance (Hitachi), inventory management (Toyota), robo-advisors (SBI Securities) and hiring (IBM).
  • Wider use of generative AI: Agents powered by generative AI are increasingly used to support communication and generate content, for example for meeting minutes (KDDI), email drafts (SoftBank) and customer support (Zendesk, Rakuten Ichiba).
  • Integration with existing technology: Some cases boost results by combining AI with existing technologies such as IoT sensors (Toyota, Hitachi), RPA and OCR, rather than using AI alone.

Adoption Cases at a Glance

Company Industry Tool / system Main results
Toyota Motor Manufacturing AI/IoT-based inventory and SCM optimization system Helped cut inventory costs and improve ordering efficiency
Hitachi Manufacturing Predictive maintenance system “WisSight” Helped lower failure rates and cut maintenance costs
MUFG Bank Finance AI fraud detection system Helped raise fraud detection rates and lower false positives
SBI Securities Finance Robo-advisor “WealthNavi” Achieved a 14% investment return (16 months), lowered management fees to 1% (returns may reflect results under specific periods and conditions)
Rakuten Ichiba E-commerce AI chatbot system Helped streamline inquiry handling and reduce the workload of staffed support
Zendesk Customer support Support system with integrated generative AI Helped shorten ticket handling time and raise the automatic resolution rate
KDDI Telecommunications Automatic meeting minutes AI “Gijiroku Pakkun” Greatly shortened time to write minutes (e.g., from 1 hour to about 10 minutes), reduced document writing effort (e.g., 40% reduction)
SoftBank Diversified Generative AI agent “satto” Helped with email writing and made scheduling more efficient
IBM Human resources watsonx Orchestrate Helped automate and streamline hiring, shorten the hiring cycle and reduce costs
Microsoft Software Microsoft 365 Copilot (including Agents) Helped automate meeting minutes and make task management more efficient

In addition to using AI agents internally, major IT companies in particular are accelerating the launch of AI agent services and development platforms that other companies can use. Services launched or planned for 2024 to 2025 show the following trends.

  • Major cloud vendors are entering: Major cloud vendors such as AWS, Microsoft and Google have launched or strengthened AI agent platforms and services that run on their own clouds.
  • General-purpose vs. industry-specific: While agents with general capabilities from companies like OpenAI and Google are advancing, AI agent services specialized for particular business domains (ERP, CRM, SCM, finance, healthcare, etc.) are also emerging from companies like SAP, Oracle and NEC, and the market may split into two camps.
  • Integration into existing services: There is a clear move to add AI agent features to core business applications such as Salesforce (CRM), Oracle (Cloud Apps) and SAP (ERP) to increase their value.
  • Multimodality and long-term memory: Multimodal capabilities that handle images and voice as well as text, and the ability to remember long conversation histories and context (for example, 2 million tokens in OpenAI Operator), have become important technology trends.
  • Development platforms: Beyond finished services, more platforms let companies build and customize AI agents for their own needs (for example, Microsoft Copilot Studio, AWS Bedrock and Salesforce Einstein Agent Cloud).
  • Launches concentrated in a short period: Many services are scheduled to launch or roll out fully between late 2024 and 2025, suggesting that the market could take off all at once.

Services Launched or Planned at a Glance

Company Service / tool Launch (planned) Overview
OpenAI Operator General release planned for 2025 An evolution of ChatGPT. Action-oriented AI that can operate devices. Carries out tasks such as travel booking on its own. Multimodal, long-term memory.
Google Project Jarvis Limited testing from December 2024 AI agent integrated into Chrome. Works across multiple tabs, compares prices and makes recommendations. Built on Gemini 2.0.
Microsoft Agentic World (working name) / 365 Agents April 2025 (sold with devices) A system of multiple cooperating AI agents. Meeting support (interpretation, minutes, task management) and more.
NEC AI agents for specialized work To be rolled out by the end of fiscal 2025 Specialized AI for specific fields such as finance and healthcare. Proprietary neural network technology for handling confidential information.
Amazon Web Services Multi-agent platform October 2024 A set of autonomous enterprise agents built on Bedrock. Automates customer service and more. Interoperable with other clouds.
IBM Watson Orchestrator Q1 2025 Decision support AI for enterprise DX. Suggests KPI optimizations across ERP and CRM. More than 1,000 business templates.
Oracle Cloud Applications AI agents September 2024 A set of task-specific AI agents (more than 50) for HR, accounting and SCM. Native integration with Oracle Cloud Apps.
Salesforce Einstein Agent Cloud October 2024 (Japan) Customizable CRM-focused AI platform. Track record of a 23% increase in customer close rates in sales support. Drag-and-drop builder.
SAP Joule AI agents September 2024 Business automation AI integrated with ERP. Financial accounting processing 70% faster than before. Linked to real-time inventory management and demand forecasting.
Panasonic Go Agent To be announced at CES 2025 IoT-linked AI for manufacturing. Achieved 99.95% accuracy in detecting production line anomalies. Integrates materials informatics technology.

Note: The table above may include information released before official announcements, code names, research projects and feature enhancements within existing services. Service names and launch dates in particular may change, so please check the latest official information.

These adoption cases and service trends show that AI agents are steadily spreading through business and are becoming essential to raising productivity and competitiveness.

Chapter 4: Behind the Scenes of AI Agent Development: The Tech Stack and Notable Frameworks

AI agents are not magic. Behind them are a range of underlying technologies and frameworks that support development.

Key Technologies Behind AI Agents

Building an AI agent mainly involves the following technical elements working together:

  • Large language models (LLMs):
    • They are the core of natural language processing (the ability to understand and generate human language). Leading examples include OpenAI’s GPT series, Google’s Gemini, Anthropic’s Claude and Meta’s Llama.
    • As the agent’s “brain,” they understand instructions, make plans and generate responses.
  • Retrieval-augmented generation (RAG):
    • When an LLM’s own knowledge is not enough (for example, for the latest information or company-specific information), this technique searches external databases and documents for relevant information and generates a response based on it.
    • This makes up for the limits of an LLM’s knowledge (how current and specialized it is) and improves the accuracy and reliability of its responses (reducing hallucination, the problem of producing plausible falsehoods).
  • External knowledge and tool integration (API integration):
    • This is the technology that lets an AI agent use interfaces (such as APIs) to connect with external web services (weather forecasts, stock prices, booking sites, etc.) and internal systems.
    • It greatly widens what an agent can do.
  • Sensor technology:
    • Technology that takes in information from outside in many forms, including not just text but also speech recognition and image recognition.
  • Actuator technology:
    • Technology that lets an AI agent act on the outside world, not only by generating text but also by operating other software (such as RPA) or controlling IoT devices.
  • Programming languages:
    • Python, with its wealth of AI and machine learning libraries, is widely used to build AI agents.
    • TypeScript, which works well with web applications, is also drawing attention, especially for web-based agents.

Notable Development Frameworks

Many frameworks have appeared to help developers combine these technical elements and build AI agents efficiently. Here are a few representative ones (we do not intend to recommend any one in particular).

  • Mastra (TypeScript):
    • A full-stack framework that works well with web technology (TypeScript) and provides, in one package, the features needed to build AI agents (workflows, RAG, evaluation, LLM integration, memory, tool integration, etc.).
    • It is a strong choice especially for embedding agents in web applications or for teams that want to use TypeScript from front end to back end. Detailed logging and debugging are also among its features.
  • LangChain (Python/JS):
    • A pioneer among AI agent frameworks. Its strengths are its many tool integrations, support for a variety of models and an active community.
    • It is well suited to R&D and to integration with existing Python-based machine learning assets. It is highly flexible but has a somewhat steep learning curve.
  • Microsoft AutoGen (Python/.NET):
    • It specializes in building “multi-agent systems” in which multiple AI agents talk to and cooperate with each other to solve complex tasks. It also integrates easily with Microsoft Azure.
  • crewAI (Python):
    • Like AutoGen, it focuses on multi-agent collaboration, but it offers a higher-level API and aims to make tasks such as assigning roles to multiple agents relatively easy.
  • MetaGPT (Python):
    • A multi-agent framework specialized in supporting the software development process. It aims to automate everything from requirements definition to code generation and testing.

How to Choose a Framework: Criteria and Use Cases

Which framework you choose is an important factor in whether development succeeds. You need to weigh not just the number of features but also the project’s goals and your team’s situation.

Specific Criteria to Consider

When choosing a framework for building AI agents, consider the following points:

  • Programming language:
    • Consider the language your team knows best and compatibility with your existing code.
    • For teams strong in TypeScript, Mastra, and for teams strong in Python, LangChain, AutoGen, crewAI and MetaGPT are leading candidates.
  • Strong tasks and features:
    • The best framework depends on the kind of AI agent you want to build and the features you care about most.
    • Web app integration and fit with web technology: Mastra is written in TypeScript and works smoothly with modern web stacks such as Next.js and Vercel.
    • Breadth of tool and model integrations, community support: LangChain stands out for its many proven integrations and active community.
    • Multi-agent collaboration: If you want several AIs to divide and coordinate complex tasks, AutoGen and crewAI are built for that.
    • Software development support: If you want to automate the development process itself, MetaGPT is a candidate.
  • Framework maturity and stability:
    • Newer frameworks have the latest features but may still be developing.
    • LangChain is relatively mature, with a long track record and plenty of information, but it evolves quickly, so you need to keep up.
    • Mastra is relatively new but under active development. Check each framework’s release status and community activity.
  • Learning curve:
    • The more features a framework has, the longer it may take to learn.
    • Because LangChain has so many features, it may take some time to grasp the whole picture and master it.
    • Mastra is said to have a relatively simple API and a tendency toward a gentler learning curve, although you still need to get used to new concepts.
  • Developer experience (DX):
    • Ease of development and the quality of testing and debugging features directly affect productivity.
    • Mastra is designed with developer experience in mind, with features such as an interactive development playground and detailed tracing.
  • Low-code/no-code support:
    • A growing number of tools let teams with limited programming skills start building AI agents.
    • Services from AWS, Azure, Google Cloud and others (described below) may support GUI-based development.
  • Integration with existing infrastructure and services:

Fit by Use Case (Examples)

Based on the criteria above, here are examples of frameworks suited to specific use cases.

  • You want to add an AI chatbot to a web app:
    • Mastra: A strong choice because it is written in TypeScript, works well with web technology and integrates easily with Next.js and similar tools.
    • LangChain (JS version): Lets you develop in JavaScript and is relatively easy to embed in the front end.
  • You want to do Python-based R&D or make the most of existing machine learning assets:
    • LangChain (Python version): Its strong integration with the Python ecosystem and many tool and model integrations speed up R&D.
  • You want to build a system in which multiple AI agents cooperate on complex tasks (for example, simulating a market research team or a software development team):
    • AutoGen: Strong at defining dialogue and coordinated behavior among multiple agents.
    • crewAI: Aims to make it easy to describe agent roles and task assignments with a higher-level API.
  • You want to automate processes such as requirements definition, design and code generation in software development:
    • MetaGPT: Provides features specialized for the software development life cycle and suits this purpose.
  • You only want to implement very simple Q&A or chat features:
    • You may not need a feature-rich framework: In some cases, a simple implementation that calls an LLM API directly (for example, the OpenAI API or Claude API) is enough.
  • You have little AI programming experience but want to try AI agents or run a PoC:
    • No-code/low-code tools: Services such as Azure AI Agent Service and Agents for Amazon Bedrock let you create agent prototypes relatively easily through a GUI.
    • Frameworks with a rich development environment: Frameworks that offer environments that are easy to try locally, such as Mastra Playground, are also useful for quick experiments at the PoC (proof of concept) stage.
    • Dify.ai: Platforms that let you build workflow-based AI apps (including agents) with low code are another option.

These are only examples. Choose the best framework by weighing the specific requirements of the AI agent you plan to build, your team’s skill set, budget, future scalability and other factors. If possible, we recommend running small PoCs with a few candidate frameworks to compare the actual development experience and performance.

Chapter 5: The Road to Adoption and What to Watch Out For: Overcoming Challenges to Succeed

AI agents have great potential to bring revolutionary change to business, but there are also challenges to overcome in adopting and running them. Understanding both the bright side and the dark side, and moving through adoption carefully and strategically, is the key to success. This chapter explains in detail the main challenges in development and operation, concrete countermeasures, and practical points for successful adoption.

Main Challenges in Development and Operation, and Concrete Countermeasures

The autonomy and learning ability of AI agents make them convenient, but they also create new risks. Let’s look at the main challenges and the countermeasures currently being considered.

Security Risks and Countermeasures

  • Challenges:
    • Data leaks (learning from or processing confidential information), adversarial attacks (for example, prompt injection, which feeds malicious prompts to an AI to make it behave in unintended ways) and misuse (sending spam, abuse for unauthorized access).
  • Countermeasures:
    • Encrypting data (at rest and in transit) and implementing strict access control and authentication.
    • Preventing prompt injection by sanitizing and validating inputs.
    • Running regular vulnerability assessments and security audits.
    • AI TRiSM (AI Trust, Risk and Security Management): It is effective to adopt this comprehensive framework, proposed by Gartner for managing the trust, risk and security of AI, and to take countermeasures across the entire development and operation process.
    • Ongoing security training for developers and operators.
  • Challenges:
    • Bias: The risk that prejudices in training data (about gender, race, age, etc.) lead to discriminatory decisions or outputs.
    • Inaccurate output and hallucination: The phenomenon of AI generating plausible but false information that is not based on fact.
    • Intellectual property infringement: The risk that AI-generated content infringes existing copyrights and other rights.
    • Regulatory non-compliance: Compliance with relevant laws, such as Japan’s Act on the Protection of Personal Information.
    • Unclear responsibility: When an AI’s decision or action causes harm, it is unclear who (developer, operator or user) bears responsibility and to what extent.
  • Countermeasures:
    • Latest methods for addressing bias:
      • Adversarial testing: Identify potential areas of bias (for example, atypical queries such as “female CEO” or “older engineer”) and deliberately generate diverse counter-samples to test the fairness of responses (for example, Microsoft AutoDev).
      • Counterfactual fairness analysis: Compare responses using hypothetical profiles with attributes (gender, age, etc.) flipped, and quantify the differences (for example, using the IBM AI Fairness 360 toolkit).
      • Trends in audit systems: For AI platforms such as those offered by Salesforce, the importance of audit features that continuously monitor for bias emerging during operation (drift) has been highlighted.
      • Direction of testing: When offering services globally, evaluation with test benches that reflect diverse cultural and regional contexts is needed.
    • Verifying and explaining output:
      • RAG (retrieval-augmented generation): Have the AI show the sources behind its answers (internal documents, trusted websites, etc.) to increase reliability.
      • Introducing verification processes: For output tied to especially important decisions, set up a flow in which people check and approve it.
      • Explainable AI (XAI): Research and development is under way on technology that presents the reasons behind an AI’s decisions in a form people can understand.
    • Addressing responsibility:
      • Clarifying legal liability: Under the EU AI Act and similar rules, there are moves to define the scope of responsibility of developers, operators and users (for example, inadequate measures to prevent intentional misuse as the developer’s responsibility, and failure to meet monitoring obligations as the operator’s responsibility). Companies need to watch the latest regulatory developments and build a compliance system.
      • Trends in AI liability insurance: To address the new risks that come with AI use, major insurers such as Allianz have begun considering or offering insurance solutions that cover AI-related liability risks, and ways to transfer risk are starting to appear.
    • Latest debate and legal developments:
      • Who is legally responsible for the results of decisions made by AI (developer, operator or user) has become a major issue worldwide.
      • Specific risk scenarios, such as misdiagnosis by AI that supports medical diagnosis or discriminatory decisions by AI hiring systems, are being considered, and countries are discussing new laws and guidelines.
      • As actual court decisions (case law) accumulate, the approach to sharing responsibility is likely to become clearer, so it is important to follow these developments.
    • Trends in technical solutions:
      • Technology to improve explainability and transparency: Researchers are studying approaches that increase transparency and auditability with technology that makes it possible to track and record an AI’s decision-making process (for example, exploring applications of blockchain technology).
      • Technology to help identify responsibility: Analytical methods and algorithms are being explored to identify the cause and scope of a problem in a complex AI system and clarify who is responsible (for example, applications such as impact analysis).

Reliability Risks and Countermeasures

  • Challenges:
    • Black-box behavior (opaque decision processes), unexpected behavior (unintended actions caused by complex interactions) and the complexity of multi-agent systems.
  • Countermeasures:
    • Using XAI technology, making behavior visible through the logging and tracing features that frameworks provide (for example, Mastra), introducing anomaly detection systems, and continuous stress testing and evaluation are all important.

System Integration and Operational Risks and Countermeasures

  • Challenges:
    • Data consistency and performance problems when integrating with existing systems, loss of accuracy as training data becomes outdated, higher system load and costs from advanced processing, and mechanisms for collecting and acting on user feedback.
  • Countermeasures:
    • Adopting standard APIs, building a data integration foundation, regularly retraining and evaluating models, designing for load balancing and auto-scaling, establishing feedback loops, and considering training specialists such as AI trainers.

Remaining Challenges

While these countermeasures are advancing, some challenges are still hard to solve.

  • Cross-border allocation of responsibility: Liability issues when the location of AI servers differs from the applicable jurisdiction, such as with cloud use (for example, the goal of creating a common framework within APEC).
  • Unpredictability of emergent behavior: The possibility that unexpected emergent behavior arises as multiple AI agents interact (for example, the development of a simulation platform at the Kyoto University AI ethics research institute).
  • Quantifying ethical trade-offs: Setting AI decision criteria for situations where values collide, such as “saving lives vs. protecting privacy” (for example, the IEEE P7008 standardization work).

Addressing these challenges will require not only technical development but also discussion and rule-making across society as a whole.

Keys to Successful AI Agent Adoption

Given these challenges, companies need a comprehensive approach that covers not only technology but also processes, organization and governance to adopt AI agents successfully.

A Careful Start with a PoC (Proof of Concept)

Before full adoption, it is extremely important to run a PoC to verify effectiveness and spot risks early.

  • PoC steps:
    • Clarify goals and scope: Set the specific business problem or goal you want to solve with AI, and limit the scope the PoC will test (start small).
    • Define requirements and prepare data: Define the functional and performance requirements needed for testing, and prepare the data needed for training and evaluation (cleansing, annotation, etc.).
    • Select or develop the agent: Consider using an external service, building in-house or using cloud services to meet the requirements, then develop and trial a prototype.
    • Test and evaluate: Evaluate performance against specific scenarios and check how well requirements are met, and whether there is inaccurate output or hallucination. Evaluation by human experts is also important.
    • Analyze results and identify issues: Analyze the test results and clarify the level of achievement, issues and areas for improvement. List the points to consider for full adoption (integration, operation, security risks, etc.).
  • PoC evaluation points:
    • Efficiency gains: How much effect can be expected against the goals set.
    • Cost-effectiveness: The balance between adoption costs and the expected benefits (lower labor costs, higher productivity, etc.).
    • Technical feasibility: Whether integration with existing systems and infrastructure requirements can be achieved.
    • Risks and countermeasures: The risks that surfaced, and the feasibility and cost of countermeasures.
    • User acceptance: Feedback from the employees and customers who will actually use it, and ease of use.

Steps and Key Points for Full Adoption

Once the PoC has confirmed effectiveness, move to full adoption with the following steps:

  • Reconfirm clear goals: Based on the PoC results, define specific goals and KPIs for full adoption.
  • Full-scale development and build: Reflect what you learned in the PoC and build the full system step by step, for example with agile development.
  • Choose the right technology and tools: (See the previous chapter.) Select the best model, framework and platform considering goals, requirements, skills, budget and future potential.
  • The importance of a data strategy: Carry out a strategy for collecting, managing and improving the quality of data. Using RAG requires a well-prepared database to search.
  • Establish system integration: Connect with existing systems while ensuring data consistency and performance.
  • Implement robust security measures: Put multiple layers of protection in place, such as data encryption, access control and audit logs.
  • Establish security and governance: Create and communicate ethical guidelines and operating rules for AI use, and make sure they are followed.
  • Design how people and AI work together: Clearly separate the work left to AI from the work people should do, and design collaborative processes that make the most of human strengths (empathy, creativity, final judgment, etc.).
  • Internal rollout, training and talent development: Train employees on how to use the system and what to watch out for, and raise AI literacy. Also plan reskilling to prepare for changing roles.

Management and Monitoring for the Operations Phase (AIOps)

When deploying and running many AI agents, it becomes extremely important to build a management and monitoring system (AIOps: AI Operations) that differs from traditional system operations.

  • Why AIOps matters:
    • Maintaining and improving reliability: Because AI behavior changes with learning and with changes in its environment, you need continuous monitoring to catch inappropriate behavior early, and retraining and tuning to maintain and improve performance. In multi-agent systems (MAS), unexpected problems caused by interactions are also monitored. Apply the AI TRiSM approach to operations as well.
    • Risk management: Continuously monitor and assess security risks (data leaks, misuse, etc.) and legal and ethical risks (bias, inaccurate output, etc.), and take countermeasures.
    • Efficient operation and cost control: Centralize status monitoring, log management and updates for many agents, and optimize resources (computing power) according to load to improve cost efficiency.
    • Accountability and governance: Build a system that can account for the actions of AI agents through logging and by making the reasons for decisions visible.
  • Key points for building the operating system:
    • Monitoring: Design what to monitor (performance, accuracy, error rates, resource usage, security logs, etc.), how to detect and report anomalies (thresholds, anomaly detection models), who responds and how (incident response flow), and which tools to use (Azure Monitor, AWS CloudWatch, etc.).
    • Maintenance: Define how often and through what process to retrain models, update data and apply security patches, and the people required (data scientists, AI engineers, etc.).
    • Risk response plan: For each expected risk scenario (information leaks, hallucinations, etc.), set out concrete countermeasures, a correction process and an emergency contact system.
    • Responsibility: Clearly name the people responsible for AI agent operations, security and ethics, and set rules on where final responsibility for AI-driven decisions lies.

Continuous Improvement and Adapting to Change

  • Establish a loop that collects and analyzes operational data and user feedback, identifies improvements and puts them into practice.
  • Because AI technology advances rapidly, you need to keep up with the latest information and respond flexibly to new technologies and risks.

Tips for DX Leads

  • Start small and expand step by step: Recognize the importance of the PoC and move forward while keeping risks in check.
  • Keep the goal clear: Make sure AI adoption does not become a goal in itself, and always keep in mind the purpose of solving business problems and creating value.
  • Work with experts inside and outside the company: Work not only with AI engineers but also with a wide range of stakeholders, such as business units, IT and legal.
  • Build adaptability: Foster an organizational culture and processes that can respond flexibly to technological progress and market changes.

Consider Using Subsidies

Gather information on subsidy programs that may be available for AI agent adoption, such as Japan’s IT Introduction Subsidy, the Monozukuri Subsidy and local governments’ DX subsidies, and consider using them. (Applying may require help from specialists.)

Conclusion: Toward a Future Created Together with AI Agents

AI agents are not just efficiency tools. They can become powerful partners with the potential to transform how we work, how we do business and how society as a whole functions. The arrival of AI agents that think, learn and act on their own may mean we are on “the eve of a revolution,” where science fiction becomes reality. It is not certain whether 2025 will be “year one of AI agents,” but there is no doubt that their adoption will accelerate.

Of course, adopting them brings technical, ethical and legal challenges. But if we face these challenges sincerely and use AI agents under proper governance, they should bring immense benefits. What matters is not to see AI agents as a mere “replacement,” but to take the view of “collaboration (hybrid intelligence)”, in which people and AI each bring their strengths and work together.

We hope this article helps you understand AI agents better, explore their potential and take a step toward the future.

Q&AQuestions and answers

What is an AI agent?
Gartner defines it as autonomous or semi-autonomous software that applies AI techniques to perceive, make decisions, take actions and achieve goals in digital and physical environments. Put simply, it is an AI program that thinks and acts on its own.
How are AI agents different from traditional chatbots and RPA?
Chatbots and RPA automate routine work by following predefined rules or scripts. AI agents use LLMs and other advanced AI to understand a situation, then decide, plan and act on their own, so they can handle non-routine tasks where conditions change.
How fast is the AI agent market expected to grow?
Gartner predicts that the share of enterprise software using AI agents will rise from under 1% in 2024 to 33% in 2028, and that 15% of day-to-day work decisions will be made without human involvement.
Which framework should I choose to build AI agents?
Choose based on your team's main language and your goal. Mastra suits TypeScript teams, while LangChain, AutoGen, crewAI and MetaGPT suit Python teams. AutoGen and crewAI are built for multi-agent collaboration, and MetaGPT for automating software development.
How should a company start adopting AI agents?
Before full rollout, run a PoC (proof of concept) with a narrow scope to test effectiveness and risks, define goals and KPIs, then expand step by step. In operation, AIOps monitoring, security and governance, and a clear split of roles between people and AI are essential.

Contact

Talk to us about data use, AI analysis platforms and strategy reports.

Contact →