AI Native Development

The utilization of AI technologies, such as GitHub Copilot, can potentially change the work of engineers within development teams, ultimately affecting the architecture. This document describes the potential impact that AI-native development approaches can bring.

Context is Key

When AI technologies such as GitHub Copilot are introduced into the development environment and process, there are various fields to consider. Development teams need to be more aware of the context for faster development speed. It is important to consider the technical and business contexts included in your program. Although this is not a new topic, with the advent of AI, it is worth considering these two contexts again in their respective contexts, as they can affect architecture and an engineer's career.

In addition, there are high-context and low-context areas in every context. For example, in coding, writing code for simple tasks that can be repeated or tasks that can ultimately be reached regardless of who writes them may be done simply by pressing the Tab key as GitHub Copilot suggests. However, in areas that require high context, simply pressing the Tab key will not produce any results. These areas require experience and knowledge in specific technical areas, and are not easily mastered.

Technical Context

Let's consider several programming languages to think about technical context. Some languages, such as Python, have a common way of expressing things when writing, while other languages, such as Ruby, offer a variety of expressions for writing the same thing. The scope of the language is also a concern. There are languages, such as BASIC, that have a global scope as the basis, and there are also many languages with a narrow scope. The mechanism of references and borrowing in Rust, for example, is a typical example of high technical context. Furthermore, at the framework level, these contexts can be stacked on top of each other.

Business Context

The same applies to the business domain. Let's consider SQL, a database language. AI is good at simple tasks and is suitable for implementing routine expressions in SQL. If you only need to define access to a database in a simple application implementation, you may need less context. However, when dealing with complex and interwoven large databases, it may be difficult to be confident that the code generated by AI does not affect other processes. Understanding the overall architecture and having knowledge of the actual logic may be necessary. The same applies to testing; AI is good at writing tests along with given scenarios, but it may be difficult to consider comprehensive test scenarios. API tests for a simple REST API with CRUD functionality can be easily written, but it may be difficult for AI to write tests for an application with complex authorization conditions.

AI Native Architecture

How much context exists in the architecture of the function/application you manage? If there is a lot of context in the architecture, utilizing AI for development may decrease the speed. This is because the context that LLM can understand is limited, and it is not possible to simultaneously provide a large amount of context to AI. This is partly due to the upper limit of the number of tokens that can be provided, but also due to the fact that humans cannot provide all information in a form that is AI-readable. In a sense, AI can work indefinitely if prompts are continuously provided. On the other hand, the time humans can give prompts to AI is limited. In this case, the bottleneck in development becomes humans. Therefore, it is advisable to consider reducing the context of the function/application so that AI can write the correct program without humans having to provide a wide range of context.

It is a good idea to divide services into small units with sparse relationships. However, what I am referring to is not about microservices in the context of Kubernetes. Any design you consider, including separation at the SOA or library level, is fine. What is important is to divide components into simple and testable units. The more contexts an application has, the less likely it is to receive support from AI.

There are sometimes religious wars about the appropriate size of programs, and AI-assisted development is still in its early stages, so there is no exact answer. However, considering the maximization of engineer productivity and the shortest possible growth of the product, it is worth considering a development approach or architecture based on GitHub Copilot in your team.

However, it is important to remember that IT architecture should not be designed with the sole purpose of maximizing engineer productivity. Engineering should always exist as a means to achieve the ultimate goal.

We hope that you will actively participate in discussions in this field.

Outlook on an Engineering Career

So far, we have touched on the potential for AI to bring changes to architecture and development culture. Now, it is important to also consider the career of engineering. This is a consideration not only for engineers themselves but also for those in managerial or organizational positions.

Ultimately, engineers need to think about whether they want to aim to become engineers with a wide range of business product knowledge or engineers with highly advanced technical skills. However, the problem is that there are low-context and high-context areas in both of these.

For example, when it comes to coding, writing processes such as those that involve repeating simple tasks or writing code that will eventually lead to that process, regardless of who writes it, may simply involve pressing the tab key in response to suggestions by GitHub Copilot. On the other hand, areas specified in technical or business contexts require a high level of context. These areas require experience and knowledge in specific technical fields, and are not easily acquired. Even if the knowledge is available on the internet, catching up can still be challenging. However, if the knowledge is limited to a specific organization, is not documented, or if obtaining the information incurs a high cost, catching up can be difficult.

This is not limited to coding, but AI tends to enhance people with knowledge and experience. This means that advanced workers may end up losing their jobs to newcomers. If left unchecked, newcomers will not be able to do important work in the organization or expect to see growth in their skills. The skills of advanced workers will further increase, making it difficult for the organization to maintain them, and it will also become difficult to keep newcomers who are only doing boring work that advanced workers cannot do due to time constraints.

So, what should be done? One answer is to compile technical and business information in products and organizations into contextual documents and nurture them internally. When many people participate in creating these documents, co-creation occurs, and the company's knowledge database is built. Now is the time for internal collaboration similar to open source.

Checklist

Last updated