Follow our Instagram!
Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.

Battle Bot Jaxcalibur: A Gen 9 Randbats bot that reached #1 on the ladder

MichaelderBeste2 said:
I am, it sounds really cool
Click to expand...Click to collapse...

Awesome! To set this up, we can set a time during which I make Jaxcalibur only challenge-able by you. I also will
  • Update it with a few fixes such as the stealth rock bug reported by PokeChess
  • Increase its think time per turn a bit
  • Tune it to play a bit less predictably so it will be harder to exploit
I might also be able to set up something where viewers can see Jaxcalibur's estimated win percentage and move choices, but I'm less sure of the best way to do that. I'm open to anything with regards to time and number of games.
Though I've been increasingly inactive/sporadic with my interest in competitive 'mons after gen 6, Jaxcalibur has caught my attention like nothing else. Over 5-6 years of studying electrical and computer engineering, I've had phases where I wanted to develop a competent Pokemon bot. After all, it'd be easier to put in the effort and make a decent resume piece if I was actually into said project.

This never happened and I pivoted to different topics and fields to focus on, but I'd still like to think I have a smidge more than a surface-level appreciation of the technical accomplishment OP has made here. First off, congrats! Secondly, well shit.

I'm not optimistic about how cheating with similar tech can be mitigated, especially as the state-of-the-art continues improving. Hypothetically, even a dedicated, locked-down application for playing tournaments could be worked around by a second device with a camera that is able to run CV to get game information. Yes, there will be some degree of error. The implementation and tuning won't be trivial even with modern AI coding tools. Even then, I'd wager that it could be another move in a never-ending game of cat-and-mouse.

As for other possible technical solutions, I feel Hecate has discussed it better than I could, and in general I agree there isn't a good technical solution. At the same time, I don't envy the position of Smogon leadership here. I won't pretend I know of some magic bullet that is non-trivial for bad actors to circumvent yet also doesn't harm the accessibility that has made Smogon formats on battle sims so great.

*EDIT: On a brighter note, I'm excited by the thought of better battle AI for single-player experiences. A lot of my more recent Pokemon experiences have been colored by fangames and ROM hacks. Though an experience like Reborn adds a ton of new mechanics and turns up the difficulty in numerous ways, the AI is still highly exploitable. And even then, as you get access to more resources and more 'mons, it's often not practical to overcome certain challenges without dedicated counter-teaming. On the other hand, fangames/hacks where the enemy AI has perfect information on your 'mons (and in some cases even input reads!) have always seemed so lame to me. Being able to implement better AI and more difficulty in a more organic way is something I feel is sorely missing in the space.

That being said, I'm team do-not-release for Jaxcalibur at least.
Last edited:
what was the sweet spot for batch size when you were training, and do you have different versions with bigger/smaller batch sizes to see how they compare
Blazade said:
To a certain extent, stuff like this is like Leeroy Jenkins. When it's out, it's out, and no amount of careful preparation is going to prevent it from happening because it takes one person (even if it isn't you) releasing something like this to trigger all the irreversible consequences. I agree with Blizihguh that this should absolutely be released after a delay to allow the site to get its act together policy wise. Because that will have to happen, site staff are deluding themselves if they think they can kick the can down the road any further on this issue. Once those policy issues are resolved, it is far better for an entire community to have access to the tool than for a select few who are able to make their own or have connections to have an advantage over the rest.

In addition, projects like this of course are of significant academic interest in machine learning, game theory, and the theory of pokemon battling itself. In games where engines exist that can beat top players, those top players learn from engine play and the communities surrounding those games learn more about the game itself. I respect pokemon as much as any game which has received significant academic interest and want it to be studied and mastered with the same rigor. I want to live in a world with better bots for more formats and where humans have better play informed by those bots. I want to see how the techniques used to optimize these bots can be employed for similar games with hidden information, risk management, and a teambuilding/deckbuilding component. And I want to see what legitimate top level competition looks like after those lessons have been learned. As a mathematician who has followed this kind of research for years I appreciate what you've done and will be reading your materials. Thanks for your contribution!
Click to expand...Click to collapse...
this all sounds good until you realize showdown formats are only played online and in actuality people will just cheat and have the bot play the game for them, which is essentially undetectable

joyous

the idea of "bot and player harmony" showdown is fucking hilarious because no. this is not chess. you can mostly detect chess bots in online play and the most serious tournaments that everyone sees as legitimate 100% are in person. the best argument for why this would be okay is that you can make an argument as is that smogon already has low legitimacy as a competitive scene (very small tournament playerbase, online only, forum users and not really public people presence, not much money, etc.) but if these bots are to be allowed then we have to move to in-person tournaments to some degree or Smogon is an objectively unserious competitive scene with no reason to be taken seriously. Genuinely
Last edited:
ant4456 said:
this all sounds good until you realize showdown formats are only played online and in actuality people will just cheat and have the bot play the game for them, which is essentially undetectable
Click to expand...Click to collapse...
Nobody denies this. Everyone here is worried about this and trying to solve it.

ant4456 said:
the idea of "bot and player harmony" showdown is fucking hilarious because no. this is not chess
Click to expand...Click to collapse...
That crisis doesn't mean we can't look forward to the technology's other applications. I think it's undeniable that a capable testing partner everyone can use and a tool for postgame analysis, among other things, will be just as helpful here.
Dusk Mage Necrozma said:
Nobody denies this. Everyone here is worried about this and trying to solve it.


That crisis doesn't mean we can't look forward to the technology's other applications. I think it's undeniable that a capable testing partner everyone can use and a tool for postgame analysis, among other things, will be just as helpful here.
Click to expand...Click to collapse...
The technology has no real application besides making the game worse I'ma be real. "Oh make people better at the game" will not matter when the same tool just leads to it playing the game for them instead.

The point is actually that there is no solution. Nobody with any credibility or true knowledge on this issue has agreed that a solution even exists, since there isn't one: there is no cheat detection, there is no social pressuring, there is no real accountability to stop this.

You do not get your fun toy and a real competitive scene unless we all move to in-person tournaments as the standard which this unofficial, worldwide spanning community probably can't handle.

Of course, this doesn't matter. People will just choose their cool toy anyways, but I'm sick of the larping that the fun new toy actually has real benefits. Nobody asked for AI to teach us to get better at mons. Nobody said the skill ceiling wasn't high enough. Nobody asked for the ladder to be full of AI bots or AI assisted players.

Nobody was talking about any of this shit until the bots existed and suddenly it's "Don't worry guys — The Hobby Destroy 900 doesn't have to be a bad thing!"
ant4456 said:
this all sounds good until you realize showdown formats are only played online and in actuality people will just cheat and have the bot play the game for them, which is essentially undetectable

joyous

the idea of "bot and player harmony" showdown is fucking hilarious because no. this is not chess. you can mostly detect chess bots in online play and the most serious tournaments that everyone sees as legitimate 100% are in person. the best argument for why this would be okay is that you can make an argument as is that smogon already has low legitimacy as a competitive scene (very small tournament playerbase, online only, forum users and not really public people presence, not much money, etc.) but if these bots are to be allowed then we have to move to in-person tournaments to some degree or Smogon is an objectively unserious competitive scene with no reason to be taken seriously. Genuinely
Click to expand...Click to collapse...
Yes, I am aware of the issues of bots on the ladder and enforcing it in the tournament scene. I agree that policy and practices need to be put in place to mitigate this kind of thing, and also recognize that this may be difficult or impossible. Chess is able to use engines to fight engines, and companies have more money to put into anti cheat detection. Poker, however, is much harder to deal with and it is my understanding that online poker is still very much mired in this problem. Pokemon has it worse than any of these, especially here. I know that.

I also know that this isn't going away anytime soon. These bots will keep cropping up and getting better and you can either play whack a mole and tell every individual creator never to release it or you can try to work to create a solution that works if they eventually do become public. Because the alternative is top players cheating privately undetected for years while regular users have no recourse.

You said later that no one was asking for this. I was. I study games and think this kind of research is important to understanding them. Pokemon is a hobby but it is also a rich competitive landscape which is difficult to solve, and any progress towards better understanding of the game as a whole is inherently interesting to me, both because I love this game and because I love its place in the spectrum of other games like it (some of which bots can deal with and some of which they can't).

You also talk about legitimacy as a competitive scene. From the outset we have not had monetary investment or strong public presence, but the community and spirit of competitive pokemon has survived to this day. People care about pokemon and care about competition and for a long time the only place they could go for that is here. I do think there's a conversation to be had about culture, and there are a lot of mistakes this community has made that might lead to them being displaced by VGC/Champions as the "official" scene has grown so much in the past decade. However, I think we have the ability to survive the introduction of these bots because of the same spirit of competition that has kept us alive through multiple generations of human beings, let alone changes to the game itself. People will want to engage with and watch legitimate competition, and if that means in person tournaments and more money behind it then we will find a way to make it happen. I don't know the solution and I am not a policy maker, but I am confident it won't be necessary to go that far to enact measures of fairness at the top level. Ladder play is, as far as I understand, much harder to enforce at a technical level. But again, the genie isn't going back in the bottle on this. I am frankly surprised it took this long to be a potential issue given how bots for other games are progressing. Given that it is happening it is better to look for a solution that is feasible while embracing the positives that exist.
ant4456 said:
The technology has no real application besides making the game worse
Click to expand...Click to collapse...
You should not be participating in the thread if you cannot respect the technical accomplishment of what jax_author made. 99% of bot makers are not malicious actors who want to destroy Smogon. Jax_author approached the community in good faith. There's very clearly a lot of interested parties that are excited at the idea of improving upon Jax_author's work and testing its capabilities since it is a cutting-edge development. Please stop degradating the work by implying it is an inherently evil tool with no positives. Just because you cannot think of any (or want to ignore the ones pointed out) doesn't mean they don't exist. There are other threads to moan about AI if you want to be a reactionary about the AI question.
Blazade said:
I also know that this isn't going away anytime soon. These bots will keep cropping up and getting better and you can either play whack a mole and tell every individual creator never to release it or you can try to work to create a solution that works if they eventually do become public. Because the alternative is top players cheating privately undetected for years while regular users have no recourse.
Click to expand...Click to collapse...
I'm not saying you can stop individual creators from not releasing their work. I'm saying it's fucking over and the least we can do for our hobby is say "fuck off" to the people that are getting enjoyment from this entire mess.

Blazade said:
You said later that no one was asking for this. I was. I study games and think this kind of research is important to understanding them. Pokemon is a hobby but it is also a rich competitive landscape which is difficult to solve, and any progress towards better understanding of the game as a whole is inherently interesting to me, both because I love this game and because I love its place in the spectrum of other games like it (some of which bots can deal with and some of which they can't).
Click to expand...Click to collapse...
And you're the guy! Fuck off! You are the 0.1% that was asking for something that makes the game worse for literally everybody else. I do not care what you want: this is an inherently selfish take. I do not care if your heart is in the right place: You wanted something that is going to long-term likely demolish or deteriorate this game.

Blazade said:
You also talk about legitimacy as a competitive scene. From the outset we have not had monetary investment or strong public presence, but the community and spirit of competitive pokemon has survived to this day. People care about pokemon and care about competition and for a long time the only place they could go for that is here. I do think there's a conversation to be had about culture, and there are a lot of mistakes this community has made that might lead to them being displaced by VGC/Champions as the "official" scene has grown so much in the past decade. However, I think we have the ability to survive the introduction of these bots because of the same spirit of competition that has kept us alive through multiple generations of human beings, let alone changes to the game itself.
Click to expand...Click to collapse...
This is a website that has already had significant issues with cheating to where a significant portion of tour-scene-important players are banned or "I COULD BE BANNED!" because they cheated in the past and are on thin ice. This community is not the type of community to go "I believe in the power of community friendship that it will all work out"

Even in the Policy Review thread someone was like "Idk people cheat on the ladder anyways so it's alright!"

The spirit of competition has not kept this game alive, frankly, the regular normie ass ladderer has. Otherwise the small number of people on this forum (including the tour playerbase) are just yapping about bullshit that the actual 99% of players only ever maybe learn about in video essay form of "How Good Was Shitfuck Actually?!"

Runo said:
You should not be participating in the thread if you cannot respect the technical accomplishment of what jax_author made. 99% of bot makers are not malicious actors who want to destroy Smogon. Jax_author approached the community in good faith. There's very clearly a lot of interested parties that are excited at the idea of improving upon Jax_author's work and testing its capabilities since it is a cutting-edge development. Please stop degradating the work by implying it is an inherently evil tool with no positives. Just because you cannot think of any (or want to ignore the ones pointed out) doesn't mean they don't exist. There are other threads to moan about AI if you want to be a reactionary about the AI question.
Click to expand...Click to collapse...
YOU ARE ALSO THE GUY! I am not being a reactionary considering literally nobody has any argument as to how the very obvious and significant downsides of this whole thing can be mitigated. You don't either, I read the fucking PR thread! You don't have any acceptable contributions to how to solve this problem, and yet you have the gall to say "Oh we must respect the bot" no! We do not have to!

I do not care how good your heart is: I do not care if you are going to see the light of heaven! You are responsible for your actions and the actions you endorse, and what the negative outcomes and it's a bit tiring. Frankly, I am just someone who wants you to look the community and actually facetank the displeasure and hatred for the actual harm you are debating enforcing upon it, and if you can't then you have no respect from me.
ant4456 said:
I'm not saying you can stop individual creators from not releasing their work. I'm saying it's fucking over and the least we can do for our hobby is say "fuck off" to the people that are getting enjoyment from this entire mess.


And you're the guy! Fuck off! You are the 0.1% that was asking for something that makes the game worse for literally everybody else. I do not care what you want: this is an inherently selfish take. I do not care if your heart is in the right place: You wanted something that is going to long-term likely demolish or deteriorate this game.


This is a website that has already had significant issues with cheating to where a significant portion of tour-scene-important players are banned or "I COULD BE BANNED!" because they cheated in the past and are on thin ice. This community is not the type of community to go "I believe in the power of community friendship that it will all work out"

Even in the Policy Review thread someone was like "Idk people cheat on the ladder anyways so it's alright!"

The spirit of competition has not kept this game alive, frankly, the regular normie ass ladderer has. Otherwise the small number of people on this forum (including the tour playerbase) are just yapping about bullshit that the actual 99% of players only ever maybe learn about in video essay form of "How Good Was Shitfuck Actually?!"


YOU ARE ALSO THE GUY! I am not being a reactionary considering literally nobody has any argument as to how the very obvious and significant downsides of this whole thing can be mitigated. You don't either, I read the fucking PR thread! You don't have any acceptable contributions to how to solve this problem, and yet you have the gall to say "Oh we must respect the bot" no! We do not have to!

I do not care how good your heart is: I do not care if you are going to see the light of heaven! You are responsible for your actions and the actions you endorse, and what the negative outcomes and it's a bit tiring. Frankly, I am just someone who wants you to look the community and actually facetank the displeasure and hatred for the actual harm you are debating enforcing upon it, and if you can't then you have no respect from me.
Click to expand...Click to collapse...
I do not enjoy being told to fuck off and I don't care if I have your respect. The issues we're dealing with now are nuanced and well trodden in other domains. Regardless of what you think, I truly believe these problems are solvable if we handle them correctly, and that we have a responsibility to approach them with a deft hand rather than ignore them, as we have imo foolishy done for years. This is the last time I will engage with you in this thread.

I will edit to add that I understand what it's like to see a game you like deteriorate or be a part of a community that feels ignored or disrespected. I know what you said comes from a place I can empathise with. We may have different beliefs about the future but I do think I understand where you're coming from, and I'm sorry.
Last edited:
ant4456 said:
I am not being a reactionary
Click to expand...Click to collapse...
You are quite visibly lashing out at the concept of Smogon societal changes and being incredibly extreme in your approach, you are literally the Smogon equivalent of a luddite. You clearly are not willing to approach the discussion of his creation in good faith so what is your purpose of being in this thread? It's not as if you have given acceptable solutions either, or gave any solution for that matter. All you are doing in this thread is doom posting about AI and calling his work the spawn of satan. Now idk about you but if some moron publically shunned me for publishing my work, said it had no value except as a tool for harm, and that my work should be hated and belittled I think I would take offense to that! So again, if you cannot respect Jax-author's work and engage in the technical side of this discussion (this is not a thread about ethics of AI [HINT: Read the sub-forum's name]) then you need to leave. Please stop derailing this thread.
Runo said:
You are quite visibly lashing out at the concept of Smogon societal changes and being incredibly extreme in your approach, you are literally the Smogon equivalent of a luddite. You clearly are not willing to approach the discussion of his creation in good faith so what is your purpose of being in this thread? It's not as if you have given acceptable solutions either, or gave any solution for that matter. All you are doing in this thread is doom posting about AI and calling his work the spawn of satan. Now idk about you but if some moron publically shunned me for publishing my work, said it had no value except as a tool for harm, and that my work should be hated and belittled I think I would take offense to that! So again, if you cannot respect Jax-author's work and engage in the technical side of this discussion (this is not a thread about ethics of AI [HINT: Read the sub-forum's name]) then you need to leave. Please stop derailing this thread.
Click to expand...Click to collapse...
I like how half of this is "How dare you be mean!!!" while the other half is insulting me personally and calling me a moron, when even I didn't do that. I just said "You are that guy" with "You are materially inducing harm onto everyone else in this hobby" which is objectively true lol

Not that you shouldn't be able to do that, but god you're being an annoying little shit. "If some moron publicly shunned me" first of all not a moron, secondly please do not leave this thread for your safety, I think you would genuinely combust if you saw how many people hate what you are advocating for.

It really only takes a bit of pushback on "My solution: Everyone just read what the AI tells them to click and 90% of the time pick it, this is real competitive gaming and advancement" to get people to call you a luddite lmao. Crazy
I do not support the use of AI in Smogon to cheat and do in fact hold concerns about Smogon's future but the reason I'm not saying them publicly is BECAUSE THEY ADD ZERO VALUE TO THE DISCUSSION. The doomposting is inherently anti-intellectual and breeds needless hatred and yet you continue to do it. You have all but said that Jax_author is a bad person for making this bot, you have zero technical interest in this bot, and are actively promoting the idea that users should not be engaging respectfully with the creator or his creation. Why the fuck are you here?
Runo said:
I do not support the use of AI in Smogon to cheat and do in fact hold concerns about Smogon's future but the reason I'm not saying them publicly is BECAUSE THEY ADD ZERO VALUE TO THE DISCUSSION. The doomposting is inherently anti-intellectual and breeds needless hatred and yet you continue to do it. You have all but said that Jax_author is a bad person for making this bot, you have zero technical interest in this bot, and are actively promoting the idea that users should not be engaging respectfully with the creator or his creation. Why the fuck are you here?
Click to expand...Click to collapse...
Icl I wrote an actually "I think you're chill and here is some actual things to think about with how to go forward" and then I saw your reply calling me a moron and just dmed it to the other guy instead



If you actually want that and don't just want me to leave here you go:

1. The mass introduction of AI bots onto Showdown ladder incentivizes action from TPC because it threatens their own client, potentially. Even though Champions doesn't have easy integration obviously, AI bots training off of VGC training data could prompt action to protect that if they feel AI bots are a threat to their game via people being able to plug-in information via an app to play the Champions ladder for them; this is not something we can be sure they care about, but I think it is an actual concern. Is there any way to mitigate this risk? VGC is the most popular format on the website right now, and protecting it should be a priority.

2. Is there any solution for the regular ladder that is acceptable, and mitigation? A lot of the solutions thrown around contain themselves to the tour community, a community that is extremely minuscule whereas over 99% of players are on the ladder, a considerable amount Little Timmy. At what point do we care about protecting them? Do we care about midladder and up? Highladder only? Do we care about Little Timmy? I think that at the least it could be a good time to revisit refactoring the ladder and adding ELO calculations for new accounts. Bot Player 47 will not go down to Little Timmy lows.

Should we move to a real account system to mitigate alt spam?

3. Should players be able to opt out of training data on the ladder? There is already a reasonable proposal of having the bots be challengeable, but if we are realistic in the near future avoiding bots on the ladder will not be feasible. Should we adopt the approach of letting people opt out of their matches being used for training on the account level? Someone could obviously get their bot to ignore this, but we are trying to reduce harm and not stop it completely. If we were to give people broad access, there would be some level of centralization.

OR: Is that bad because people could then on their own train their AIs to be better, thus giving them more advantage? Do we want the centralized option to be the default best, or strive for it to be the best?





But other than that yea I'm out lol, if y'all can find an Actual Solution then you will have my actual respect, otherwise eh

Also no. I do not think you're inherently bad people for wanting the AI stuff. I do think that it is shortsighted to say things like "It will increase the skill ceiling" when objectively the tool's main use will be to get around having to be good at the game.

It was more of a "Please let's wake up, we are not finding an actual Solution let's be for real about what has actually been unleashed on the world". I know enough about software and the tech space to know that 90% of tools that are used by the end users to fuck things up are made because people just wanted to do some hobbyist stuff, even before AI tbh. I mean shit we got fuckin pervert glasses bro, this is nowhere close to that level of fucked upness

Jax dev is not a bad person (probably I mean idk them), you aren't (though I didn't enjoy being insulted, it was heated on my end asw so all forgiven), and Blazade seems chill af. Here is some nuanceslop: A lot of people like things that have big downsides, I do too sometimes, but we just gotta be real about it

Alright bai have fun
Folks. The doomposting in this thread has gotten out of hand.

I understand that many of you are upset about AI, both generally and in the sphere of competitive Pokemon. I also understand that many of you are concerned about the future of this hobby.

However, doomposting is not the way to voice these concerns. Said posts are unproductive at best, as they distract from actual discussions on the issue and proposed fixes / policy changes. At worst, they actively derail the thread into an argumentative back-and-forth where nothing gets done (see above).

Additionally, this thread is really not the place to raise these overarching concerns about AI. This thread is about the jaxcalibur bot - this specific project. And even if you don't like jaxcalibur_author 's creation, this back-and-forth has drawn the thread from its original purpose; that is, discussion about the bot.

If you would like to discuss AI policy generally in a productive, non-doomposty manner, I would perhaps recommend this thread. Otherwise, going forward, please keep the discussion in this thread on-point to this specific project.
Thanks again everyone for the discussion! A couple of updates:

After reading the responses here and talking with members of the community, I've decided not to release Jaxcalibur's code or model weights. Given the concerns around cheating and the potential effect on the ladder and competitive scene, I'd rather err on the side of preserving what makes Showdown/Smogon fun.

I'm also taking Jaxcalibur offline from public challenges for at least the next week while I work on some fixes and improvements. I may make it available to challenge again afterward, but it will not be laddering.
Hi, this is a really really cool project and I love it. I'm working on (well, vibe-coding) a training tool for doubles that works for whatever regulation. This is not really meant to be an AI that can play autonomously, but rather, assumes we know the four mons + EVs on both sides and is meant to help people improve by themselves (i.e. if they miss certain lines without a coach). There is an easy extension once we solve this subproblem to "decide which 4 pokemon to bring", and then a harder extension using this program to actually team-build. I have something minimal but would be really curious to talk to you, how can I reach out?

Some tricky problems - right now, pivoting moves are hard (actions taken in the middle of the turn) and I don't want to shard the state space. Another tricky problem is the simple Sucker Punch endgame described in https://wallabay.substack.com/p/the-game-theory-of-competitive-pokemon. Tracking PP feels necessary to get this case right, but also, in majority of cases, PP just doesn't matter. I think I'm ok with not solving the latter (doesn't feel important), but I'd kind of like to get the former right.

I'm also curious why you went with 10 buckets for HP instead of 16 buckets. The latter feels natural since grassy terrain, sand, rocks, poison, 1 or 3 layers of spikes etc. are in multiples of 1/16th.

I love how you quantify the ELO gain from neural net versus search! I'm still thinking how to "measure / evaluate" the tool (what metric to optimize / measure to hill-climb effectively)
Last edited:
Back Top