iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
📖

re:Invent 2025: Automating Coding and Designing Agentic Flows with Kiro Autonomous Agents

に公開
2025/12/10

Introduction

By transcribing various overseas lectures into Japanese articles, we aim to make hidden high-quality information more accessible. In this project, which proceeds with that concept, here is the presentation we will be covering!

For transcription articles of re:Invent 2025, information is summarized in this Spreadsheet. Please check it as well.

📖re:Invent 2025: AWS re:Invent 2025 - Designing Agent-Native Dev Teams: Coding Agents in Real Workflows (DVT226)

In this video, Kyle, Product Lead for the Kiro team, and Ben, a startup founder, explain the functions and implementation of Kiro Autonomous Agents in detail. The Kiro IDE adopts a "spec-driven" concept, where agents automatically generate everything from planning sessions to requirements, designs, and task lists. It features context management via hooks, steering files, and MCP, enabling work across multiple repositories. Through integration with GitHub, processes from issues to PRs are automated, and learning features remember developer preferences. Ben shares a case study of his company's migration from Angular 16 to 20, reporting that 80% of the work was automated. They also explain the design of agentic flows for handling petabyte-scale data, intent understanding, and the importance of ontologies, along with specific architectures.

https://www.youtube.com/watch?v=FAbm2MXYaqc

  • Note: This article was automatically generated while maintaining the content of the existing lecture as much as possible. Please be aware that there may be typos or incorrect content.

Main Content

Thumbnail 0

The Evolution of AI Development Tools: From Autocomplete to Agentic Workflows

Thank you all for joining us. It's 5:30 PM on a Wednesday, so I appreciate it. I'm looking forward to talking with you for a little while. I'm Kyle, the Product Lead for the Kiro team, and Ben is here with me as well. Hey, how's it going, everyone? Are you enjoying the conference so far? I can't really see you all, but that's fine. Anyway, I'm looking forward to it. I want to talk a lot about one of the products we launched this week, which I'm super excited about: Kiro Autonomous Agents. This is something I've been working on for over eight months.

We'll cover a lot of things. I'm sure there are people here trying to understand what this world is, people thinking about how to introduce tools into their development flow, and people building with these tools. So, I'll touch on all of these topics. I'll talk a bit about how we're building these agents and autonomous systems, what Kiro is, and how you can use it as a developer. Then, Ben will give us a fantastic deep dive into how he thinks about being "AI-first" at his startup and what that means. Let's get started right away.

Thumbnail 70

This is probably the cheapest-looking slide you'll see. Everyone says that, though. But it's pretty amazing when you realize it's only been two years. I still remember how magical autocompletion felt. CLI and function autofill were great, but the fact that you could write entire code blocks was pretty phenomenal. But then assistants appeared in 2024, and when you started chatting using system context and stopped going to Stack Overflow or Google as much, you felt, "Oh, there's something here." And my entire life, and most of yours too, I suspect, led to the arrival of agentic workflows. This really emerged in the last year or so, around the time of Sonnet 4. It was like, "Oh, it can follow instructions and call tools. That's pretty interesting."

Thumbnail 120

Thumbnail 130

The Birth of Kiro IDE: Aiming for an AI-Native Development Environment

When we think about agentic flows—and that's the part where we spend a lot of our time today—it's moving alongside me, making dozens of file changes, running compilers, performing auto-fixes, and executing remotely. It's a pretty amazing time to see this. So, as some of you may have heard, we launched a new brand, Kiro, at the beginning of this year. We did this with the intention of building an AI-native product from the ground up. In other words, what does it mean to build with AI tools? What does it mean to have a system that assumes agents exist? That's really what we were aiming for.

Thumbnail 140

We started seeing some problems, most of which I think are being addressed by both model changes and client updates. The first thing is that "vibe coding" became a thing. If you want to do more than just fix a string, fix this icon, or have fun writing a side app, we learned how limiting that could be. But in reality, there wasn't enough structure around it. We heard this from many customers. It's great for greenfield projects, but not for existing ones; they need a bit more structure. Basically, that was the theme I kept hearing.

Another was limited control. The models do model-like things, in both directions. By design, it's random—which is actually a feature, but essentially what we learned, and where we are now, is in a great place where it's faster. It's actually cheaper to experiment. You can throw things away. Another limitation of control was that many of these experiences were tacked on. They were like extensions or something, and the agent couldn't access the entire environment where it was running. These were some of the problems we were thinking about.

Thumbnail 210

Then moving on to code quality—and this doesn't just stop at code; it's also documentation. How do you keep it in sync? If you built something six months ago with vibe coding, how does everything meld together? What is the state of that world? How are you maintaining it? These are the things we had in mind when we launched the Kiro IDE at the beginning of the year. It was built from the start for vibe coding, obviously—for whatever you want to do, for quick interactions, and so on. But at the same time, we introduced the concept of "specs." I'll talk about that in a moment. The idea was, could we bring some structure into it? Could we bring systems we already know into the agentic system?

Thumbnail 230

spec driven approach: planning and design before writing code

I hear this feedback often: a lot of our time is spent on the implementation phase—that's the "vibe code" part. However, one of the top themes in meetings with customers this week is that something happens before that. There's planning, requirements gathering, and intentional thinking. What are we doing there? When we thought about that, that's where the "spec driven" concept comes in. During the planning session, it might be something simple. For example, maybe you have an existing database schema and want to migrate from here to there, or you have a UI framework you want to shift, or you have a Jira ticket and want help breaking it down and building it.

The idea is that even before writing code, there's a real opportunity to work with these agents. You'll see this throughout, but we don't hide the fact that this is built for developers. So, as a product manager, I use it for my own coding, but not much for product planning. However, planning and design for engineers is what we are really focusing on with the spec concept. We want you to still be able to "vibe," to still go through loops where you can write code, but we want you to be able to reach a point where you feel confident, and to have a history of what was changed.

Thumbnail 290

I'll show you what that looks like. Inside the IDE, you can describe something. The example in this case, I believe, is a website event category. This is an ingested Jira ticket.

Thumbnail 310

Thumbnail 320

Thumbnail 330

You have a conversation with the agent, and before writing code, you enter a session where the agent actually asks you questions. The agent starts generating a specification. The specification is divided into multiple parts: first requirements, then design, and finally an actual task list. What the agent does is this kind of context gathering—building the design of what you want. Everything is done in Markdown, so you can jump in and edit it, change it however you like, and proceed at your own pace. In other words, you are in a loop with the agent in this case. And you reach a stage where you have a task list that has incorporated the requirements.

Thumbnail 350

But what's really cool is that it understands that you are building a graph, that you need to do one thing before running unit tests, or that you need to implement a backend API before implementing the frontend. The tasks are broken down like that, and just by starting the task, the agent starts working for you. Specs are a really interesting way to introduce structure into what you are doing, and it's an area we are still exploring. I think there is a lot of potential there. We see plans in other frameworks too, so it's a fun area to watch for how to put rails around agent systems.

Thumbnail 370

Hooks, Steering Files, and MCP: Mechanisms for Context Management

Another native feature of the IDE is hooks. Something is always happening. It might be saving localization requirements or API documentation. You can write hooks that receive file change events. Since you are writing prompts, you are building mini-agents here, but the agent is just listening. It listens to the file system, listens to what's happening, and executes these changes asynchronously, placing them into the system so you can keep what you are trying to do synchronized. I love that flexibility.

Thumbnail 400

The final part is context, a theme you will hear about today. How do you perform context management? A concept in Kiro is the steering file. There is also Agent MD, etc. What's really cool is that you can bring a new project into Kiro, click "generate steering file," and the tech stack, product stack, and architecture will appear. This is a really good intro for any agent that follows to start working, and it is saved in the source code. It can be updated at any time. It's part of the project, so it's a powerful part that helps these agents achieve what they are really aiming for.

Another part is MCP. Most of you have probably played with that version. It's like connecting to a code analyzer, documentation, or Jira backlog. Bringing those natively into the IDE is very important. And you can put all of that together in a place where you can bring in architecture diagrams, photos, or anything else—whatever context you need for this task at hand—and enrich it. It was designed from the ground up with that in mind. That is the IDE.

Thumbnail 470

Thumbnail 480

Thumbnail 490

Thumbnail 500

Thumbnail 510

Practicing with Kiro CLI and IDE: Agent Utilization in the Terminal

Also, as we announced two or three weeks ago, Kiro can now be used in the terminal. Has anyone here used AI agents in the terminal? It feels a bit strange at first, but once you use it, you realize how truly wonderful it is. For example, I used to download many CSV files to create reports, but I can now ask the agent, "There are many CSV files in my download folder, can you merge them?" or perform actual coding tasks like, "Bootstrap a React app in the development folder and make it look like this." What you need, and what this CLI experience provides, is a trustworthy tool. You can opt-in to always permit or permit per invocation. You can actually create custom agents as well, and this has become a truly great workflow for me personally. I have an evaluation agent that takes changes made by other agents and ranks them, and it constantly updates the same markdown file. You can also create code review agents.

Thumbnail 520

Thumbnail 540

The really powerful thing about the terminal, as I was talking about earlier, is that it is very lightweight. You can open five terminals and run five different things at the same time. So, while thinking about various goals we have for the task in front of us, we end up going back and forth between the IDE and the terminal frequently. Personally, I touched on this a bit, but all my client meetings are recorded in files connected to an MCP server. I use Obsidian, and Kiro has that as context. Of course, it summarizes them automatically. I also use that to write code, but the idea of these systems running around my personal context on my machine was a real game changer for me.

Thumbnail 560

We have customers like N42, who are one of the earliest adopters of this product, and they shared this morning that they are spending 40% on planning, 40% on system testing, and coding time has dropped to around 20%. And in their opinion, that is actually a good thing. More code is generated in that time, more time is spent on planning, and more time is spent on the testing systems that actually run it, making it more reliable. Seeing workflows change in this way is very wonderful. Of course, I'll talk about this later, but how to get people to adopt it, how to get them to try it. But seeing it start to stick is really great.

Thumbnail 590

Broadly speaking, Kiro wants to place this in the environment you are used to. Everyone knows VS Code. You can use extensions. You can access it, but we make AI the first priority. We want to introduce many state-of-the-art models that run on Bedrock, especially excellent Sonnet models, and there is an automatic mode that automatically selects models for the most cost-effective tasks. And what is popular is that these are backed by Bedrock and AWS from a security perspective and so on. These are Kiro's CLI and IDE.

Thumbnail 620

Kiro Autonomous Agent: Autonomous Agents Running Alongside Developers

However, early this year, around February, I think, I received a question. It was, "Great, we have these highly interactive clients. We have an IDE, we have a CLI, and they are designed with really fast feedback loops and are truly excellent for working with agents, but the developer still needs to be in the loop, which is a good thing. But there is still work left to be done. There are other tasks that are pushed aside. There are all sorts of things, and you're not always in front of the computer. So, what is needed to have an agent that works with you, or alongside you? What does that mean?" That was the question. And it has to be more than just a session. It has to have context, tools, and things like that. That is what we have been working on.

Thumbnail 660

Thumbnail 670

And yesterday Matt announced it as Kiro Autonomous Agent, which is something I have spent a lot of time on; it is one of these frontier agents, and the way we define it is that it is autonomous, with a context that is massively scalable and capable of working. But specifically for Kiro Autonomous Agent, when I wrote my first thoughts about it, the first thing was autonomy, and what does that mean? It means having a sandbox that looks exactly like the developer's environment—that is, Dockerfiles, dev files, your own custom build systems—and taking them in to make the agent operate like one of the developers. Of course, you need guardrails and things around it, and the sandbox has, which I will explain in more detail, proxy controls and the like.

Also, what we noticed, and what many customers shared with us, is that many code changes are not in a single repository. API specifications might be in one repository, lambda functions in another, and logging might be somewhere else entirely. You have to be able to make changes everywhere. You must be able to work across multiple repositories simultaneously within that environment. Another thing that was really important to me was persistent context. That is, this agent must not forget. Context should not be something you manage. It should be something the agent manages for you—that was one of our key requirements. And the final part is learning. We have just started on this, but it should learn what you like and don't like, becoming more personal the more you use it.

Thumbnail 730

Thumbnail 740

Thumbnail 750

That is what we have launched. Let me give you a quick tour. From Kiro.dev, in this case, I'm using the Hydro app, which is a Rust framework. And the team there asked, "Hey, we want to refactor the benchmarks from the main repository and move them to a dependencies repository." So I put this into the Kiro Autonomous Agent, provided the description, loaded both repositories, and basically let it start working. The first thing it does, of course, is launch it and take a look. It is basically loading the sandbox. It is actually cloning that code, and then it is starting to analyze it.

Thumbnail 760

After a few minutes, it comes back with a plan. And it is a fairly detailed plan; we are continuously iterating on this, and it is very similar to a spec, designed so that this agent can manage itself. The mental model when thinking about an autonomous agent is that it is handling things. It has access to sub-agents. It has access to context. It has access to tools, and the idea is that it is like you working across multiple things in front of the CLI. That is our goal. So it builds this plan, and you can review it if you want, or just "fire and forget" and start the work.

Thumbnail 790

Thumbnail 810

And it returns the plan, and after 10 to 30 minutes, depending on the size of the task—or more if it is a really huge task like refactoring 20 repositories—it shows you two PRs, which you can click to verify. It has also already built and validated them. You can also see a history of what it executed, and this autonomous functioning feature is quite amazing. Especially for tasks that you might not have gotten around to otherwise. These were considered "grunt work" tasks. And then, we move to the task list. You can run up to 10 tasks in parallel, and there is a queue, so you can keep throwing things in, and it will work on them when their turn comes. You have ideas for the major work you want to do, right? Then let's leave the rest to it. It's not about leaving it abandoned, but about letting go.

Thumbnail 830

Thumbnail 840

Thumbnail 850

Also, I want to mention that this is an agent. It is not just a task processing tool, but an actual agent, so you can talk to it. For example, you can ask, "What are you working on right now?" or "What did you do recently?" In this case, the first task it returned was the Hydro refactoring, and you can start talking about it. You can ask for more details on why it made those changes, and so on. And it has memory. It remembers what it has done in the past. And this is truly useful. Because the agent is doing the work, you might want to double-check.

Thumbnail 860

Thumbnail 870

Thumbnail 880

Thumbnail 890

Another area is that it has access to web search. It can ground itself. For example, let's look at building AWS Strands. I think Claude is still in preview, but it is actually GA. It grounds itself and tells me what it is doing. What is really great is that you can chat with it. You can go even further and talk about different designs, and at some point, you can just say, "I just want to build this." And by simply throwing that from the chat, in this case, it is like, "Build Strands for my ToDo list." It goes to check that, comes back, basically understands your intent, suggests repositories you can choose from, and creates a path for this task.

Thumbnail 900

GitHub Integration: Automated Workflow from Issue to PR

In other words, these agents are yours; you can work with them, chat with them, give them tasks, and you are the only one who can control them. The next area, since I realized it needed to be within the tools you are using, starts with GitHub.

Thumbnail 910

Thumbnail 920

Let me show you how this works in the tools you use, starting with GitHub. From a GitHub issue, as I showed you, it also opens a GitHub PR, but you can add a Kiro label to a GitHub issue. A few seconds later, it replies with the eyes emoji, indicating it is checking, and then it starts working in a pattern very similar to what you just saw. But if you prefer to be in GitHub, I don't want to make you go to the website. This also gives you a system of record for what has been done. This is useful.

Thumbnail 940

Thumbnail 950

Thumbnail 960

And it comes back. This task took about 20 minutes, and finally, a PR is opened. You can see that the commit is actually under "Kiro Agent" and your name. Everything is done on your behalf, but it is still attributed to the agent. That is the goal. And there is the created PR. It actually learns how you like to write PRs, and if you have a PR template, it will pick it up, but this one is just a generic one. I thought this was useful without any prompting. But what was really cool was that I had given it learning before. Let me actually show you. Yeah, this was SQLite. You just need to leave a comment on the PR: "Use Postgres instead." The brand new agent didn't know my preference. When I give it Postgres, it starts revising again on that PR.

Thumbnail 970

Thumbnail 980

Thumbnail 990

And when you look at the changelog, you will notice this "agent" folder. This is one of the patterns I like to use. There is a changelog that the agent is constantly updating. And the way I got to that was by actually giving it instructions. Well, you can ask here: "What learnings do you have?" This is probably the simplest way. This is the most direct way to interact with it. And it comes back, and now there are two. The first one is from the last PR change that learned about Postgres, and the second one is this documentation standard, which is something I said, "Hey, if the agent folder doesn't exist, create it and do this." And as for the mechanism, the main agent actually sits there, takes in the learning, and orchestrates writing prompts for all the sub-agents, so it is always executing through that context.

Thumbnail 1020

Thumbnail 1030

Thumbnail 1040

And I think one of our tenets is to collaborate well with others. That means integrations and partners. If you look at Dynatrace, which is clearly very popular and an important part of observability for many customers, we have done an integration with them. This is the simplest integration, where we hand off to each other using GitHub issues, so there is no big burden there, but it is important. I'm sure many of you are used to seeing a lot of things to do when you check for vulnerabilities in the Dynatrace view. You might do them. But it's difficult. And this is an area where I really want to help with this product. Let's create an issue, auto-assign it to Kiro, and prepare a PR. At the very least, it's reviewing PRs now, because if it spans 10 or 20 projects, you'd be loading them locally and pulling down the latest versions. Let's let the agent handle it. Let's have it clone into a sandbox, test it, and pull it back. In this case, it processed the assigned issue and ultimately, yeah, opened a PR containing the fix.

Thumbnail 1070

Agent Architecture: Brain, Sub-agents, and Team Agents

I've been talking about this agent. Let me show you how I think about it. It's a rough diagram, but basically, the purple box is your agent. Inside that, we have the context layer we've been talking about. There's chat, which is on the highly interactive side, and internally we call it the "brain." The brain is responsible for clarification questions, building plans, and determining whether this task is an existing task or a new task. And there is an event journal. Every time you send something there, you're chatting. At some point, the chat says, "Hey brain, I think you need to intervene," and it starts generating these sub-tasks or simply tasks. They are filled with sub-agents. We have code build validators, dev agents that write code, and pull request writers, and we will continue to expand this and make it extensible by you yourself.

But the sub-agents start the work. The brain is responsible for delivery. Everything happens in a sandbox, and what's really cool is that it writes to the event journal, so even if those tasks are discarded, the agent knows what's happening. And an equally important part is that this is wrapped in a proxy, and it only accesses the networks you permit. For example, there is a proxy to GitHub, and there may be cases where we don't permit merging pull requests. Even if we give it app access, we impose further restrictions. And as we introduce more integrations, you will see this pattern. In other words, you can trust this agent and let it mess around in your environment as it pleases.

Thumbnail 1170

What's really cool is that what I've been showing you is the Kiro Autonomous Agent, and everyone with a Pro, Pro Plus, or Power subscription can use their own agent at Kiro.dev. It's scheduled to be rolled out sequentially this month. This is your dedicated agent. No one else can use it, but we have also been experimenting with a version called Team Agent. This means you can create dozens of the systems I've shown you. One for each team, one for each project, and so on. And we are doing some very interesting work in this area and are still learning. This is on the waitlist. I hope you'll sign up if you're interested in early access, but this will integrate with source control like GitHub and GitLab, communication tools like Slack and Teams, and Jira and Confluence, etc. And what's really cool is that this is a multiplayer agent. This means Ben and I can both talk to a single agent. Work is tied to who requested it, but it's an independent agent operating in its own space. I'm really excited about this autonomy. As I was saying earlier, I think one of the next challenges to solve is authorization policies and how to think about deploying these at scale.

But what we are really focusing on now is making this agent a great collaborator. Chatting on Slack, having long threads about ideas, and sending them off to work. For example, asking, "Didn't we fix a bug in Jira last week?" and having it extract the information. Again, this is a single agent. It knows all your tools and everything in your world, and the context layer becomes very powerful. Let me show you a simple example of that.

Thumbnail 1230

Thumbnail 1240

Thumbnail 1250

Thumbnail 1260

Thumbnail 1270

In the team version, we're building this context layer. It knows about all the packages. It has tools to retrieve relevant learnings or search code. You can assign an issue to update the voting route. I haven't told it at all where to change it. The agent knows all the packages I have and makes its best guess as to where the changes should go. If it doesn't know, it will ask me clarifying questions in the issue, but in this case, yeah, it was a voting app, so let's make the change there. This is a very unique and fine-grained nuance for the product. Because usually you're directing everything this agent does, but our goal is to just tell the agent what you want, and the agent achieves that goal while working within the boundaries you can trust. And that becomes very powerful.

NVISIONx Case Study: Resolving Technical Debt and Automating Documentation Generation

That's about it for the Kiro Autonomous Agent, and now I'll pass it over to Ben. He'll talk a little more about how he's building these systems at his own startup. Thanks, Kyle. Give a round of applause for Kyle. Yeah, thank you. So, briefly, this is my first time at AWS. This is my first AWS. How many of you here are actually looking for tools, are leaders, and want to empower your developers to do more with less resources? Raise your hands. About 50%, okay. The lights are a bit bright, so I can't see everything. How many of you actually use these tools, dig deep into them, and actually get your hands dirty? Many of you are raising your hands as well. That's great. Hands-on leaders. We need more people like that. And finally, how many of you are responsible for incorporating these emerging agentic flows into the products your company is building? Yeah, a few hands are up. Okay, that's good, really great.

Thumbnail 1330

So, let's get started. Green Book. I want to talk basically about where we started. And I'm going to dive a bit deeper into what I've been working on with Kyle and his team. We're experimenting everywhere. I'm sure all of you are. You're probably using 30, 50, 100 AI tools a day. It's a bit chaotic right now, isn't it? You've got Cursor, Codex, Copilot, all sorts of things. And we're not just using them for code. We're using them for marketing, we're using them for documentation, we're using them for AI BDRs. If you look around, there are so many options that can really streamline these processes. And in the end, rather than just bringing things, it's opening up a new world. Especially for startups like us. We can do so much more with fewer resources. And that allows us to move faster and pivot faster. It's a truly exciting world right now.

So, why did we start focusing on this as a company? As a startup, one of the biggest reasons is that we're actually a pretty old startup. So, as we've pivoted and moved forward, we've accumulated 5 to 8 years of technical debt. And the scale and complexity of what we're working on, well, here's a really good example. We used Angular as a really good example. We asked a very simple question: Please migrate from Angular 16 to Angular 20. This would normally take a dev team, what, a few months? Months, months, months, right? Not days or hours, right? And this was a really interesting experiment for us. Because without the additional context provided by the Kiro Autonomous Agent, this was truly impossible to realize. Sorry, I used the codename. I used our internal codename.

So, let's rewind a bit. Actually, we got in touch about this product about 6 months ago, and we've been testing it for the past 6 months. It's been an amazing experience to watch its evolution. And we started using it more and more and integrating it into the team more and more. A little bit of background. And with this Kiro agent, what used to only be able to handle small chunks like core code in a local IDE process, we can now hand it these really big chunks and separate it all out. No scrolling. It's fine. And those big chunks are now easier to process and easier to pass through task management. What the agent is doing is listing all these tasks, trying to split them into micro-chunks, and then sending them to agents, meaning multiple agents. There are many sub-agents distributing the processing of what should be done and how it should be done. It automatically creates PRs as it progresses. It was interesting.

The question was very basic. We haven't reached there yet, is what I mean to say.

It was wonderful. It planned perfectly and told us what it intended to do. The plan was almost perfect. If we had executed it, it would have been perfect. Keep in mind that we tried this probably a month ago. And everything I'm saying about AI right now will be absolute garbage by tomorrow. Everything is moving so fast, isn't it? If we tried this again now, it would probably do it perfectly.

But the parts we missed were interesting. One of the biggest problems was that Angular 20 was so new at the time that the LLM running didn't have the knowledge to understand those deeper parts. So it hallucinated a few things and did some weird stuff, but it still got us to 80%. It got us to 80%. If we could cut out 4 months, the 5 or 4-month period it takes to do that migration, that's huge, right? I mean, this is really like we are living and breathing in this strange future.

It's like we are migrating. We talked about this a little while ago, right? This is exactly like the cloud-native call for AI. We are currently in the midst of that shift. We're moving from a state where we could deploy a single container to a network of containers or a network of AI, and that is effectively enabling the next generation of processing. Anyway, that was our experience with Angular.

Thumbnail 1590

So, this is another case we experienced. We asked a really simple question. This is probably a story that comes up in many of your organizations, too. Our sales engineers needed to get better, more up-to-date information about the codebase. How to deploy, how to have really good conversations with end-users, and so on. And our codebase is changing rapidly and iterating daily.

Ultimately, when we asked, it captured the intent perfectly. It captured it perfectly. But not only that, it found all the relevant repositories. We threw 150 repositories at it. It looked through every single repository, saying "this, this, this, this," and condensed them. Now, here's the interesting part. It generated architectural documents, generated mermaid diagrams, and created all the markdown files so they could be imported into Confluence. And it did a pretty good job. It was perfect.

This should have been several days' worth of work for an engineer, right? It's a simple question, but what do you want your engineers to do? Engineering work or documentation? The entire evolution we are experiencing right now is about how can we empower developers to tackle difficult problems as true engineers. That way, they don't get bogged down in the mud. I think this is one of the biggest empowerments we can provide today, and at this point, it is really, really showing.

Thumbnail 1680

Data Democratization Challenges: Petabyte Scale and Intent Understanding

So, briefly, let me pause here. Let me tell you a little bit about myself and the company. We are NVISIONx. Basically, we are looking at all of your data. That is actually what we do. And data is, whether you realize it or not, actually your most valuable asset. Your entire business runs on data. Many of you don't know what's in that data. Every time we introduce a new company and have a conversation, we discover this over and over again.

And our goal is to democratize data within the organization. We want to reach into your SharePoint, OneDrive, and S3 buckets. We want to literally suck it all in, add context to it, enrich the data, and make it usable for you. In fact, we use business records. That's actually our specialty. We convert it into record schedules. For large enterprises, most companies have record schedules. Everything is a record item, and from there, we can further enrich it.

The ultimate goal, and the direction we are trying to pivot, is to become something like a gateway to data. That is where we are aiming. Because data is very unstructured. How do we structure it so LLMs can understand it better? How do we aggregate it? How do we get the appropriate level of context? Yes, context is the biggest problem. I will talk a little bit more about this later. So, how can we realize agentic patterns that support petabyte-scale systems? How do we keep moving forward?

And how do we discover and answer those ambiguous questions? Your customers—both internal and external—will ask questions that you can't actually answer, right? They have a purpose and a goal, but they don't usually ask direct questions. I will talk a little bit more about this later. Now, a quick disclaimer: again, everything is moving at the speed of light. Everything I'm talking about today is abstracted at a very high level. We are moving at a very fast pace. If Elon Musk and others are right, we'll be using Imperial credits next weekend.

So, the goal here is to take everything with a grain of salt. This is everything we've discovered and found as we've progressed on our agentic journey, and hopefully, this will resonate with you and within your organizations.

Thumbnail 1830

Quality, data quality. How many of you have experienced this problem? When you put data into an LLM, what was generated? Did it always generate a perfect result? Did it always understand the data context accurately? Have you ever had it hallucinate on the data? These are all issues you must consider. Interestingly enough, if you give it enough data—we conducted an experiment on this. We gave it very large legal documents. We gave it 1,000 characters, 10,000 characters, 150,000 characters. What it understood best wasn't the full document, but just 1,000 characters. Because that was exactly the core part. When processing data, it is non-deterministic, and the most reproducible way to ensure you get the same reproducible answer is to provide smaller chunks of information. Interesting tidbit, right? Ultimately, quality is truly important. Garbage in, garbage out. You must ensure that the data is clean upon input. How do you do that? It's not by connecting all the data and force-feeding it to the LLM. That simply won't work.

Thumbnail 1900

This is quite interesting. How much data volume do you handle? Anyone operating at the gigabyte scale? Anyone at the terabyte scale, 10 terabytes, hundreds of terabytes? Anyone at the petabyte scale? Yeah, that's amazing. Today, unstructured data accounts for 80-90% of enterprise data, and it is increasing at a rate of 50-65% per year. This is a massive amount of data. Let's look at how LLMs and tokens relate to size. I think some of the best models today can handle about 2 million tokens. That's 200 megabytes of data. You can't even put in a 1-gigabyte file, let alone a 1-petabyte enterprise-scale one. So, there is an obvious gap that needs to be addressed.

Agentic flows enable you to leverage these domain experts across multiple documents. How should you split them? Should you have an agent dedicated to PDFs? Should you have an agent dedicated to this type of document? Or, if you are enriching with additional data and you know that this set of documents is this type of record, you can have smaller subsets. As you proceed like this, the context shrinks. Tools, different types of intent, RAG—you can tune all of this in your agentic brain—someone called it that earlier—so that it can understand these documents at a deeper level and with much higher intelligence. And this is unlocking the ability for us to understand data at a completely different level.

Thumbnail 2000

And this is a very simple diagram of an agentic flow. A request comes in. There is intent. I'll talk about intent later. Intent, I feel, is one of the most under-discussed topics in the world. The orchestration graph—this is the brain. Everything is happening here. Business is actually conducted here, and there is an output. I want to talk a little bit about requests. Can anyone tell me what a request is? Come on. No one? Okay, that's a pity. That's fine.

A request isn't just from a human requester. It's not just "show me the red car" or "show me all the documents related to Ben or Kyle." That alone isn't enough context to do something. And when you break it down, it becomes a really big problem. You have to make it human-like. You have to think in a human-like way to really deeply understand the process and what you are doing, and what's actually happening. Language is really difficult. English majors have great jobs right now because classifying this information with everything that's coming, language is one of the craziest things to understand.

And in the orchestration graph, can you reproduce those human characteristics? If you go to a sales event, you have sales managers, sales representatives, seniors, and juniors. It's the collaboration between all these people. That's why agentic AI makes so much sense. Because it maps to how we actually function as humans. That's why it's easy to understand and why it's easy to insert circuit breakers in the middle. Oh, a junior engineer gave the wrong information, or oh, a senior engineer gave the wrong information. You can see it. You can see it happening in the flow.

Thumbnail 2110

Now, about intent. I've been digging quite deeply into this. Ultimately, there are actually five core types of intent. You can look them up on Wikipedia, but they are assertive, directive, commissive, expressive, and declarative. I started deleting some after that, because I was worried about diving too deep into topics that might not make much sense. But I'm going to bring this down to something grounded from here.

I have a really good example. In my previous job, I worked for a VMS provider. We had thousands of security cameras spread across multiple time zones, and we were trying to integrate them. So, I was considering what kind of questions we would ask, and the question was, "show me the red car." Now, what would an LLM or an agentic flow have to do to really understand this? You can't just brute-force it with a single LLM. You can't provide all 200 million hits related to red cars over the last seven years, right?

And it becomes a question of whether the AI needs to decide, "I should ask a few questions, narrow the scope, and sharpen the context." That's a bit slow, isn't it? What else is intent? It's not just the user's question. What have you done in the past? What page of the product are you on? Ah, you've already selected a camera. You're on the camera page specifically for that camera. You have to input this too. It's all context.

Many people view context a bit flatly, but context is actually very broad and covers many different parts. That's why I think this is really cool. For example, you found a million cars. How do you narrow them down? Should you ask a question? What, where, when, right? Is it a time-constrained problem? You really need to understand how to make agentic AI understand this, and how to narrow this context window. This is the key to reaching petabyte scale. Because you can't just force-fit everything into the context window.

Thumbnail 2230

Multilayered Context: Disambiguation with Ontologies and Graphs

What is context? Well, it's not always the user, and it's not always the question. It might be an action, or a sequence of actions with questions in between. It might be almost like a declarative list of things you want done. You need to break these down, right? That's why intent is really important in these sections. Organizational data—this is really obvious, but how it is structured is really important. You can't just throw unstructured data in. It needs to be structured to some extent.

You need to be able to understand what's inside it. How do you search it, right? You can get there to some extent by using tools or smart graph logic. And ultimately, how do you give information to the "borg," right? How do you get there? And going back to the red car concept, do you have the context needed to answer that question? Can you add context? Who is the user?

Moving away from the VMS context once more, let's think about this as an organization as a whole. When you say, "show me the red car," am I a user in the finance department? Am I looking for the red car we sold this year? Am I looking for the red car in the video? Or am I looking for the red car in another system that tracks something? Right? This is a very high-level example, but how do you suggest or acquire additional context? It might be the current state or the user session. You must input all of these. It shouldn't be a linear thing like, "yes, this is my question, this is my data." That's the typical way AI is used today, though.

Thumbnail 2330

Ontologies. Who here knows what an ontology is? Raise your hand. Yeah, okay. Who knows what a taxonomy is? Who knows what a schema is? Everyone, raise your hand, come on. Actually, there are differences between these, right? They provide different layers of data. And ontologies are interesting things. Ontologies are unique to each organization. You can't say, "you are in a financial institution, so this is your business ontology." It doesn't work that way. An ontology is completely unique to that business.

However, those relationships and how you look at them—that's what binds the data together. And being able to provide an ontology that shapes the data pool is what makes money for LLMs. Because now you know how many hops away something is. It's basically a DAG, isn't it? And as you look through these, for example, "show me the customer who has this credit card number," or "I have this number, please find it." Okay, this number is related to these three things, you see.

You can move up and down the graph, traverse it however you like, and reach the data much faster, and you'll usually have a much smaller window. This is very similar to graph RAG, isn't it? Basically, that's what it's doing.

But this is something a bit beyond that. Because at this point, you're not just looking at vector searches. You might actually be doing a sort of cross between semantic search and vector search to be able to narrow down exactly where you need to be. Just to reduce this. And now, in the red car example, when you say "show me all the red cars," I know I have relations to finance, relations to the video management system, and relations to HR. Because they have parking permits for red cars. Which one do you want? I can now, from an agent's perspective, be much clearer in my response, my actions, and my questions.

Also, I can be intelligent. If I have enough context and know it's a finance officer, I'll only provide finance answers. They won't care about HR unless it's their own car, but I'll know that too. Because everything is linked. Everything is in that understanding, and in how the system finally works. This is basically enabling us to really unravel the ambiguity in all datasets, whether at petabyte scale or gigabyte scale. No matter what level you are at, you need that disambiguation, you need to unravel it, and you need to simplify it.

Thumbnail 2490

Agentic System Design Principles: Autonomy, Data Quality, and Ontology Importance

It's not even just about simplification. By having more structure for your data, you can act based on it, you can turn that data from just a piece of data into a business asset, and you can actually make it operational. That's the really big key here. That's what we need to do. Here is a brief deep dive into the brain. Ultimately, we are trying to transition from intent to some form of task management. And there is something like an agent selector graph. This is also a graph. I want to be very clear, many people are using workflows, but they are linear. Hey, do this, A, B, C, D, okay, I've finished the task now. It's completely different.

Sub-agents need to be able to make decisions that can change the entire path as they move forward. When that happens, this is really pivoting from a more basic understanding to this understanding. Now, if the agent can have more control over how it acts, it should yield better results. Ultimately, another really important thing is that these aren't necessarily all AI agents. Some of these are policy-driven items. As you progress, you need to add restrictions. I think there was something like a policy agent. AWS released one, I believe, to keep LLMs from running wild.

Thumbnail 2600

Things like that—they are more algorithmic and rule-based. As you go through this process, you ultimately don't want bad things to happen. So this ultimately gets things done, sucks everything up, and spits it out as output. And hopefully, it's the answer you were looking for. Since it's a non-deterministic system, it might be a clown, I don't know. So, yeah, basically, it was interesting. We met, you said "six months ago," and we were working on Kiro Autonomous Agents. We had this architecture in mind: breaking workflows into graphs so that the brain could execute sub-agents. And we started talking about his way of thinking and more general things. I thought, "ah, cool, there's a pattern here." And seeing these patterns emerge while working with customers was truly wonderful. And there were a few themes.

At first, it was about context, which is a really interesting problem. Because no one has solved this yet, but do you want it at the repository level? That's useful, but maybe it's your context. What about cross-repository? From legacy projects to data, and everything that backs it up. This is the theme we keep returning to. In other words, how do we manage this context, how do we execute this context layer? Models are getting better and better. You might start training your own models, but that will become the context for your data and systems, and there's a really interesting opportunity there.

Regarding Kiro Autonomous Agents, we are first betting on becoming experts in your codebase at the team level, and growing from there, but anyway, it's really good at building embeddings, graphs, and structures regarding your code, documentation, and so on. And what Ben and his team are trying to make possible for other customers is truly wonderful. Another thing, hopefully, it's clear, is this autonomy—the idea that an agent can launch other agents and let them run for a while. It does a retrospective. It comes back. The advantage is the fact that there are actually multiple agents. There is grounding there. There is a judge. There are steps. There is a plan.

And one of the things we faced was the graph-like thing being built. We realized it immediately. One of the earliest agents we built for development workflows created a plan, and everyone said, "that looks like a good plan." But the moment we started, the plan had nothing to do with what was actually done. The agent had just made up the plan. It was cool, though. So what we're trying to do is ground the plan a bit more, but at the same time, we also recognize that by the time the plan is completed, it will likely have evolved.

So this is slightly different from a specification. Because the agent goes in there, starts working, and says, "oh wait, I missed this step," just like we do. And we want to allow for flexibility. So we built the system. Yes, the graph evolves, and the plan evolves. I think that's a good thing. In fact, internally, we call them acceptance criteria.

the goal is to achieve this. How the agent gets there is actually left to the agent's interpretation. So I think the autonomy part is going to be really amazing. Whether you build with agent core or use different sandbox tools on your local machine, giving the agent the autonomy to act freely while trusting it will be a really powerful place to be. These are the two things I see clearly.

Thumbnail 2740

For me, data quality—this is something I see very often—is exactly "garbage in, garbage out." Before you start feeding in data, you really have to understand the data. Otherwise, you'll get strange results. I've seen it over and over again. I've built agents for many different companies, and it really depends on the quality of the data you feed it. Because every LLM is trained on a vast data corpus that may or may not be relevant to what you're doing, so you need to narrow down the scope of impact when you feed it in. Otherwise, it can be very prone to hallucinations.

Thumbnail 2770

Sometimes it works, sometimes it doesn't. If you're trying to narrow down that non-deterministic thing into the reproducible workflow you want, data quality really, really helps here. That's how you get to that reproducible workflow. And finally, ontologies. To me, an ontology is a map of the internal data architecture. This is where the money is. If you can understand this, and if you can map it to all the data—whether it's in a database, a document, unstructured data, or structured data—it doesn't matter. With an ontology around it, you can execute queries and narrow things down faster than anything else. That's how you do it.

Because if you understand the relationships between the data, you can not only grasp what is relevant, but also what is not relevant and what is adjacent. All of that comes in. It also enables other really amazing features like reasoning. Because now you understand how you got there. You can see why it chose those items, the reason for it, and it can tell you why it did so. Honestly, everything is amazing.

Thumbnail 2870

So, I'd like to wrap up. We're always joking, but I'm really lucky to have worked in the world of compilers, CI systems, and development tools that have truth and foundations for many years, and now I'm in the world of free-form, open-ended data, and that's where the theme is. Regarding Kiro, if anyone is interested, please check it out, kiro.dev. The CLI is fun. The IDE is also quite cool. If you have any questions, of course, find me. We also have a booth, but thank you all for listening today to talk about what we've been spending a lot of time on. Yeah, thank you all. That's it.


  • This article is automatically generated using Amazon Bedrock, maintaining the original video information as much as possible.

Discussion