TRANSKRIPT 🔗
WEBVTT
00:00:00.160 --> 00:00:02.319
We are not going to be writing code anymore.
00:00:02.399 --> 00:00:03.680
So what are we going to write?
00:00:03.839 --> 00:00:05.440
We are going to write pros.
00:00:05.759 --> 00:00:07.280
We are going to write skills.
00:00:07.519 --> 00:00:16.399
How on earth do we go about a good versioning system where we can recognize that this is a major change to the skill.
00:00:16.640 --> 00:00:18.559
We haven't figured that out yet.
00:00:18.800 --> 00:00:25.199
The customers I'm talking to still don't see them rigorously and systematically evaluating their skills.
00:00:25.280 --> 00:00:32.000
And so when bad things happen, you need to have a way to backtrack and say, the problem was here.
00:00:32.240 --> 00:00:34.000
The problem was in this skill.
00:00:35.359 --> 00:00:41.920
The AI Native Dev is a podcast for developers and engineering leads at the cutting edge of AI and agentic coding.
00:00:42.079 --> 00:00:52.240
Join your host, Guy Fajani, and me, Simon Maple, every week as we chat with the most exciting voices in AI and tackle the biggest questions facing developers today.
00:00:52.960 --> 00:00:55.119
This is the AI Native Dev.
00:00:59.520 --> 00:01:02.240
AI DevCon is coming back to London.
00:01:02.479 --> 00:01:04.640
Our first London event sold out in June.
00:01:04.799 --> 00:01:16.400
After our second New York event this November, we're heading back to the brewery Moorgate in 2027 with a bigger lineup and two full days of talks from the people actually building with agents.
00:01:16.640 --> 00:01:26.319
You'll hear honest takes on where the industry's at, real stories from teams adopting AI, the wins as well as the messy bits, and where they think things are heading next.
00:01:26.480 --> 00:01:28.079
It's on June 7th and 8th.
00:01:28.159 --> 00:01:31.040
And don't tell anyone but we've got a really great deal for you.
00:01:31.200 --> 00:01:34.799
Scan this QR code to grab an early bird ticket for just£100.
00:01:35.439 --> 00:01:36.719
See you in London.
00:01:40.322 --> 00:01:48.481
Hello and welcome to another episode of the AI Native Dev, and I am wearing a very fetching yellow shirt, which can only mean one thing.
00:01:48.719 --> 00:01:56.799
I am at AI DevCon in New York, and we are here literally live as an existing session is going on across there.
00:01:57.120 --> 00:02:02.560
I'm kind of keeping my volume down just a touch because I'm worried that we're gonna noise bleed into the other room.
00:02:02.640 --> 00:02:05.200
But it's literally uh through the glass doors just there.
00:02:05.359 --> 00:02:19.120
Um, and joining me is one of the speakers at AI DevCon, Daniel Meppiel, um, who is a director of Dev and Agent Platforms at Microsoft in the coolest department I've ever heard, the global black belt team.
00:02:19.360 --> 00:02:20.879
Tell us a little bit about that, Daniel.
00:02:20.960 --> 00:02:23.039
And first of all, great pleasure to have you here.
00:02:23.360 --> 00:02:23.919
All right, thank you.
00:02:24.080 --> 00:02:25.439
Thank you for bringing me here.
00:02:25.599 --> 00:02:35.120
So, yeah, the global black belt team at Microsoft acts as a reference solution architecture team in the commercial business of Microsoft on the field.
00:02:35.280 --> 00:02:48.639
So uh myself I'm focusing on everything Agentic SDLC, AI applied to software engineering, and helping our largest customers around the globe transform by using AI, uh their software practices, right?
00:02:48.719 --> 00:02:53.759
So everything about uh you know agentic software factories and everything we are discussing uh in the conference.
00:02:53.919 --> 00:02:54.080
Yeah.
00:02:54.400 --> 00:02:55.199
Amazing, amazing.
00:02:55.280 --> 00:03:00.159
And your session that you're giving at the conference is is version your factory, not just your code.
00:03:00.319 --> 00:03:09.919
And and it talks about, I guess, the prompt skills, workflows behind the agents, um treating them more as software uh rather that we can test or upgrade.
00:03:10.240 --> 00:03:12.000
Super cool, we're so aligned on that.
00:03:12.080 --> 00:03:14.400
Um so tell us a little bit about what you what you go through.
00:03:14.639 --> 00:03:24.159
Yeah, so you know, at the core of that phrase is is the realization that uh we are not going to be writing code anymore.
00:03:24.560 --> 00:03:26.319
That's something that I think we agree with.
00:03:26.479 --> 00:03:28.080
So, what are we going to write?
00:03:28.159 --> 00:03:38.800
Uh we are going to write pros, we are going to write skills, prompts, as a way to try and automate and get some reliability out of agents, right?
00:03:39.120 --> 00:03:47.199
And that prose that we start writing, we are starting to put it into modules like skills and other types of files, right?
00:03:47.520 --> 00:03:56.319
And you know, at the end we we can see that that's what allows us to put together what we are calling a factory, which is an automation, automated process.
00:03:57.360 --> 00:04:03.919
And so it brings up to life a kind of sort of a new programming paradigm itself.
00:04:04.400 --> 00:04:18.800
So there are many practices that we applied in classic software engineering with the programming languages we are all used to that can be applied directly to this new way of coding, which is about basically creating natural language.
00:04:18.879 --> 00:04:19.040
Yeah.
00:04:19.360 --> 00:04:27.360
And it's interesting because I guess from the from the role of a developer there, there's probably two key things that are important for a developer to do.
00:04:27.600 --> 00:04:33.600
One is decide what are the uh the actual things that are needed to be built.
00:04:33.839 --> 00:04:39.759
And then the second one is actually focusing on the factory or the the infrastructure itself.
00:04:39.920 --> 00:04:47.439
So essentially recognizing and understanding how to improve and make the the underlying agents most effective.
00:04:47.600 -->
Load full transcript
00:04:51.600
So there's almost like two pieces that the development teams need to need to focus on there.
00:04:51.920 --> 00:05:02.560
You know, more and more developers are starting to shift to uh build what allows agents to actually ship code that can be put in production, right?
00:05:02.639 --> 00:05:10.720
And and that's what uh what we've called skills, and and you know, it it can be understood as all the infrastructure.
00:05:10.800 --> 00:05:13.920
When you say all the infrastructure, I think it's it goes beyond skills, right?
00:05:14.000 --> 00:05:37.199
There is there are MCP servers, there are hooks, there are all these what I call agentic primitives that uh we hook onto the harness and allow us to basically get some reliability from agents so that we can get outputs that we trust much better, that they are gonna be doing the job that we want it to do in production, right?
00:05:37.279 --> 00:05:49.120
So there has to be obviously a lot of rigor that needs to shift towards building that infrastructure or you know those agency primitives in the form of skills, hooks, MCPs, and and all yeah.
00:05:49.600 --> 00:05:54.639
And and I guess there's uh there's there's two different types, I guess, of types of skills that people will build.
00:05:54.959 --> 00:06:05.279
The types of skills that are currently today uh parts of the model that is lacking, um, whereby actually this is a useful skill that everyone will want to use.
00:06:05.600 --> 00:06:15.680
And then there's this type of skill which is more of a flavor and more of a uh a style, where it's like actually I as an organization will prefer to do it this way, others will prefer to do it a different way.
00:06:16.240 --> 00:06:22.639
So you know, a whole ton of different engineering teams will be building their own skills and and and sharing and using their own skills.
00:06:23.040 --> 00:06:38.399
Um what would you say today are you know some of the the the biggest problems that people are continuously falling into uh when creating prompts or you know needing skills.
00:06:39.040 --> 00:06:39.680
Right.
00:06:40.560 --> 00:06:47.360
Well the main problem is that teams aren't federating efforts, let's say.
00:06:48.000 --> 00:06:57.600
They are rebuilding the same skills once and once again on their own sites, on their own laptops, on their own teams, right?
00:06:57.680 --> 00:07:04.399
So think about organizations with thousands of develop thousands of developers, like the ones I I typically work with.
00:07:05.120 --> 00:07:23.759
It's it's you know, it's it's they are recognizing that putting down their unique knowledge and and processes to get the job done in a skill is really delivering a lot more uh productivity and uh ROI out of agents.
00:07:24.000 --> 00:07:33.279
But this is being realized in the team in, I don't know, the team who sits in in Europe, the team which sits in in the US, the team which sits in Asia, right?
00:07:33.519 --> 00:07:47.680
And so the first error,
or let's say the first hurdle to overcome is how do we bring all this together in in one place so that we don't rebuild the wheel each time?
00:07:47.839 --> 00:07:51.920
And so that we can, you know, cease the economy of a scale of that.
00:07:52.160 --> 00:07:52.480
Right.
00:07:52.639 --> 00:08:09.120
And and obviously, when we think about factories, a large part of you know building a factory and doing it in in a robust way is probably gonna be skills-driven, like using skills and using uh you know methodologies that are repeatable to do things a similar way.
00:08:09.279 --> 00:08:13.600
Um your session is titled Version Your Factory, not just your code.
00:08:13.839 --> 00:08:22.480
If we look under the covers of you know a factory, what are the types of things that today developers, in your opinion, are not versioning?
00:08:22.800 --> 00:08:23.279
Right.
00:08:23.600 --> 00:08:31.920
So I I want to I want to step back a little bit from the versioning part because you know um it's it's an opening, right?
00:08:32.240 --> 00:08:57.679
And um you know, when when you look at a factory and what needs to be versioned, it's obviously we are looking at the skills, but there is there is something else that is not being versioned today, and I think will be versioned very soon, which is you know, uh we we saw in the keynote from from from Guy uh what you are calling loops, agentic loops, right?
00:08:57.919 --> 00:09:15.039
You get a skill or a bunch of skills, but you also need a trigger, like what's gonna launch this automation, and you also need verification, like what allows us or and the agent to say, okay, I've I've met the bar, I've I've delivered what was expected from me, right?
00:09:15.200 --> 00:09:17.840
Like the deterministic checks, the guard rates, right?
00:09:18.000 --> 00:09:21.279
And all these different components today they are spread around, right?
00:09:21.360 --> 00:09:27.679
We have the checks on one side, the skills on the other, we have the intent on another, uh, all of this, right?
00:09:27.919 --> 00:09:33.519
So at the end, I think one of the other things that we will need to start versioning are those loops.
00:09:33.600 --> 00:09:34.000
Yeah.
00:09:34.480 --> 00:09:38.639
Which, you know, in my talk I'm I'm calling agent contracts.
00:09:39.279 --> 00:09:47.519
And I think that has the potential to become another standard, standardized unit for harnesses.
00:09:47.759 --> 00:09:47.919
Yeah.
00:09:48.240 --> 00:09:48.399
Yeah.
00:09:48.720 --> 00:09:49.440
Very interesting.
00:09:49.600 --> 00:09:50.159
Very interesting.
00:09:50.320 --> 00:09:59.840
And and when I guess when we talk about tests and a test suite for for that, to make sure our loops and our skills and everything are working well.
00:10:00.080 --> 00:10:01.120
What does a test look like?
00:10:01.279 --> 00:10:02.639
What does a suite look like?
00:10:03.120 --> 00:10:03.440
Right.
00:10:03.600 --> 00:10:10.159
So we we are already in a world where we have two types of tests already, right?
00:10:10.320 --> 00:10:36.320
The same way we have two ways of programming now with deterministic programming languages, or with pros, which is non-deterministic, we have the two types of tests as well, which is, you know, on one side very important, the uh classic unit integration tests that I think we cannot we cannot take away from an agentic software factory because that's what that's what will give us trust and confidence that we can ship it.
00:10:36.480 --> 00:10:41.840
And on the other, we also have tests and reviews that are agentic now, right?
00:10:42.159 --> 00:10:44.320
Uh because they deliver a lot of value.
00:10:44.480 --> 00:10:52.080
And and for sure we we cannot confer it the same trust as for deterministic checks, but they are really, really helpful.
00:10:52.240 --> 00:10:56.799
They help detect vulnerabilities where some deterministic engines cannot detect them.
00:10:57.279 --> 00:11:07.279
They can uh detect, you know, uh things in the code that aren't compliant based on some regulatory frameworks that we basically have no deterministic checks for that.
00:11:07.519 --> 00:11:15.360
So those are the two families of tests that we need, including when we evaluate the skills, when we evaluate factories.
00:11:16.000 --> 00:11:30.720
And it's really interesting when our skills, well sorry, when our when our tests essentially become natural language that an LLM as a judge effectively looks over, you obviously now have you know context, which is text, and you have tests that are text.
00:11:30.960 --> 00:11:34.720
When we start to version these, I give a tricky question now.
00:11:34.960 --> 00:11:47.919
When we think about code versioning and we do the semantic versioning, it's super easy to identify we need a major uh semantic versioning bump here, or we need a minor bump based on okay, is this a breaking change?
00:11:48.080 --> 00:11:52.720
Is this a change that's you know the method signatures are changing and it's actually gonna break other things?
00:11:53.120 --> 00:12:00.879
So we it's it's clear, yeah often abused, but clear when we should jump to a major or when we should jump a um a minor.
00:12:01.200 --> 00:12:13.279
How on earth do we go about a good versioning system where we can recognize that this is a major change to the skill and what constitutes a major change?
00:12:13.440 --> 00:12:13.519
Yeah.
00:12:13.679 --> 00:12:15.519
How do we how on earth do we even think about that?
00:12:16.000 --> 00:12:19.840
So we haven't figured that out yet as an industry, in my opinion.
00:12:20.080 --> 00:12:50.399
But I think you know, if if we go to the to the core of the problem, it's about identifying what makes a change that's uh, you know, an incremental change in the same direction versus a change that you know creates a breaking point, that the direction is switched to another one, that the output that you may get is different, or that there are consequences that require
users of that module to do something else, right?
00:12:51.120 --> 00:13:11.519
And so in order for us to have a consistent way of versioning, we need to come to the point where our evals potentially allow us to detect what uh what changes that we are putting into our skill are creating a deviation in the standard behavior or you know the direction of the behavior that we had originally.
00:13:12.080 --> 00:13:13.519
So a major behavioral change.
00:13:14.080 --> 00:13:14.320
Exactly.
00:13:14.720 --> 00:13:15.039
Exactly.
00:13:15.279 --> 00:13:47.519
But since we aren't still evaluating skill changes at a scale, like uh I still don't see um the the you know the the users, the the the customers I'm talking to, I still don't see them rigorously and systematically evaluating their skills and and and the changes they they put into their skills, uh then we don't have an easy way yet to say, oh, this change I made into the skill uh is completely changing the behavior, and so I should version it in a different way, right?
00:13:47.679 --> 00:14:09.039
I think as we get to the point where that becomes commonplace, and that whenever we change the skill, there are evals that prove that that change is good because it takes us where we want to go, then we have a more deterministic way and more uh you know uh solid way to say this is version 2.0 and not 1.1.
00:14:09.440 --> 00:14:09.600
Yeah.
00:14:10.240 --> 00:14:18.559
So so in your session, you you show APM, which when I first looked at it, I'm like, oh, you've you've been building a whole bunch on APMs.
00:14:18.639 --> 00:14:20.799
And actually, it's an agent package manager.
00:14:21.039 --> 00:14:22.720
Talk us through a little bit about the APM.
00:14:22.960 --> 00:14:32.879
Agent package manager is basically taking the idea of a package manager, like NPM, like node package manager, to the AI native development world.
00:14:33.519 --> 00:14:44.639
And it's doing that basically not to reinvent the wheel and solve some problems that we have found in A-nated development that we already solved in uh classic software engineering.
00:14:44.720 --> 00:14:44.799
Yeah.
00:14:44.960 --> 00:14:48.879
And I'm thinking about first reproducibility of setups.
00:14:49.039 --> 00:14:58.559
Like if you have some cool skills and you use them to develop our shared project, why should I ask you to send those to me over email?
00:14:59.519 --> 00:15:03.039
So I can't just basically install them from a manifest and done.
00:15:03.440 --> 00:15:06.399
But the other could be traceability as well.
00:15:07.120 --> 00:15:10.799
Like um reproducibility and traceability, it almost come together.
00:15:10.879 --> 00:15:26.320
Remember, when you install with npm, you get a log file generated, which contains all the um cryptographic signatures, hashes from the dependencies that you installed so that you can basically identify them as real as the ones you asked for.
00:15:27.039 --> 00:15:29.440
And so here with APM, you get a log file as well.
00:15:29.759 --> 00:15:37.600
Yeah, and with my kind of like security background hat on, I'm thinking auditability is very interesting as well.
00:15:37.759 --> 00:15:43.360
So, like, okay, what was used, what versions of what uh context was used when we built this?
00:15:43.679 --> 00:15:53.039
But also supply chains, when we think about the supply chain problems that, you know, when we when we go back to the dependency world, supply chains become a big problem.
00:15:53.279 --> 00:16:10.080
Um, so what are the supply chain issues that we should think about when using context from a Yeah, and this is at this is at the core of the trust gap that we need to close for enterprises to adopt uh, you know, uh agentic software factories.
00:16:10.240 --> 00:16:13.759
And you know, it in terms of supply chain.
00:16:14.159 --> 00:16:18.879
So, first of all, agency software factories are gonna be built by skills.
00:16:18.960 --> 00:16:20.240
We we said that before.
00:16:20.480 --> 00:16:33.120
So if we have a manifest and we have a log file, of what skills are bringing the behavior we want to the agents, to the agents we have working in our software factory, then we have traceability.
00:16:33.679 --> 00:16:33.840
Right?
00:16:34.000 --> 00:16:36.320
If we have the log file, we have traceability.
00:16:36.480 --> 00:16:45.919
We can track from the output that's generated from your factory back to the skills that play that role in building that.
00:16:46.240 --> 00:16:48.960
And this is essentially like a context bill of materials, right?
00:16:49.200 --> 00:16:54.799
Do you ever think that will be something that people will care about or need uh as part of audit?
00:16:55.200 --> 00:16:57.120
Yeah, I'm I'm very bullish on that one, right?
00:16:57.200 --> 00:17:02.000
So with APM, today you can generate what they call an agent bill of materials, right?
00:17:02.080 --> 00:17:10.000
An A-bomb instead of S-bomb, which is basically you take the log file and you look at all the dependencies and transitive dependencies, right?
00:17:10.240 --> 00:17:14.640
In APM, you can have a skill depending on other skills and yada yada, right?
00:17:14.720 --> 00:17:17.279
You can have this transitive dependency tree.
00:17:17.440 --> 00:17:34.240
And so from the log file, it's very easy to say here you have, here you have the bill of materials, here you have what went into my agent, which played a critical role in you know everything that happened when that agent ran, whether it was positive or not so great.
00:17:34.400 --> 00:17:34.559
Yeah.
00:17:35.200 --> 00:17:42.000
And so when bad things happen, you need to have a way to backtrack and say the problem was here.
00:17:42.480 --> 00:17:43.759
The problem was in this skill.
00:17:44.079 --> 00:18:06.559
And when we when we think about skills essentially acting as a guide to an agent, there are certain um times when an agent will do things very well and adhere to those skills, and actually maybe it
will know that, but statistically there will be times when it actually will not ignore per se, but maybe do things slightly differently to how the skill was asking.
00:18:06.799 --> 00:18:16.720
Um how do we when we think about um you know security being a key thing where we have policies, we need to do things in a certain way.
00:18:17.119 --> 00:18:24.400
How do we uh think about the difference between guidance and a true control that must be followed?
00:18:24.640 --> 00:18:32.160
Is this down to the validation level versus you know enforcing something at agent time to build in a certain way?
00:18:32.400 --> 00:18:33.039
Yeah.
00:18:33.440 --> 00:18:36.480
Alright, so the skills are always guidance, right?
00:18:37.119 --> 00:18:46.319
Even if you write in caps letters or you know, you repeat it ten times that you cannot do this, right?
00:18:46.480 --> 00:18:48.960
Um in capitals, very likely.
00:18:49.359 --> 00:18:56.559
I mean, you you can always have a model, because we say agent at the end at the underneath it's it's the model as well, right?
00:18:56.880 --> 00:19:00.480
Um doing something that you said in your skill you didn't want to.
00:19:00.559 --> 00:19:00.960
Yeah.
00:19:01.200 --> 00:19:04.400
Right, with uh with unwanted consequences.
00:19:04.640 --> 00:19:22.240
So we need to distinguish from what's absolutely a no-go, and that goes into the controls, the security controls that we put around that agent, from what's the behavior, um, let's say, what is the direction of travel for that agent?
00:19:22.400 --> 00:19:31.039
Like what is the kind of process and the way and the tools and the taste that we want that agent to have?
00:19:31.119 --> 00:19:31.359
Yeah.
00:19:31.599 --> 00:19:34.160
The role that we want that agent to follow.
00:19:34.319 --> 00:19:38.000
It's a little bit like when you when you hire somebody in the company.
00:19:38.880 --> 00:19:42.400
When you hire somebody in the company, you are going to interview this person, right?
00:19:42.480 --> 00:19:44.640
Because they already come with those skills.
00:19:44.880 --> 00:19:47.039
You don't have to install the skills on them, right?
00:19:47.200 --> 00:19:53.599
Uh, but at the same time, you'll give them a batch, and the batch allows them to enter the building, right?
00:19:53.680 --> 00:19:55.359
And that's the security control, right?
00:19:55.440 --> 00:19:59.119
And you give them a laptop that has some other security measures.
00:19:59.279 --> 00:20:02.000
So this is the same for agents, right?
00:20:02.079 --> 00:20:16.960
On one side we have the skills, but on the other side we have the security controls, which are like runtime, you know, runtime governance of checks, of you know, blocking at runtime what the agent is doing, sandboxes and permissions and all of that.
00:20:17.200 --> 00:20:24.960
And very uh retryable and deterministic in terms of their exact, totally deterministic, totally deterministic.
00:20:25.279 --> 00:20:28.079
Hey everyone, hope you're enjoying the episode so far.
00:20:28.319 --> 00:20:36.400
Our team is working really hard behind the scenes to bring you the best guests so we can have the most informative conversations about agentic development.
00:20:36.640 --> 00:20:42.000
Whether that's talking about the latest tools, the most efficient workflows, or defining best practices.
00:20:42.160 --> 00:20:45.759
But for whatever reason, many of you have yet to subscribe to the channel.
00:20:46.000 --> 00:20:52.720
If you're enjoying the podcast and want us to continue to bring you the very best content, please do us a favour and hit that subscribe button.
00:20:52.880 --> 00:21:00.240
It really does make a difference and lets us continue to improve the quality of our guests and build an even better product for you.
00:21:00.559 --> 00:21:02.160
Alright, back to the episode.
00:21:02.400 --> 00:21:05.680
One more question and then we'll jump into your talk.
00:21:05.839 --> 00:21:12.559
Um, for our audience listening, um they most likely have an existing agentic setup.
00:21:12.640 --> 00:21:20.799
Uh they probably have a bunch of, you know, maybe some skills, but definitely a bunch of prompts that may be shared and that they use probably quite regularly.
00:21:21.039 --> 00:21:29.599
What's what would you what would you recommend the first change they make next week to improve their general setup?
00:21:29.759 --> 00:21:29.920
Yeah.
00:21:30.160 --> 00:21:32.319
And how do you how should they measure it?
00:21:32.480 --> 00:21:39.119
How would they, how can they identify that it's actually, yes, this has made a tangible improvement to my day-to-day work.
00:21:39.359 --> 00:21:39.839
Right.
00:21:40.079 --> 00:21:53.599
Okay, so assuming that we are in a scenario where the team already has some shared skills and that they are using them and so on, I think one step, if it if they haven't done it yet, will be to centralize those in a catalogue.
00:21:53.920 --> 00:21:59.519
In a shared catalogue where everybody can go, can read them, can uh see them, can work in.
00:22:00.079 --> 00:22:03.839
Improving them, right, and can source them from there, right?
00:22:04.160 --> 00:22:09.119
And that creates already this inner sourcing kind of motion around those skills and that practice.
00:22:09.759 --> 00:22:14.400
The second one after that will be let's put some governance around that.
00:22:14.480 --> 00:22:18.720
And I'm thinking particularly about large regulated industries.
00:22:19.200 --> 00:22:33.440
Once you have that, then let's define a policy of what skills need to absolutely be there, depending on the task, on the project, on the team, which ones you don't allow, which ones you allow in, right?
00:22:33.680 --> 00:22:38.400
So that we can so that they can work towards some level of standardization.
00:22:38.640 --> 00:22:38.880
Yeah.
00:22:39.359 --> 00:22:40.240
And who owns that?
00:22:40.480 --> 00:22:47.599
Would you say maybe that's probably determined by the
scope of that skill, whether it's org level, team level, department level.
00:22:48.400 --> 00:22:57.440
Do you see the platform team maybe stepping in and owning those kind of things more as a hey, we're producing we're providing this as a service to a gentic developers?
00:22:57.759 --> 00:23:06.799
I totally see the platform team as the one spurheading the effort around a skill catalog, around some level of governance at the enterprise level.
00:23:06.960 --> 00:23:11.680
But then you are right, then it depends on the department, on the team, even at the project level.
00:23:12.000 --> 00:23:27.599
Or individually, even or individually, we we I see a world, and in APM you can do this with with uh with the policy engine, you can have a cascading inheritance of policies at uh repository, uh team, uh organizational level, and so on.
00:23:27.680 --> 00:23:33.200
And and this mimics very well, you know, what we were doing with uh platform engineering uh so far.
00:23:33.519 --> 00:23:34.799
Yeah, amazing.
00:23:35.119 --> 00:23:42.319
Um and how does someone recognize whether that change will actually have a positive impact day to day?
00:23:42.480 --> 00:23:48.079
Obviously, we have a lot of anecdotal, oh, this worked this one time, it's gonna work every time.
00:23:48.640 --> 00:23:50.000
How do we actually genuinely know?
00:23:50.319 --> 00:23:58.480
So once you have built that standardization, that first platform, then observation becomes, you know, the the next unlock.
00:23:58.640 --> 00:24:00.799
You unlock observability as well, right?
00:24:00.880 --> 00:24:02.480
Because you can start acting on it.
00:24:02.720 --> 00:24:13.519
So at the moment, that requires ingesting a lot of locks from the coding agents to see, okay, which skills are being used where and what happens when they are being used.
00:24:13.759 --> 00:24:32.240
So the same as we were measuring uh under Dora before, you know, before the AI era, here we are going the next level, we are measuring the skills that are, we are looking at the skills that are being used, and we need to connect those to the same Dora outcomes or whatever framework that's being used, right?
00:24:32.480 --> 00:24:45.519
And when we see uh that the the metrics that are important to us, like whether that's uh throughput of PRs merged by by week, by developer, or whatever that is, uh, then we can say, okay, this brought a positive impact.
00:24:45.759 --> 00:24:45.839
Yeah.
00:24:46.160 --> 00:24:57.680
Okay, so Daniel, let's project ourselves into the future slightly and say, we've got a team now, they've got their factory, um, it's built, it's working nicely, it's effective, it's it's performant.
00:24:58.319 --> 00:24:59.680
What does that leave then?
00:24:59.759 --> 00:25:01.839
What do we do as developers beyond that?
00:25:02.240 --> 00:25:02.720
Right.
00:25:03.039 --> 00:25:07.119
So there are there are two things that I see clearly today.
00:25:07.440 --> 00:25:12.000
One is there is gonna be
an operations team taking care of that factory.
00:25:12.400 --> 00:25:18.400
You know, same as we had DevOps teams taking care of all the DevOps practices and the DevOps infrastructure, we're gonna have that.
00:25:18.640 --> 00:25:22.400
And that's not per project, that's across an organization, across departments.
00:25:22.720 --> 00:25:30.880
It can be, you know, I can I can see a place where we may have tens of different factories working at the same time in an organization.
00:25:31.440 --> 00:25:36.000
Same way we have different DevOps pipelines uh operating per project, right?
00:25:36.240 --> 00:25:36.319
Yeah.
00:25:36.480 --> 00:25:40.720
So there are gonna be uh differences there or or or variations.
00:25:41.200 --> 00:25:48.000
But the the second thing is, okay, so that then where does where does the developer then focus on?
00:25:48.240 --> 00:25:54.079
And I think we're going to move to a place where we're gonna be focusing on, first of all, intent and decisions.
00:25:55.039 --> 00:25:57.119
Intent and decisions, right?
00:25:57.279 --> 00:25:59.839
Which is what should we develop and why?
00:26:00.000 --> 00:26:04.640
What should we ask our factory to develop and to to ship and why, right?
00:26:04.799 --> 00:26:18.880
And so the focus is gonna be much more put into you know humans talking to each other, exchanging ideas, or of what should we build and how will this help our users?
00:26:19.039 --> 00:26:20.319
And I think that's an exciting place.
00:26:20.640 --> 00:26:21.200
I do agree.
00:26:21.440 --> 00:26:26.799
Have you not just described a DevOps platform role and a product manager role?
00:26:28.400 --> 00:26:29.519
Kind of, right?
00:26:29.599 --> 00:26:38.640
I think I like to stay yet at a place where we deconstruct those labels from the past and wait to see what are the new labels of the future.
00:26:38.799 --> 00:26:38.960
Yeah.
00:26:39.599 --> 00:26:44.799
Because when we stay with the core ideas, I think we are freer to invent what's next.
00:26:45.119 --> 00:26:45.920
Amazing.
00:26:46.240 --> 00:26:50.000
Now, Daniel, you are good, you haven't given your session yet at AIDEF CON.
00:26:50.240 --> 00:26:56.880
Um, so I'm gonna ask uh present Daniel here to introduce future Daniel, who's gonna present on stage.
00:26:57.200 --> 00:27:00.000
Uh what are you what are the topics that you're gonna be talking about?
00:27:00.160 --> 00:27:01.680
And please introduce your session.
00:27:02.000 --> 00:27:02.319
Right.
00:27:02.720 --> 00:27:07.920
So, you know, the session is titled Version Your Factory, not just your code.
00:27:08.160 --> 00:27:09.680
That's the opening, right?
00:27:09.759 --> 00:27:20.799
And and the idea behind that is that there is one element that's missing today from the plethora of agent primitives like skills, MCPs, and hooks and so on.
00:27:21.039 --> 00:27:23.759
And that's something that I call agent contracts.
00:27:24.160 --> 00:27:29.359
Like, what's the single unit of work that helps you build a factory?
00:27:29.440 --> 00:27:31.920
And that's what you are calling loops in Tesla, right?
00:27:32.160 --> 00:27:43.279
But from there, I will go into what is missing for enterprises to close the trust gap and start operating agency software factories in production.
00:27:43.599 --> 00:27:55.279
And that's gonna be all related to things like you know, the security, the trustability, the integrity, the provenance checks, and the supply chain basically of an agentique software factory.
00:27:56.720 --> 00:27:58.319
Daniel, massive thank you.
00:27:58.559 --> 00:28:00.319
Really, really appreciate you joining us.
00:28:00.559 --> 00:28:02.799
Um, and over to future Daniel.
00:28:03.119 --> 00:28:05.279
Thank you, Simon, and thank you for bringing me here.
00:28:05.519 --> 00:28:07.200
Excited to present very soon.
00:28:07.440 --> 00:28:07.920
Thank you.
00:28:08.400 --> 00:28:10.160
All right, so hello.
00:28:10.319 --> 00:28:20.000
So I just wanted to say that from you know uh what my role is, I'm not in engineering or product, I'm in solution sales in technical, technical solution architecture.
00:28:20.160 --> 00:28:29.440
So my organization is all about advising large enterprise organizations on adopting AI coding agents and transforming towards agentic SDLC, right?
00:28:29.519 --> 00:28:43.200
And that's been the core of my work uh throughout uh GitHub, now Microsoft, and I'm gonna talk a little bit about you know why we need to version factories and where does that lead us?
00:28:43.440 --> 00:28:52.000
And that's gonna be coming from experience in the field with large enterprise, often regulated organizations.
00:28:52.400 --> 00:28:56.720
All right, so let's think that we are in a bank, right?
00:28:56.880 --> 00:29:10.400
We are developing software for a bank which runs maybe its own uh core banking system, and you know, we are tasked with creating a change in code to change how payments work.
00:29:10.559 --> 00:29:18.240
So I'm reading here, hey, we need to hold wires of more than 10k dollars for internal approval for whatever reason, right?
00:29:18.400 --> 00:29:25.599
And let's say our factory generates this pull request, so the question is will you auto-merge it?
00:29:27.440 --> 00:29:30.799
And I'm pretty sure every bank today will say no.
00:29:31.680 --> 00:29:32.079
Right?
00:29:32.240 --> 00:29:42.720
And we can have risk classifiers, we can have verifiers, we can have a lot of these things, but the answer to that question will very likely be no for some time.
00:29:42.880 --> 00:29:51.680
And what I'm gonna focus on is what do we need so that this can be auto-merged one way, one day, confidently.
00:29:52.559 --> 00:29:59.279
Alright, so recapping, I think by now we all know what an agentic software factory ideal or concept is.
00:29:59.440 --> 00:30:10.240
We get the intent in, our agentic software factory runs an automated agentic process to basically transform this into code, code changes.
00:30:10.480 --> 00:30:17.839
Now, the problem with that is that we create new bottlenecks, and this has been repeated over and over and over yesterday.
00:30:18.000 --> 00:30:27.359
Uh, one of those bottlenecks is CI, we get so many pull requests, CI runs everything again, and and this becomes a bottleneck, and the other one is us, humans.
00:30:27.440 --> 00:30:31.359
And we just heard in the keynote that we need to remove all humans, right?
00:30:32.000 --> 00:30:38.319
And if we don't do this, a genetic software factories cannot scale in large organizations either, right?
00:30:38.640 --> 00:30:42.400
So that's another piece of the problem that we need to solve.
00:30:42.960 --> 00:30:47.359
Today we seem to be converging on the idea of a risk classifier, right?
00:30:47.440 --> 00:30:59.200
Which is basically, hey, uh we identify what the code change is changing and uh then route it to a human only when the risk is uh you know justifying that.
00:30:59.519 --> 00:31:06.799
But this is, as I said before, this is not enough uh for large regulated enterprise organizations, right?
00:31:07.039 --> 00:31:18.559
Because even when we auto-merge in this scenario, then there are a lot of questions about which genetic software factory created that change and do we trust it?
00:31:18.880 --> 00:31:22.960
There is no trust yet, just based on a risk classifier.
00:31:23.920 --> 00:31:33.759
Every single time I talk with large enterprises going through this journey, there are four elements that come up in conversations all the time about what's needed.
00:31:33.920 --> 00:31:36.160
The first is verification.
00:31:36.400 --> 00:31:44.640
How can we be sure that what the Agentive Solar Factory produced as code meets the intent we have and does it well?
00:31:45.119 --> 00:31:58.559
The second one is about hey, did that code change uh was that code change authored following our standards, our platform engineering standards, our compliance frameworks?
00:31:58.720 --> 00:32:03.839
Uh did it uh uh did it uh follow our coding styles and so on, right?
00:32:04.400 --> 00:32:06.400
Which are often already in place?
00:32:07.039 --> 00:32:09.279
The third one is traceability.
00:32:09.440 --> 00:32:18.640
Like, you know, if I have a code change that I have merged that came from an agentique software factory that used, I don't know, how many skills, how can I trace that back?
00:32:18.799 --> 00:32:26.640
If something goes growing in production, how can I trace that back to the skill that I need to improve or the factory that was compromised?
00:32:27.440 --> 00:32:30.240
And the th and the last one is security.
00:32:30.720 --> 00:32:39.039
And and it's a little bit related to the to the rest, which is uh, you know, agentic solver factories become a new surface of attack.
00:32:39.200 --> 00:32:47.680
And it becomes a very lucrative and a very interesting surface of attack because now these agentics over factories are gonna generate all the code, right?
00:32:47.839 --> 00:32:50.480
They will remove all humans from coding.
00:32:50.960 --> 00:32:53.680
So the security aspect is super important.
00:32:54.720 --> 00:33:01.200
Now I want us to think about how we built trust for classic software before the AI era.
00:33:02.240 --> 00:33:06.079
And how did we build that, technically speaking, right?
00:33:06.720 --> 00:33:12.799
To me, software runs on a fabric of trust, kind of, if I can use that metaphor.
00:33:13.039 --> 00:33:22.160
There are several elements that brought us to where we are today, where software runs every uh a lot of mission critical applications.
00:33:22.400 --> 00:33:24.400
It all starts with versioning.
00:33:24.559 --> 00:33:31.599
It starts with versioning because versioning is about giving an identity to software artifacts, the fingerprint.
00:33:31.759 --> 00:33:39.920
Sure we see uh we see version 1.0, 2.0, but behind that we have a digest and we have a fingerprint.
00:33:40.240 --> 00:34:06.400
Once we have that, we can start creating the rest of the elements that compose this fabric of trust, like inventories, provenance, the evidence, like and we have created a lot of standards so far to standardize this and speak the same language when we check what should we run and what do we trust, what software do we trust to be run in our environments, right?
00:34:06.559 --> 00:34:10.639
Like Cyclone DX, SLSA, In Toto, and so on.
00:34:11.679 --> 00:34:21.119
Uh we invented signatures, and finally, ultimately, with all of the above, we could create admission uh admission checks.
00:34:21.360 --> 00:34:34.320
Basically, a policy that's unique to each enterprise, which says, all right, I'm gonna check the inventory of the bill of materials of this software, I'm gonna check which organization created it and signed it, right?
00:34:34.400 --> 00:34:40.239
And based on all those things, I'm gonna validate that this software can run in my bank.
00:34:40.480 --> 00:34:40.960
All right.
00:34:41.440 --> 00:34:48.559
And so the question is when agentique software factories generate software, where do we leave all of this?
00:34:48.800 --> 00:34:50.719
Where is the fabric of trust?
00:34:51.760 --> 00:34:52.159
Right?
00:34:52.480 --> 00:34:56.000
I don't think we have a lot about that today yet.
00:34:57.760 --> 00:35:00.239
So we need to build that.
00:35:00.800 --> 00:35:07.920
And to build that, I like to think about a factory as an agency program, as software.
00:35:08.800 --> 00:35:21.360
Because we saw yesterday, for example, how uh shout out to Tesla with uh the loops concept and uh some other vendors like ourselves with GitHub uh automations, we call them automations.
00:35:21.599 --> 00:35:30.320
At the end of the day, it's a bunch of skills, a bunch of prompts running a process that we have written in in natural language, right?
00:35:30.800 --> 00:35:34.960
And a factory is a collection of those that are chained together.
00:35:35.280 --> 00:35:39.599
That looks to me like a
program, like a software program chaining functions.
00:35:39.920 --> 00:35:42.480
And so if it's a program, we should version it.
00:35:42.719 --> 00:35:46.320
Because identity is the first thread of the trust fabric.
00:35:48.239 --> 00:35:58.639
The other problem we have to solve today is that in the proto factories we're starting to create, we are gluing together a lot of loose parts, right?
00:35:58.880 --> 00:36:09.360
We saw skills, prompts, scripts, maybe some proxies and and elements on the networking layer, on the sandbox layer, environment layer, infrastructure layer.
00:36:09.519 --> 00:36:11.519
It's a lot of loose parts, right?
00:36:12.400 --> 00:36:18.320
So we have all those loose parts with which we can compose a factory and build that ourselves.
00:36:18.559 --> 00:36:27.440
And the other alternative is just go with a vendor, right, which are starting now to propose a way to create factories, right?
00:36:27.519 --> 00:36:35.840
In the case of GitHub its automations, in the case of Tesla its loops, in the case of Codex, uh uh no or cursor, it's also automations, right?
00:36:35.920 --> 00:36:38.400
But that's getting us locked in, right?
00:36:38.480 --> 00:36:40.800
It's a nice UI, UX and so on.
00:36:40.960 --> 00:36:47.039
But once we build our factory there, it's very hard to take it somewhere else and run it in another hardness one day, right?
00:36:47.679 --> 00:37:01.760
So what's missing in between, in my opinion, is a single unique way, standard way to define the smallest element that defines a unit of work, of agent work.
00:37:03.280 --> 00:37:04.800
What do I mean with this?
00:37:06.960 --> 00:37:13.840
This metaphor I think is gonna make us uh converge, so I call it agent contracts.
00:37:14.159 --> 00:37:14.559
Right?
00:37:14.800 --> 00:37:18.639
I don't call it automations, I don't call it loops, I call it agent contracts.
00:37:18.800 --> 00:37:25.039
In the same way that when we uh sign up for a job with a company, we sign a contract.
00:37:25.360 --> 00:37:34.559
I do think that what can help us standardize and make software factories portable are agent contracts.
00:37:35.199 --> 00:37:45.039
A simple markdown file where we define the assignment or we admit we we basically has an as input, external input, the assignment.
00:37:45.199 --> 00:37:46.400
The assignment can change.
00:37:46.559 --> 00:37:55.440
One day, one day the agent can be asked to perform one uh one software change in one piece of software, the next day another one.
00:37:55.599 --> 00:38:02.639
But what doesn't change is the role, the role in which the agent signs itself for in this contract.
00:38:02.960 --> 00:38:07.280
The dependencies, what's made available for the agent to perform this job.
00:38:07.519 --> 00:38:14.400
And the budget, like how much are we happy to pay for, right, for this job to get done.
00:38:14.719 --> 00:38:19.360
It resembles a lot to kind of work contracts that we sign in real life, right?
00:38:19.519 --> 00:38:31.519
And what we get back are the results of the checks, the verification, and the deliverables, like software changes or or change diffs of pull requests, right?
00:38:32.960 --> 00:38:46.480
So once we are able to define agent contracts in a simple markdown file with front matter YAML, or you know, the that's a possible format for it, then we can version it.
00:38:47.760 --> 00:38:53.360
This contract can link the skills and everything that's required for the agent to do the job.
00:38:53.679 --> 00:38:57.679
And it becomes a program, an agentic program.
00:38:58.400 --> 00:39:16.719
It becomes a program that it's version that allows composition, we can start composing contracts between themselves, it allows portability if more harnesses and vendors accept it, and it's identifiable and it allows us to start building the fabric of trust.
00:39:17.039 --> 00:39:17.599
Alright.
00:39:17.920 --> 00:39:22.000
So a factory can be thought of as a graph of contracts.
00:39:22.159 --> 00:39:38.400
Like if we have an agent contract that's for planning, another one for specification, then another one for building and implementing the actual code for documentation, for reviewing, for a lot of different tasks, we chain them together and we have our factory.
00:39:38.639 --> 00:39:43.599
We give it a version, we get the fingerprint, and we have the identity of the factory.
00:39:43.920 --> 00:39:44.559
Right?
00:39:45.840 --> 00:39:52.400
And so if a factory is a program, then once we have that definition, what runs it?
00:39:52.559 --> 00:39:52.960
Right?
00:39:53.199 --> 00:39:59.280
And so I want to get my uh I I want to get it to run right now.
00:40:00.079 --> 00:40:11.599
So let's let's imagine we have basically the um the pull request example that I showed at the beginning, the intent here uh defined in markdown.
00:40:11.840 --> 00:40:14.239
Whole large wires to new pages, right?
00:40:14.320 --> 00:40:23.440
This is intent, it can come in the form of uh of an issue, of uh markdown file, of a message from a colleague on a Slack, of whatever it is, right?
00:40:23.599 --> 00:40:27.039
I have defined here, I have defined it here in a markdown file.
00:40:27.199 --> 00:40:28.800
So here we have that, right?
00:40:29.119 --> 00:40:35.599
And this is our core banking uh software, contoso payments, whatever.
00:40:35.760 --> 00:40:36.000
Okay?
00:40:36.880 --> 00:40:37.360
Great.
00:40:37.599 --> 00:40:39.280
And then we have our factory.
00:40:39.440 --> 00:40:41.920
This is our these are all public repositories.
00:40:42.079 --> 00:40:43.840
You will get access to that later.
00:40:44.079 --> 00:40:48.559
And so in our factory we have uh a contracts folder.
00:40:48.880 --> 00:41:05.599
And these contract folders we have a bunch of contracts, like they're from the graph that you've seen before, and for example, the build contract, which specifies, hey, as input I need the intent, the request, then the specification from the previous contract.
00:41:05.760 --> 00:41:11.599
I will produce a diff and I will import this specific skill, right?
00:41:11.679 --> 00:41:18.800
And I have this budget and so on, and this is the the role, the role uh of the uh agent contract.
00:41:19.119 --> 00:41:19.760
All right.
00:41:20.719 --> 00:41:23.440
So those are those are our program files.
00:41:23.599 --> 00:41:31.519
And then we have this APM YAML file, which can be thought of as a package.json file uh in the npm world.
00:41:31.599 --> 00:41:35.039
Uh this is from agent package manager, and it's defining our dependencies.
00:41:35.199 --> 00:41:39.440
Like, what are the skills that are required for me to run this factory?
00:41:39.760 --> 00:41:55.119
And once we uh have this manifest here defining the dependencies and they get installed, then our contracts can link them, import them as modules, as we do in in uh in uh usual uh programming languages, right?
00:41:56.159 --> 00:42:05.519
And so with that, I'll use APMX, and you can see the analogy here to the NPM world or UV or whatever, right?
00:42:05.599 --> 00:42:14.239
We have NPM NPX, we have UV, UVX, you can hear see the analogies, and I will use that to run uh the factory.
00:42:14.400 --> 00:42:17.840
And I will run it, and I hope you can see that in two terminals.
00:42:18.159 --> 00:42:22.320
One is gonna basically run the factory on Copilot as a harness.
00:42:22.639 --> 00:42:24.480
I'm gonna launch that right now.
00:42:24.880 --> 00:42:28.320
And on the right hand side, it's gonna run it on open code.
00:42:28.559 --> 00:42:29.039
All right.
00:42:29.199 --> 00:42:42.239
And you can see that the first thing that's happening is that Agent Package Manager, which is akin to NPM, is reading the manifest, installing the dependencies, locking them in a log file, and then the factory can run as a program.
00:42:42.400 --> 00:42:45.599
And we can see here the chaining of the Ethereum contracts.
00:42:45.760 --> 00:42:50.320
The first one is called planning being run on the hardness of choice.
00:42:50.480 --> 00:42:58.159
So this is a demonstration of how we can have a portable open format that can eventually run on any harness.
00:42:58.639 --> 00:42:59.039
Right?
00:42:59.280 --> 00:43:01.760
I will leave leave that running, okay?
00:43:02.559 --> 00:43:05.599
And let's come back to the presentation.
00:43:05.760 --> 00:43:12.239
Okay, so APM, I have uh introduced that briefly, is a package manager for agents.
00:43:12.320 --> 00:43:14.000
It's an open source project.
00:43:14.159 --> 00:43:22.400
I started that that independently, and then uh as I am employed by Microsoft, I transfer it to the Microsoft open source organization.
00:43:22.559 --> 00:43:23.039
All right.
00:43:23.280 --> 00:43:28.079
The uh intent here is to move it to a neutral foundation, working on that.
00:43:28.239 --> 00:43:29.840
And the idea is pretty simple.
00:43:30.000 --> 00:43:45.920
We have a manifest with the dependencies, we have a log file that's generated
when we install, and then we can create a policy in the enterprise which says what are the dependencies we want to allow in and what are the dependencies that we want to deny, and many other cool things.
00:43:46.159 --> 00:43:46.719
All right.
00:43:47.119 --> 00:43:54.800
And so APMX is about running these uh modules as programs, the contracts as programs, right?
00:43:54.880 --> 00:43:59.519
Which depend on scales, MCP, hooks, and whatever it is, right?
00:43:59.599 --> 00:44:08.639
So So we can run it on any coding agent, and as a result, we are gonna get our pull request, our div, but we are also gonna get a receipt.
00:44:09.199 --> 00:44:13.519
We are gonna get a receipt, and that's the second important element here.
00:44:13.760 --> 00:44:17.760
One is the contracts, and the other is the receipt of the run.
00:44:19.039 --> 00:44:21.039
And so why is the receipt important?
00:44:21.199 --> 00:44:23.920
Alright, let's go back to uh to how this works.
00:44:24.159 --> 00:44:31.440
We get intent in, we have the factory as a as a chain of contracts or loops or automations or whatever it is, right?
00:44:32.079 --> 00:44:35.039
It generates the div, of course, but also the receipt.
00:44:35.199 --> 00:44:36.800
And the receipt is signed.
00:44:37.039 --> 00:44:47.199
The receipt is signed by whichever machine which run our factory, which we want we choose to trust as the runner of our factory.
00:44:47.360 --> 00:44:47.840
All right.
00:44:48.320 --> 00:44:53.039
Then we have our rules, our policies, which define, hey, which factories do we trust?
00:44:53.280 --> 00:44:54.880
Which skills do we allow in?
00:44:55.039 --> 00:44:56.320
Which ones do we deny?
00:44:56.480 --> 00:45:00.159
Oh, we heard about a skill that was compromised, we're gonna deny it there, right?
00:45:00.320 --> 00:45:01.760
It's our set of rules.
00:45:01.920 --> 00:45:03.679
And then we have a gate.
00:45:03.840 --> 00:45:08.960
And that's typically implemented in CI CD in the pull request targeting main, right?
00:45:09.119 --> 00:45:12.079
Uh those are the checks that can run in CI C D.
00:45:12.320 --> 00:45:18.559
And I've chosen to implement that as a demonstrator with a command that's APMX audit.
00:45:18.719 --> 00:45:30.880
It's just gonna uh read the receipt, read the policy, check whether there is, you know, there is alignment between those and block the uh the pull request or auto merge it.
00:45:32.159 --> 00:45:34.159
Alright, so let's look at the receipt.
00:45:34.639 --> 00:45:42.079
The receipt is based on uh open standards that we all know about in the software supply chain world.
00:45:42.320 --> 00:45:48.159
So if we look at the first block, that's based on SLSA provenance and it gives us traceability.
00:45:48.320 --> 00:45:57.360
It allows us to understand that the output, the div that was generated, comes from this factory.
00:45:57.679 --> 00:46:03.039
Because they are chained uh through their fingerprints, through the digests, right?
00:46:03.199 --> 00:46:04.800
The versions, right?
00:46:05.679 --> 00:46:12.239
Then we have the results of the checks, the checks that have been defined in each contract and are immutable by the agents.
00:46:12.320 --> 00:46:14.320
The agents cannot change those checks.
00:46:14.480 --> 00:46:17.519
Remember that agents cannot be trusted, right?
00:46:17.760 --> 00:46:19.760
They can change the rules of the game.
00:46:20.000 --> 00:46:28.000
So we need to also cryptographically um change the the results of the checks and the checks themselves in the receipt, in the evidence, all right?
00:46:28.159 --> 00:46:29.679
And that's based on in total.
00:46:30.320 --> 00:46:32.800
And then we have our agent bill of materials.
00:46:32.960 --> 00:46:35.119
It's acting to the software bill of materials.
00:46:35.199 --> 00:46:38.559
It's about what's the composition of the factory, right?
00:46:39.840 --> 00:46:41.679
And finally, we sign it.
00:46:41.840 --> 00:46:49.599
We sign it with a trusted signer that cannot be the same machine that runs the factory, because we cannot trust the agents, right?
00:46:49.679 --> 00:46:51.519
So it has to be something else.
00:46:51.679 --> 00:46:54.079
And that gives us security, right?
00:46:54.960 --> 00:47:00.800
And ultimately, it's this receipt which allows us to build that fabric of trust, right?
00:47:01.039 --> 00:47:04.559
So we get the identity as the factory version and fingerprint.
00:47:04.719 --> 00:47:10.000
We get the inventory as the agent bill of materials out of the APM log file, right?
00:47:10.639 --> 00:47:12.960
We get the provenance with SLSA.
00:47:13.679 --> 00:47:36.480
We get the evidence within total, thanks to the check results and the checks themselves, change to the receipt, change to the output, and we get uh you you know we get attested provenance with the signature, and ultimately we can create a gate to auto-merge based on actual evidence, not just risk classification.
00:47:36.719 --> 00:47:37.119
Right?
00:47:37.360 --> 00:47:41.599
With a simple command, for example, APMX audit.
00:47:41.760 --> 00:47:48.639
My goal here is not to position this tool or that tool, but what's needed, what we need as an industry to create trust.
00:47:49.039 --> 00:47:52.079
So what happens then?
00:47:52.239 --> 00:47:54.079
All right, so the model is pretty simple.
00:47:54.159 --> 00:47:57.039
We have the receipt, we have the gate, we have the rules.
00:47:57.840 --> 00:48:22.480
We have a command, APMX audit, that we can run on pull requests as a check, which is gonna look at the evidence, look at the diff as the output, make sure that there is the integrity, the provenance, the checks passed, that there was no tampering, that we trust the designer, that the policy that we have defined is respected, and then we're gonna have a result, either valid or invalid, right?
00:48:22.719 --> 00:48:31.360
And that's the verification of you know that fabric of trust that we have chosen uh to to
basically accept, right?
00:48:32.320 --> 00:48:34.960
All right, so I'm gonna move faster here.
00:48:36.239 --> 00:48:36.559
Okay.
00:48:38.480 --> 00:49:02.559
What this allows us to do is to basically forgo human review, forego a lot of CI processes that are creating bottlenecks, and auto-merge, but not just based on risk classification and our personal confidence or very smart engineers we have hired who say, Yes, I trust my factory, but actual evidence that we can trace back.
00:49:02.880 --> 00:49:26.159
And then when an auditor comes in, because we are a regulated organization like a bank or a pharma company, if something goes wrong, we can point exactly at our controls that follow a certain regulatory framework, we can point back to the skill or the factory that we decided to trust, we can point back to what went wrong, and we can take action.
00:49:26.239 --> 00:49:29.280
And we can place the responsibility where it has to be.
00:49:30.639 --> 00:49:36.559
Alright, so there are several questions that this approach help us answer, right?
00:49:36.800 --> 00:49:39.199
So for example, production broke.
00:49:39.599 --> 00:49:50.320
And so if production broke and everything in production was built by a factory, then the question is which factory is responsible and which step precisely?
00:49:50.559 --> 00:50:02.480
Well, because we have this receipt that changed the outputs to the evidence, then we can trace back from the source code back to the receipt and back to the factory.
00:50:02.639 --> 00:50:07.039
Thanks to the versioning, which starts everything because it assigns an identity.
00:50:08.079 --> 00:50:14.559
Another question we can answer is hey, a skill in the open source world that we are using was compromised.
00:50:14.719 --> 00:50:16.079
So who's exposed?
00:50:16.320 --> 00:50:21.760
Just look at the agent bill of materials of every single receipt that you stored, right?
00:50:22.400 --> 00:50:26.400
And then find which factories are using those and patch it.
00:50:26.639 --> 00:50:34.880
Revoke it in the rules, the gate will start forbidding any output from those factories from going to production until you fix that.
00:50:35.280 --> 00:50:36.239
Alright.
00:50:36.559 --> 00:50:36.880
Okay.
00:50:37.280 --> 00:50:38.800
So then next question.
00:50:39.039 --> 00:50:40.159
The checks passed.
00:50:40.239 --> 00:50:46.800
The checks that we have defined in the contracts, which are exactly our quality bar now, they passed.
00:50:46.880 --> 00:50:48.719
But did the agent change them, right?
00:50:48.800 --> 00:50:52.719
We have seen agents gaming the checks uh consistently.
00:50:52.960 --> 00:50:55.519
So hey, checks live in the contracts.
00:50:55.679 --> 00:51:04.239
They don't, they they are not expected to be created by the same agent who work in the factory, so they cannot be changed.
00:51:04.400 --> 00:51:07.599
They are crypto fac cryptographically tied into the receipt.
00:51:07.840 --> 00:51:11.679
So if somebody tampers those, you are gonna find out.
00:51:12.239 --> 00:51:16.320
And they are enforced in the gate with the audit command, right?
00:51:16.800 --> 00:51:19.920
So it's not possible to tamper those.
00:51:20.320 --> 00:51:29.840
Alright, and so let's imagine, hey, we want to add new checks, because of course the checks at the end become here our bar for auto-merge, for trust, right?
00:51:30.320 --> 00:51:33.280
So how can we ensure that they become mandatory?
00:51:33.679 --> 00:51:37.440
Well, if we create new checks, this changes the factory.
00:51:37.519 --> 00:51:41.760
And so we can basically release a new factory version, right?
00:51:41.920 --> 00:51:46.880
If we change the checks which are tied in the contracts, then we have a new version of our factory.
00:51:47.039 --> 00:52:01.199
If we create a new version of our factory, then we can't go to our policy file and say, now we are only going to accept uh divs coming from uh factories above version 2.1, for example, right?
00:52:01.360 --> 00:52:09.920
And so our APM X audit command, the gate, will forbid any output coming from uh older factory versions.
00:52:11.039 --> 00:52:11.679
All right.
00:52:12.800 --> 00:52:16.239
And so, well, you there is another question that we can answer.
00:52:16.320 --> 00:52:21.440
You know, in the policy, we can also define, hey, what are the skills that the factories can use, are allowed to use.
00:52:21.519 --> 00:52:34.000
Again, we have that policy in the rules, uh the the dependencies are tied in the manifest in the log file, we can check uh with the audit command and we can gate based on that.
00:52:34.400 --> 00:52:39.679
Those are just some examples of what this approach can help us with.
00:52:40.000 --> 00:52:52.880
So now if I go back to the factory runs, I can see on the copilot run that the different contracts were run: planning, specification, build, documentation, review.
00:52:53.679 --> 00:52:59.920
What allows state to flow through the contracts is basically uh files, right?
00:53:00.000 --> 00:53:03.760
So it's markdown files, it's diffs, it's whatever files that go into disk.
00:53:03.920 --> 00:53:07.920
So a contract generates files, another contract will consume those files, right?
00:53:08.000 --> 00:53:29.280
We see it completed, and we can see the outputs it generated, the receipt that was generated in Intoto uh in an Intoto file, and um I can run the audit command quickly to show, hey, now eventually if we run this audit command, which should run in CICD.
00:53:30.719 --> 00:53:40.000
Can we check that the integrity is there, that the provenance is the one that we uh that we decided to trust, that the checks run, that they were valid, etc.
00:53:40.239 --> 00:53:42.800
So we can see that happening there locally.
00:53:43.039 --> 00:53:48.800
Of course, here we didn't sign the receipt, so the the check doesn't pass.
00:53:49.519 --> 00:53:57.519
Eventually, what we need to do is to add that uh add that command as a check to
a pull request.
00:53:57.679 --> 00:54:36.000
So I have here a pull request generated by the factory, and as a check, I have a single one, the audit command, eventually we should have also code scanning and stuff like that, which runs the APMX audit command, and the uh basically all the checks pass, the receipt is signed, it was signed by the environment which ran the factory, you know, it can be CICD, it can be a Kubernetes cluster, it can be wherever you decide to run your factories, and that uh becomes a valid statement that allows us to say, okay, can we auto-merge this now, right?
00:54:36.159 --> 00:54:39.840
And we have traceability and all those properties I spoke about.
00:54:41.280 --> 00:54:55.119
All right, so I'm gonna close by saying we s we seem to be all converging into something like some sort of definition of the smallest unit of what a factory is.
00:54:55.360 --> 00:55:03.199
You know, Tesla was speaking yesterday about loops, we have a lot of vendors speaking about automations, I'm speaking about contracts.
00:55:04.159 --> 00:55:07.199
What I do think is that we need a shared format.
00:55:07.360 --> 00:55:14.320
If we do want portability of agentic software factories, we need a shared format, a shared standard.
00:55:14.639 --> 00:55:17.280
And we need not to reinvent the wheel.
00:55:17.440 --> 00:55:21.920
We created a lot of this fabric of trust in the past for classic software.
00:55:22.079 --> 00:55:29.199
Let's not reinvent the wheel and use the lessons learned to build the same fabric of trust for agentic software factories.
00:55:29.360 --> 00:55:31.679
And let's do that in the open, right?
00:55:32.239 --> 00:55:36.400
So we need to define factories as code in an open format.
00:55:36.559 --> 00:55:49.280
We need to version them because it all starts with versioning, which is identity, and we need then we can then gate on evidence, on actual evidence, and it and we get the trustability, the provenance, the portability.
00:55:49.360 --> 00:55:52.320
Uh we skip CI, we skip PR reviews.
00:55:52.559 --> 00:55:58.320
And I think this is how Agentic Sober Factories can scale to large regulated enterprises.
00:55:58.800 --> 00:56:03.599
Alright, so this is a proposition for an open format that I have published.
00:56:03.679 --> 00:56:05.119
Uh it's a draft.
00:56:05.280 --> 00:56:11.119
I think this is the perfect conference to invite you to participate in the conversation.
00:56:11.440 --> 00:56:21.679
I hope that uh from there we'll be able one day to say, hey, we're gonna change the payment systems in the bank and we can even auto-merge.
00:56:22.320 --> 00:56:23.840
All right, thank you very much.
00:56:23.920 --> 00:56:28.159
With that, I leave you with the QR code for all the content.
00:56:28.320 --> 00:56:28.960
Thank you.
00:56:29.119 --> 00:56:32.000
And any questions, I think we have one minute.
00:56:32.639 --> 00:56:33.199
All right.
00:56:33.599 --> 00:56:34.400
Thanks.
00:56:38.000 --> 00:56:38.159
Thank you.
00:56:38.400 --> 00:56:39.519
I need to talk to you about the content.
00:56:40.000 --> 00:56:40.559
Thank you, Daniel.
00:56:40.639 --> 00:56:41.840
That was an amazing session.
00:56:42.719 --> 00:56:45.360
Um are you gonna be doing questions now or do you want to get them off the stage?
00:56:45.679 --> 00:56:48.239
Uh if we have time, then I can pick a couple of questions.
00:56:50.480 --> 00:56:51.199
Oh, there we go.
00:56:52.480 --> 00:56:53.119
I'll come down.
00:56:55.519 --> 00:56:56.320
Let me come down.
00:56:56.559 --> 00:56:57.679
I can do the exercise.
00:56:59.119 --> 00:57:03.360
Um so as part of the checks that you're defining as part of these kind of these agents.
00:57:03.519 --> 00:57:06.239
First first off, I love the kind of like OPA design of all of this.
00:57:06.320 --> 00:57:08.000
I think that makes uh a ton of sense.
00:57:08.239 --> 00:57:27.199
Um but in regards to the checks, um, are are you kind of uh alluding to kind of them almost being a replacement more for like unit and integration tests um in that, or is it more specific, kind of like evaluated assertions of the specific code that you're producing as part of that individual agent execution?
00:57:27.519 --> 00:57:27.920
Yeah.
00:57:28.159 --> 00:57:33.280
Yeah, so the checks have to be deterministic, in my view.
00:57:33.519 --> 00:57:37.039
The checks that you define in a contract ought to be deterministic.
00:57:37.360 --> 00:57:44.079
Because that's that's basically the hardness around the model that you can basically trust, that elevates trust.
00:57:44.239 --> 00:57:56.239
So a check could be hey, what is if we have a contract for writing specifications, then maybe there is a specific format in which you want to make sure that the specifications are written, right?
00:57:56.320 --> 00:57:57.679
So that could be one check.
00:57:57.920 --> 00:58:04.000
If you have a contract for performing pull review, uh pull request reviews, then maybe it's about the format.
00:58:04.079 --> 00:58:18.079
Maybe if you have one for building uh divs, actual code, then maybe it's about, hey, uh you can attach this piece of code, or you have to follow this style, so linting and stuff like that.
00:58:18.800 --> 00:58:31.599
Yeah, because I think of like in a world where like your organization that may already be following over, where like it's part of your photo check maybe that like your CI has and things like that, but those are searching to staging and so on and so forth.
00:58:31.920 --> 00:58:43.119
Um I just refer to kind of saying like it helps reduce the load on CI exactly how that kind of intersects with uh uh like uh main types of changes.
00:58:43.360 --> 00:58:51.440
Like the problem somewhere is that like CI is kind of main changes, and like you kind of like retest on CI or you have retest on merge, or you can see it.
00:58:51.760 --> 00:58:57.119
The idea is that you skip test uh running the checks again in CI because you have the evidence that they have run.
00:58:57.360 --> 00:59:00.719
You have trusted evidence sign that they have run and they have passed.
00:59:00.880 --> 00:59:05.760
So the idea is that you can you you should you don't need to run them again in CI centrally.
00:59:05.920 --> 00:59:10.480
So shifting left testing as much as possible in a in a trusted way.
00:59:14.000 --> 00:59:14.639
Time for waterfall.
00:59:14.960 --> 00:59:15.440
Sure.
00:59:16.400 --> 00:59:17.280
And hello.
00:59:17.440 --> 00:59:20.639
Um waterfall was a bad idea for humans.
00:59:20.880 --> 00:59:24.000
Why would waterfall be a good idea for AI?
00:59:24.400 --> 00:59:26.880
Sorry, can can you because there is a lot of echo.
00:59:27.039 --> 00:59:28.000
I didn't hear you well.
00:59:28.320 --> 00:59:32.159
Uh so waterfall was a bad idea for humans.
00:59:32.320 --> 00:59:32.800
Yeah.
00:59:33.119 --> 00:59:36.800
Why would waterfall be a good idea for AI?
00:59:38.320 --> 00:59:47.440
So, you know, I think waterfall did very well in some situations, still does well in some situations, and then I agree with you that it's not a solution for everything.
00:59:47.599 --> 00:59:53.679
I think your question comes from the graph that you've seen, which seems to be a waterfall approach.
00:59:53.840 --> 00:59:59.360
I don't think we are gonna see forms in which that has nothing to do with waterfall.
00:59:59.440 --> 01:00:06.320
Even when you do uh uh Scrum and all this, you follow a certain approach to something.
01:00:06.480 --> 01:00:08.320
We are speaking about automation here.
01:00:08.800 --> 01:00:13.920
So I agree with you that waterfall is not the answer for everything, and this was just one example.
01:00:14.159 --> 01:00:20.400
I think we can very likely be able to model another sort of process in the form of contracts as well.
01:00:20.960 --> 01:00:22.159
Great session, Daniel.
01:00:22.239 --> 01:00:24.800
Thank you so much uh for presenting that at AIDEVCON.
01:00:24.960 --> 01:00:29.679
And of course, by the time that you're watching this at home, DevCon has officially finished.
01:00:29.840 --> 01:00:42.079
But every single session has been recorded, and you can click on the QR code on screen or in the show notes if you're listening on audio only, and that will take you directly to all the recordings at AIDEVCon in New York.
01:00:42.239 --> 01:00:42.960
Thanks for listening.
01:00:43.119 --> 01:00:44.000
Bye for now.
01:00:44.559 --> 01:00:49.360
The AI Native Dev is brought to you by Tesla, the package manager for skills and context.
01:00:49.440 --> 01:00:52.400
Your host is our guy Pajani, and me, Simon Maple.
01:00:52.480 --> 01:00:54.079
Our producer is Tom Dowler.
01:00:54.320 --> 01:00:57.599
The AI Native Dev is not just a podcast, it's a community.
01:00:57.679 --> 01:01:01.199
And we host monthly meetups at the Tesla offices in central London.
01:01:01.360 --> 01:01:06.320
Visit Tesla.io forward slash community to learn more, and I hope to see you there.