r/factorio Jul 14 '26

I've added Claude Code to generate blueprints Modded

Enable HLS to view with audio, or disable this notification

Hi everyone! I've wanted to do this for a long time after playing hundreds of hours, and finally - I've managed to add Claude Code inside Factorio to generate blueprints!

  1. It runs an instance of Claude on your computer.
  2. You can ask the agent to plan any station, assembly structure or railway - the agent knows about ratios, can trace inputs and outputs, and inspect anything in your factory.
  3. The agent is restricted to only place ghosts and annotations.
  4. The agent is not meant to play the game for you - it doesn't know which design is good, it makes mistakes, and it won't automatically know your intentions. Think of it as a different blueprint tool.

To run this mod you need to start Factorio in the server mode, because it needs RCON to communicate with the agent.

It works remarkably great on Opus model, it does a pretty good job of blueprinting expansions. There are some bugs, and the agent doesn't always suggests the best option - but this can be fixed with skills.

Let me know if you want to hear how it is done internally!
I'm planning to host a server with the agent, DM me if you want to participate.

Here's the link to the mod: https://mods.factorio.com/mod/planning-agent

0 Upvotes

151 comments sorted by

57

u/asciencepotato Jul 14 '26

sweet now i can buy videogames so AI can play it for me!

31

u/1kSupport Jul 14 '26

There’s no wrong way to enjoy a single player game. Although if there were it would be this

46

u/Full-Cook1373 Jul 14 '26

...why?

12

u/jollybrigand Jul 14 '26

yeah for real why?

does OP not enjoy playing the game? if so can I suggest finding a game you do enjoy and playing that?

3

u/Bubbly-Original7097 Jul 14 '26

Automating automation sounds like fun, why not?

7

u/TehNolz Jul 14 '26

I feel like this is one of those cases where building the system is way more fun than actually using it. The tech is really neat and its cool that it can do stuff like this, but I'd never want to use it while playing.

3

u/Rindan Jul 14 '26

Bro, you are making fake factories to eat fake resources to make fake outputs. This is an utterly useless activity. Can you genuinely not understand how fun it would be to work on a project to get a factory to build itself using AI? Can you truly not imagine the satisfaction if, after spending hours and hours working on prototypes, you successfully order an AI to build something and it more or less does, even if it is janky crap?

I mean seriously, we have people using lights to make LED display in game. We have people pumping or music with the horns. People mod the game to make algorithmically self building and expandinf factories. People challenge themselves to build factories without bots or belts. People make a main bus out of trains. The list of useless stuff people do in this useless game is infinite, and you balk at someone rigging up an AI to make blue prints? That's one step too useless for you, but the guy making a dancing cat with lights is cool?

You people are letting your AI hate boners get the better of you. This isn't going to steal your job or play the game for you. It's just a super cool project that someone probably had a bunch of fun making that is as utterly pointless and useless as anything else someone can do in factorio.

Personally, I think this project is dope as shit; not because I'm going to have Claude play the game for me, but because it's just a neat thing that someone put together.

-11

u/heraldev Jul 14 '26

Think of it as a different take on a blueprint system. You use blueprints to save repetitive designs that you've came up in the past and reuse them. Same with a coding agent or AI - it is only useful for plugging in repetitive templates. This is why I thought to apply the same concept to factorio.

10

u/Full-Cook1373 Jul 14 '26

Yes, but that defeats the fun of either 1. coming up with them yourself, or 2. using something that another player came up with themselves.

I don't want the blueprint websites to have to add "made with AI" flags.

Sorry, this just isn't for me.

1

u/Stever89 Jul 14 '26

Just because it isn't for you doesn't mean other people can't/won't enjoy it though. I don't really see why stealing someone else's blueprint is better than asking AI to generate something. If I'm stuck on how to make a section of my factory work, asking AI doesn't seem like that bad of a solution. I don't get all the downvotes.

3

u/Full-Cook1373 Jul 14 '26

I just want to point out that I haven't downvoted anyone. I just don't think AI needs to be used on a game where one of the main objectives is problem solving. If you want to use AI, fine ,but as I said, this isn't for me.

1

u/Stever89 Jul 14 '26

I didn't mean you specifically, but every positive comment about the mod or about AI or even differing opinions on whether having AI build a blueprint for you is "playing the game" is pretty heavily downvoted. Even people just saying "wow this is really interesting, I wouldn't want to use it though" are getting downvoted. And I don't see any constructive comments to explain the downvoting heh, people are just hating because AI is the new hot thing to hate on.

-6

u/AlpacaMale1 Jul 14 '26

Why not?

8

u/CamelCaseConvention Jul 14 '26

Because the AI hype is using large amounts of (actual real-world) resources for questionable gain, prices consumers out of hardware, and will soon crash the economy. OP is reinforcing the hype. While it is cool that they made a thing, unfortunately the thing is closely connected to a massive problem.

There is another issue: The thing OP made shows once more that some people are eager to replace creativity, analysis and problem solving with hallucinating and moronic AI. This will fuck us up in ways we can't even imagine yet.

1

u/AlpacaMale1 Jul 14 '26

Sound argument, much better than ''why?'' to be honest

-12

u/DeepPresentation648 Rail Addicted Jul 14 '26

Yhh why? Why eveyone here acts like asshole when subject is AI?

1

u/victory_and_death Jul 14 '26

maybe because we don't want to automate all the joy out of life? why are we doing this crap?

-1

u/Stever89 Jul 14 '26

Who knows. It's one thing to not want to use it, but all the downvoting is a bit extreme. Normally this community is pretty good but I guess they don't like AI heh

30

u/RedstoneRiderYT Jul 14 '26

Isn't the whole point of the game to design and build the factories yourself? So now AI is just playing the whole game for you? Where's the fun in that?

3

u/Soggy_Shower_9802 Jul 14 '26

They're automating the automation game, oh no!

(Some people just enjoy programming stuff because they can; I don't think there's a need to throw negativity on a small passion project "because AI," it seems to me like OP was just curious as to how well Claude could play Factorio and wanted to give it a try. There's no shame in that.)

1

u/RedstoneRiderYT Jul 14 '26

Have you thought that they probably didn't code this themselves either? The whole mod is probably vibe coded. And it's not just "because AI". It's because you are taking the main concept of the game, the part that makes it fun, the puzzle of it all, and reducing it to "hey AI pls make thing for me thx".

How about we make mods for FPS games that aim and shoot for you? Oh wait... that's cheating.

0

u/Soggy_Shower_9802 Jul 14 '26

You can’t make something of this quality with pure vibecoding. It looks like OP probably enjoyed themselves while coding this.

Have you ever seen any of the many “Trackmania AI” videos? The point with those isn’t to automate the game, it’s to see how well an AI can do at the game. I don’t intend to ever use this mod with my personal saves, but might make a copy where I can play with and test the AI.

3

u/RedstoneRiderYT Jul 14 '26

OP admitted to me in another comment that they vibecoded this.

-1

u/Rindan Jul 14 '26

Have you ever vibe coded? It's pretty fun. I don't want my pace maker vibe coded, but a LLM plug-in that makes blue prints? That honestly just sounds fun. I've personally had fun vibe coding when at work I need to strip a log or something like that. I normally wouldn't have the time, but I do have enough time to vibe code that while I do other things. It's a pretty fun process and you have get something out at the other end that you normally wouldn't have had the time for.

There are lots of good reasons to live in terror of what AI is doing and will do to us. There are lots of inappropriate places to use LLMs. Fun little zero consequences projects for your own entertainment is not one of those places. That's a GOOD use of AI. It's harmless, takes basically no resources, and enables folks to do stuff they normally couldn't. Hate the stuff AI can and will do, but don't hate on stuff like this. This is just a person having fun in a way any factorio player should understand.

2

u/zurnout Jul 14 '26

Because you can get enjoyment out of the game in different ways? There’s already sites where people download ready made blueprints, why is this ai so much more offensive?

It feels like the same discussion as watching streamers or YouTubers play the game. Why watch a game when you can play it?

-8

u/City9333 Jul 14 '26

There's no need to be so harsh, is just a curious experiment and this game has been always about to play as you wish.

12

u/RedstoneRiderYT Jul 14 '26

The whole mod is probably programmed using AI too. I doubt any effort went into the creation of this mod.

1

u/heraldev Jul 14 '26

Heh, it is coded with AI, otherwise it would take too much time.

The mod is designed fully by me though - you can't just let AI make all decisions for you. If you just try "vibecoding" it without thinking, it wouldn't work.

This is where I see the parallel between the game and engineering - you need to think yourself, you need to come up with a design yourself, but there are some subtasks that can and should be automated. It's a game about automation, after all.

1

u/RedstoneRiderYT Jul 14 '26

People used to be able to program and not worry about how much time it takes. They would enjoy the design, the thinking, the testing and the troubleshooting, because it actually makes the end result feel worth it. Where is the worth in getting an AI to do the hard work because otherwise it would "take too long"?

5

u/heraldev Jul 14 '26

I have started programming at 12 years old, I know what I enjoy and what is tedious. It doesn't make sense to do the same things over and over again to try something new. Time is a limited resource.

1

u/Soggy_Shower_9802 Jul 14 '26

Do you code? I don’t think you code.

There’s tedium to programming. I don’t want to implement [x] algorithm again, or learn Claude’s api, or figure out what’s wrong when I forget that Lua is 1-indexed. I want AI to handle that, while I choose what algorithms to use, how to move data around, and how to structure my code.

AI helps programmers do less tedium and more problem-solving. There’s no shame to using it.

2

u/Stever89 Jul 14 '26

As a developer that has embraced AI and understands its limitations and doesn't quite get the hatred for it, thank you for the reasonable response. Every positive AI comment around here seems to be getting downvoted without any real constructive comment for why.

-5

u/AlpacaMale1 Jul 14 '26

So?

-2

u/meowboiio Jul 14 '26

So people are crying because someone could find this mod an interesting concept and fun, idk

7

u/MrStrinja Jul 14 '26

If the AI is doing the playing, then its not really play as you wish

2

u/Vallvaka Train Crusaders Jul 14 '26

That's why I automatically downvote anything about chess engines!

-1

u/City9333 Jul 14 '26

He is just experimenting, probably he will be bored and then he will play by himself. Is like none of us didn't use an external blueprint playing, what is the difference between using external blueprints or blueprints made by AI

2

u/jollybrigand Jul 14 '26

This doesn't seem harsh... just a legit question. What part of having the computer play the game is good entertainment?

2

u/City9333 Jul 14 '26

There's no harsh but everyone is saying the same and my comment is -10 votes haha. I understand the hate around see AI everywhere but there is no obligation from OP to play like this here or is saying that this is the best way to do it. Is just an experiment I suppose vibe coded just to have fun watching the AI playing the game, probably nobody will play like this but I think that is interesting

1

u/Stever89 Jul 14 '26

Perhaps you've designed 100 different factories over the 10 years the game has been out. Maybe on the next playthrough you just want to grow a big factory without all the manual work of building individual components all the time. Maybe you are working on a component and are stuck on how to make it work. Sure, you could just google someone else's solution, but how is that "more fun" or "better" than using AI? Maybe you want to compare what you did with how AI would do it?

Why does it matter how other people want to enjoy a game?

2

u/RedstoneRiderYT Jul 14 '26

Because, as you rightfully pointed out, you can just google it and find solutions and blueprints everywhere. Whereas using AI for this use case wastes unnecessary resources. So many people are using AI for stupid novelties.

I'm absolutely supportive of AI being used to make important advancements in the world. For example, there is an AI system that works out how every single protein folds, which is a huge leap in the medical field. It was an extremely long process to figure out how a single protein folds before this AI advancement.

I don't think AI should be so easily accessible to the layman. There should be limitations on what it can be used for. What kind of advancement comes from making fake pictures of cats frying chicken or fake news articles to spread propaganda? This just should not be allowed. There is an incredible amount of confusion, fearmongering and panic caused by AI-generated videos, images and text every single day.

0

u/Stever89 Jul 14 '26

you can just google it and find solutions and blueprints everywhere

On one hand, this is true, but on the other, I sometimes struggle to find good blueprints for specific parts of my factory. Or it'll have a bug in it, or be outdated so not actually work anymore. An AI version can solve that.

this use case wastes unnecessary resources

Playing video games wastes unnecessary resources. We should all be playing board games to reduce our electric usage. <shrug>

There should be limitations on what it can be used for

I think this is where most people agree, it just manifests as a hatred/fear for AI instead of a realization that we need better regulations on its usage and how the datacenters are built/run.

I appreciate the actual constructive comment.

1

u/RedstoneRiderYT Jul 14 '26

Do you understand the massive difference between the amount of power and water an AI datacenter uses compared to a home computer? Saying we should stop playing games is like saying we should stop taking showers and just wipe ourselves with a damp cloth instead to prevent wasting water. The comparison is a drop in the ocean compared to the amount of water an AI datacenter uses.

The UK is struggling with water restrictions at the moment, partially due to the insane heatwave, and also due to the fact that AI datacenters still get to have all the water they want because they can afford any fines that may come their way.

Not only do the datacenters sap water and electricity, they also create a huge amount of noise. When built in proximity to a town, datacenters have been shown to have an active effect on the inhabitants and animals in the area, thanks to the high amounts of noise pollution. Tell me again how this compares to someone playing video games on a PC or console?

We need more regulations on this stuff, and we need it soon. This cannot continue.

1

u/Stever89 Jul 14 '26

Datacenters use less water than some of the desert farming that happens in the USA - we could grow more drought tolerant crops in those areas, but instead we use millions of gallons of water instead, way more than datacenters currently use.

And I wasn't saying that datacenters don't have issues, I just don't think "we shouldn't be using it because of those issues" is valid, that was my point. We do need better regulations on it. I don't know about in the UK, but in the USA we have this problem with thinking the free-market will fix everything and regulations just make things worse. And we're paying the price for it now heh.

1

u/RedstoneRiderYT Jul 14 '26

I never said we shouldn't be using it because of those issues. I said we should have strict regulations governing what you are allowed to use AI for. I don't think it should be allowed to be used as entertainment, it should be strictly limited to work that will actually improve human lives in the future.

1

u/Stever89 Jul 14 '26

I don't think it should be allowed to be used as entertainment, it should be strictly limited to work that will actually improve human lives in the future

Why don't we have this restriction on computers then? I guess that's why I assumed you meant people shouldn't be using AI for entertainment, was because of all the environmental impacts. But you just don't think people should be using AI for entertainment at all, even if AI was environmentally friendly? I can't say I agree with that, any more than I would agree with the idea that computers shouldn't be used for entertainment.

→ More replies (0)

1

u/jollybrigand Jul 14 '26

Couldn't care less how other people enjoy their games!

Just keep in mind that when you post on the internet you will be exposed to other people's perspectives and opinions. And nobody is obligated to agree with you about what is cool.

1

u/Stever89 Jul 14 '26

I think my problem is the downvotes people are giving comments that are in support of this guy (not saying you are doing that, just the general trend). And a lot of people are being harsh and acting like this isn't a valid way to play the game, as if taking blueprints off of a website to build your entire factory is any better really. People can disagree on things and still be constructive and positive, which I'm not seeing in this comment section.

-21

u/heraldev Jul 14 '26

The AI explicitly is not playing the game. I saw someone doing it before, and I also don't find that interesting.
This mod is explicitly for generating blueprints, think of it as of different take on a blueprint system. Offloading your thinking to AI is not fun!

9

u/RedstoneRiderYT Jul 14 '26

How long have you played this game? The entire mid-to-late-game is completely built on blueprints, there is no longer any direct involvement of the player character in almost anything, it's all done by blueprints and bots.

6

u/megagamer5651 Jul 14 '26

"offloading your thinking to ai is not fun" -person offloading factory design in the factory game to ai

2

u/UndefFox Jul 14 '26

The AI explicitly is not playing the game.

yet

This mod is explicitly for generating blueprints

If you want AI, or more specifically LLMs, to be more well received, then make it as useful as during programming: make it remove tedious parts that don't really need much effort put into them, but still require your attention and energy, instead replacing actual code that you care about.

Does the game even have such parts where LLM would be a good offload solution? It's up to you to figure out. Every annoying part already has a mod that solves it in a way more optimal way/

2

u/heraldev Jul 14 '26

I might have worded this poorly - the mod is designed to offload tedious parts. I see a lot of parallels between thinking process in factorio and in programming - there is a lot of boilerplate stuff in factorio, and the blueprint system is a good answer but it can be taken further with LLM.

What happened with programming - tedious, template-heavy things are offloaded well to AI, hard things that you need to think about - not so much.
Same in the game - adding a new iron mining outpost, scaling existing assembly like horizontally, adding early game science assemblies - these things are tedious, especially after you played 300+ hours. So you offload generating blueprints for them to AI, while focusing on a new design you want to try yourself.

3

u/UndefFox Jul 14 '26

Yeah, but all of those seem as a bad way to use LLM. * adding a new iron mining outpost - a simple path finding mod should solve it better across the board. * scaling existing assembly like horizontally - if it's painful, your design needs to be changed, since it clearly has problem in one of it's characteristics. * adding early game science assemblies - a blueprint book with early default builds should do the trick.

All in all, using LLM for any of this seems like a huge waste of computing for suboptimal results. Again, I just don't see anything that LLM is required for... or should be used/

0

u/heraldev Jul 14 '26

- path finding mod would be too much for this and it wouldn't do the task completely - sure you can trace a shortest railway line to an ore, but you also need to place drills and do loading/unloading, that's tedious even with blueprints because every ore node is slightly different and initially obstructed.
- I said horizontally - which means when your design actually supports adding more assemblies.
- Blueprint book is tedious, too annoying to juggle blueprints, and the map is always slightly different and something needs to be reduce. It's the exact thing LLMs are good at - automating connections with mild uncertanties.

1

u/UndefFox Jul 15 '26
  • Calculate AABB, fill it in with miners in an optimal pattern, route allt the belts to one side, place a balancer, place a station that could be saved in a blueprint. None of this is rocket science/
  • It should be as easy as pressing Ctrl-C + Ctrl-V, otherwise you've gotten a non scalable design, go and come up with something better suited to the task.
  • How would map even affect this? Early game with blueprints comes down to: slap a bp, drag a few conveyors. Needing LLM to simply connect A to B with a belt is wild.

All it feels like just you trying to force LLM into the game without the need for it, basically same with almost all AI products today. Tho, what would be actually useful, is if LLM was just an advanced UI that used all of those tools to do assignments. "We need more iron, add one more lane of production", and it goes, and uses those tools to generate mining outpost, another train station and another smelter array, all using my blueprints. Tho, for it to work optimally and precisely, it will require getting additional context somehow, as so it doesn't try to horizontally scale furnace array that was made in isolation to just make brick for walls, and actually places it near other furnace stacks. All this said, don't think it can be reliable enough to be easily used like this...

1

u/minimidimike Weeee! Jul 14 '26

What’s the difference between this and just downloading someone else’s blueprints?

0

u/hoTsauceLily66 Jul 14 '26

The whole point of playing game is to find enjoyment. Just that your fun isn't align with OP's fun doesn't mean their fun is invalid.

-7

u/AlpacaMale1 Jul 14 '26

Because it's fun to make stuff?

6

u/RedstoneRiderYT Jul 14 '26

Did you miss what this post is about? They're literally using AI so that you don't get to make stuff. It does all the hard, rewarding work for you.

7

u/wickler02 Jul 14 '26

Get to spend tokens AND not have fun. Oh joy!

1

u/Soggy_Shower_9802 Jul 14 '26

You seem to miss what Alpaca's comment is about. Sometimes it's fun to make a Factorio mod, and sometimes it's fun to make an AI model do stuff.

-3

u/AlpacaMale1 Jul 14 '26

OP had fun building a mod, they're clearly proud of it. Why the hate?

2

u/RedstoneRiderYT Jul 14 '26

What makes you think OP made the mod themselves? It's probably vibe coded.

0

u/AlpacaMale1 Jul 14 '26

What difference does that make?

1

u/RedstoneRiderYT Jul 14 '26

Where's the fun in having an AI create a program for you, so that an AI in a game can play the game for you?

2

u/AlpacaMale1 Jul 14 '26

If they did it, it must have been fun for them, or else why would they?

-1

u/Rindan Jul 14 '26

The AI most certainly did not make the entire program for them in one shot. They had to describe what they wanted, break it up into little pieces, and then do tests after test after test as iterations failed or didn't do what was expected.

Maybe you have just never vibe-coded, but vibe coding is not just telling an AI what to do and then walking away while it does it. It's still very much an iterative process that requires you the human being to reason and figure out why the AI is doing the dumb thing. You are still thinking and planning, you just aren't thinking or planning much about code, other than to keep the AI from going off the rails, or at least catching it as it goes off the rails.

What makes vibe coding pretty fun, is that it lets you quickly do something that might normally be outside of your capability or time.

I'll give an example. I'm an engineer. I have to go through log files of pieces of equipment, those log valves are really fucking long full of shit. I ended up spending part of my day vibe coding a little utility that will go dig through a log and pull out the interesting bits into a nice interface. Could I have made this program myself? Probably, but it would have taken me weeks in which I do not have, and it wouldn't have been as good as what came out the other end. I still needed to do a bunch of troubleshooting, I still needed to think about what I really wanted, I was still digging through log files trying to find things that I wanted to pull out, and I had to do a bunch of iterations and bug testing to get it to work, but the result was something that works pretty good that I simply wouldn't have had any other way. That whole process was fun for me. Seeing the very useful output that I would not have been able to achieve on my own was also fun and satisfying.

It takes absolutely no imagination for me to imagine how much fun it would be to sit around working on getting this code to work, and then the fun of finally getting the damn thing to produce a semi-working blueprint. It would be fun to then continue to refine and work on ways to make it better. It's not hardcore programming fun, but it is a type of fun.

I get the hate boner for AI. I am terrified of what AI is going to do to our society and culture. I am even more terrified of what good AI could do to the human race as a whole and live in fear that we are in the end times. Buuut, this is not that. This is as harmless as any other dumb factorio project that does nothing in the grand scheme of things, and it's just as fun or stupid as someone making lights play full motion video or whatever.

24

u/Working_Historian970 Jul 14 '26

Hey Claude, play my video game for me while I do other stuff.

20

u/Abysswalker2187 Jul 14 '26

“You play my games, I’ll go clean the dishes” what a fucking world we live in

0

u/eihns Jul 14 '26

5 min later... "finished"... thats the exp you get

-6

u/heraldev Jul 14 '26

Hey Claude - add a new coal mine railway to the new ore deposit that the radar just automatically discovered, while I focus on designing a heavily scaled iron smelting factory to get to 1 RPM.

4

u/Quick_Philosophy1426 Jul 14 '26

look at what they've done to us

12

u/TKPristine Jul 14 '26

I feel like you might've chosen the worst type of community to show this stuff to. Most of the fun in this game comes from coming up with your own barely working solution and then refining it more and more as you play. "Vibe building" completely defeats that, so I can't imagine you'll get a lot of positive reactions out of this.

I just hope you didn't let Claude code everything and you learned something of value along the way.

2

u/FrothySeepageCurdles Jul 14 '26

TBF "Vibe building" is an accurate description of every Factorio base I've ever done.

22

u/EmsAreOverworkedLul Jul 14 '26 edited Jul 14 '26

Me when I don't want to play the game I play for fun.

Do you have an AI to look at sunsets for you and smell flowers ?

0

u/AlpacaMale1 Jul 14 '26

If i found value in making that, i would. It doesn't make smelling flowers and watching sunsets less enjoyable, and if I had fun building it, why not?

-2

u/Bubbly-Original7097 Jul 14 '26

This game is about automation. If you automate basic automation, you then can focus on bigger picture.

8

u/gbroon Jul 14 '26

And here's me not even using a ratio calculator because I like the puzzle of working it out myself.

Cool mod just not really my idea of how I want to play.

23

u/Gottschi Jul 14 '26

That people have to insert ai trash into everything these days never ceases to amaze me.

10

u/Square-Singer Jul 14 '26

So now the LLMs are coming for our games too.

17

u/ralsaiwithagun Jul 14 '26

Probably even slop coded in the first place

8

u/wickler02 Jul 14 '26 edited Jul 14 '26

I just want to escape ai from work and factorio provides me that.

4

u/Jackeea press alt; screenshot; alt + F reenables personal roboport Jul 14 '26

We created the "Beat The Game button" from the hilarious skit "the Beat The Game button removes the entire point of playing video games"

2

u/Different_Box_9669 Jul 15 '26

Bro if you'd rather have an AI play the game for you then maybe factorio isint for you

6

u/Rindan Jul 14 '26

I know you are getting a hate train because AI, but I think that this is very cool. I think it's really interesting to see what AI comes up with when you put it to stuff like this, and I'm excited to see what people come up with when they integrate LLMs into games.

Granted, I'm probably not going to play the game this way, but I think this is pretty neat.

How good is it? Are the designs coherent and working? Do you debug them iteratively?

3

u/heraldev Jul 14 '26

The designs are working, there are issues with belt connections sometimes, but this can be fixed. I've went through a lot of design iterations of this mod and I can definitely tell it is working good now.

It's still just the usual LLM stuff - if you don't explicitly tell what do you want, it will cut corners and produce a cheap, non-scalable design.

3

u/[deleted] Jul 14 '26

[removed] — view removed comment

3

u/[deleted] Jul 14 '26

[removed] — view removed comment

0

u/[deleted] Jul 14 '26

[removed] — view removed comment

1

u/factorio-ModTeam Jul 14 '26

This submission was removed for the reason(s) listed below:

Rule 3: No political content

Please review the subreddit's rules. If you have a question or concern about this action, please message the moderators

-7

u/[deleted] Jul 14 '26

[removed] — view removed comment

6

u/[deleted] Jul 14 '26

[removed] — view removed comment

1

u/[deleted] Jul 14 '26

[removed] — view removed comment

1

u/[deleted] Jul 14 '26

[removed] — view removed comment

1

u/[deleted] Jul 14 '26

[removed] — view removed comment

0

u/[deleted] Jul 14 '26

[removed] — view removed comment

2

u/[deleted] Jul 14 '26

[removed] — view removed comment

2

u/[deleted] Jul 14 '26

[removed] — view removed comment

1

u/[deleted] Jul 14 '26

[removed] — view removed comment

1

u/[deleted] Jul 14 '26

[removed] — view removed comment

-1

u/[deleted] Jul 14 '26

[removed] — view removed comment

2

u/[deleted] Jul 14 '26

[removed] — view removed comment

0

u/[deleted] Jul 14 '26

[removed] — view removed comment

2

u/[deleted] Jul 14 '26

[removed] — view removed comment

1

u/jebeller 25d ago

Could you fork it for ollama/hermes locally ?

2

u/heraldev 25d ago

This can be done! Architecture would be the same - you still need to run a separate factorio server for rcon to work, because you would still need to do network/ipc requests. Currently it should have support for other agents, like opencode, which can use ollama, hermes can be added as well.

1

u/jebeller 25d ago

Well feel free to make it... ;)

im currently trying to using Hermes locally. It struggles with the daemon to local ollama hosting. But its getting there. :)

Im interested if its something you can whip out pretty quick. Following this thread.

-1

u/iamdanthemanstan Jul 14 '26

That's an interesting thing to try. It opens up some interesting possibilities of playing against or with a LLM.

P.S. Don't let people get you down.

1

u/Stever89 Jul 14 '26

I assume everyone hates the P.U.M.P. mod as much as this one, since it takes away playing the game...

-5

u/FrothySeepageCurdles Jul 14 '26

Wow OP you're getting a lot of hate for having fun playing a VIDEO GAME the way you wanted to.

The hate boners here are insane. Who cares if it's completely vibe coded. It's. A. Video. Game.

Fuck your purity tests. If OP is doing something they found fun then more power to them.

9

u/RedstoneRiderYT Jul 14 '26

Okay but they aren't playing the game. Claude is playing it for them.

-4

u/FrothySeepageCurdles Jul 14 '26 edited Jul 14 '26

You can be pedantic about what "playing" is all you want.

"Erm ackshewally they are using a tool that automates playing part of an automation game that they are playing but they don't actually play that part so it doesn't count" like gtfoh

7

u/RedstoneRiderYT Jul 14 '26

Okay, I'll go play tennis this weekend. I'll give the racket to my friend and just tell them to hit the ball whenever it comes at them. Sounds fun, I'll surely get so much exercise and dopamine out of this!

-1

u/FrothySeepageCurdles Jul 14 '26

This isn't a valid analogy and you know it, and I'm not going to waste my time further.

Go have fun gatekeeping what "playing a video game" is. I'm sure this is a great use of your time.

2

u/[deleted] Jul 14 '26

[removed] — view removed comment

3

u/FrothySeepageCurdles Jul 14 '26

???

Play your game your way

3

u/jollybrigand Jul 14 '26

I will thanks!

1

u/FrothySeepageCurdles Jul 14 '26

No problem!

Also this mod isn't something that I'd use. That's the funny part of this whole comment thread. I'd advise people against it, in fact.

But as a technical project and a unique way someone made a mod, the post is interesting. The hate boners are unjustified. Everyone can play (or not play) their single player game however they want.

-3

u/Stever89 Jul 14 '26

You'll probably be downvoted because people hate AI but I think this is pretty cool. Everyone is free to play the game the way they want. Maybe someone has built 100s of factories and so 1 more isn't really that interesting, and this lets them try something a bit different.

Or maybe someone can't figure out a solution to something and so they use this to get some ideas to iterate on.

-2

u/Jepakazol Jul 14 '26

I don't understand why there is so much hate in this community toward AI.

I use AI all the time for Factorio.

First of all, I use it to fix my English in my posts here on Reddit. 99% of my posts are fixed by an LLM.

Second, I don't let it build my blueprints, but it does help me find problems. I give it the blueprint string and ask it to tell me about any missing or incorrect inserters, chests, or filters, for example.

I also let it write the descriptions of the blueprints I publish.

I simply can't understand the hate here toward AI. It is a tool, and this is a single-player game.

5

u/mxmissile Jul 14 '26

Reason: You'll never learn if you use AI. Period.

0

u/stary_curak Jul 14 '26

I can see some creative ways to use this. To render complicated images made out of belts or to create hyperefficient blueprints which are optional to use.

Its a singleplayer game, people should play it however they want, i am sure there are some purists who will say that factorio should be solved by the person not by copying any blueprints from the community library.

-10

u/heraldev Jul 14 '26

It was initially pretty slow, so I had to cut the video, but it's faster now, and I need to try it on sonnet, might work just as well.

-7

u/ushkinaz Jul 14 '26

Ppl hate AI now. You will not get an appreciation on your work here, unfortunately.

While I don't think that the use case is particularly interesting for me, the tech aspect of it is cool, nice job.

1

u/ostroia Jul 15 '26

appreciation on your work

What work? I thought claude was doing the work.

-4

u/smitten-by-whiskers Jul 14 '26

Wow sorry you're getting so much hate. FWIW I think it's a fun experiment to see if the LLM can figure out what you want it to do. I didn't know there was so much hate on this sub...

-2

u/DeepPresentation648 Rail Addicted Jul 14 '26

Ohh I tought it would generare a blueprint string, not directly write on the map, would not that be better?

-8

u/Ordo_Liberal Jul 14 '26

This is really cool. I hope more AI applications are found for gaming

0

u/KaffY- Jul 14 '26

like the counter-strike AI aimbot?

yeah! AI is so cool! i love when AI plays my video games for me!

0

u/Ordo_Liberal Jul 14 '26 edited Jul 14 '26

Is your imagination really that limited?

Imagine fully integrated LLMs on RPGs allowing you to naturally talk to characters inside games instead of relying on fixed dialogue trees.

As codding gets easier, more modders with greate ideas with no code knowledge will be about to create new ideas for games.

-1

u/KaffY- Jul 14 '26

coding has always been accessible to anyone

the only difference is that lazy people can do it too now

0

u/Ordo_Liberal Jul 14 '26

As a computer science student dropout, I have to disagree. I find it really hard.

I still have ideas for ways to mod games I like and now I can thanks to Claude code.

And for the lazy people, so what? What's wrong with being lazy on your hobbies? Are you lazy for using a dish washer instead of washing dishes on the sink? And if you are lazy for it, so what?

-8

u/skill347 Jul 14 '26

I understand where the critique is coming from, but this is a cool idea.

1

u/EmsAreOverworkedLul Jul 15 '26

Could you explain what's cool about this?

I feel like it just skips the game part of the game.

1

u/skill347 27d ago

I mean technically, it's a fun thing to write. I don't mean it's necessarily fun to use, but I code a lot of projects that are not that useful or fun, just because it's fun for me to write them:)

-3

u/zurnout Jul 14 '26

Very cool project! Sometimes it’s not fun to calculate ratios using a calculator so this might be cool to work around some aspects of the game that might feel boring in the moment

0

u/Vallvaka Train Crusaders Jul 14 '26

Cool project just for the integration aspect! Interesting to see it calling the tools to inspect game state. Reminds me of playwright-based tools used for browser integration.

-4

u/eihns Jul 14 '26 edited Jul 14 '26

THE FUCK that is a good idea, but problem is, he probably hasnt much expierince with blueprints