Request for Comprehensive RouterOS v7 Manual with Examples to build code generation chatbot

I am currently working on a project that involves extensive configuration and management of MikroTik devices running RouterOS v7. I want to build a gpt/llama3 ai code generation chatbot so I need a complete manual that includes detailed command references, examples, and particularly, BGP filter configurations just for ros7

Currently the chatgpt chatbot (even the custom ones) gives me incorrect code that does not work

So I’m looking for:
A full manual or detailed guide just for for RouterOS v7 in pdf format
Command references with practical examples, especially for BGP filters for ros7

The bot will help network administrators quickly generate accurate and effective configurations, saving time and reducing errors. I can also make it publically available.

Count me as doubtful that “accurate and effective configurations” be as simple as plugging in more specific training data, but IDK. Mikrotik does have PDF linked on the main docs page: https://help.mikrotik.com/docs/. And maybe there is a PDF for the “old wiki” someplace too, but that have old syntax too… I suppose there are training materials for certifications, but AFAIK those aren’t public. But that’s kinda it for docs.

It the “examples” that are more difficult to come by. I think most LLMs relay on Reddit, YouTube, and GitHub for any RouterOS knowledge. But I’d imagine this forum actually be better, or at least larger data set of RouterOS config/etc. Unfortunately there is not “export all forum posts” here to do that.

Maybe if Mikrotik published this forum’s posts in some archive format (i.e. the 1,000,000 posts here, which has to more than reddit), there be more training data available.

Agreed, but it should be better than whats available currently. I get terribly wrong code atm.
maybe it should crawl this forum since the time ros7 was released..

Why anyone would use a Chatbot to generate routing policy is beyond me.

This is something you need to understand, both from the impact that it can create on the public internet, and for the ability to troubleshoot it later.

If you don’t understand what you are doing, you will never be able to troubleshoot it.

It would be interesting to see if training a model on the documentation and forum would work.
here is the PDF, it’s on the documentation page: https://box.mikrotik.com/f/7d18a1be34c241b4adaa/?dl=1

Blasphemy, putting all consultants out of work and no more MUMs and no more youtube casters …
I would be more impressed by an AI RoS Bot Tester, that would provide better and more stable code :slight_smile:))))

Thank you normis, I will use this and provide feedback.

@honeyfairy were you able to use the documentationto make something useful?

I quickly tried creating a command list and a cheat sheet but it of course requires review and updates.

RouterOS v7 Cheat Sheet: https://gist.github.com/3zzy/61e356f0bfcd2918d271836e30d80698
RouterOS v7 Commands: https://gist.github.com/3zzy/2f53dac174d76bdbd344bee6b5919a67

Please do not throw in the AI generated crap asking to review that “job”.

Not sure what you have against AI but whats been compiled could geniunely be helpful to someone new to Mikrotik and networking in general like me. AI is clearly useful in certain things and it has certainly helped me so just sharing what I could. If you don’t like it, feel free to ignore?

What I shared is not a “job” and I don’t get anything from your review, the community benefits.
I don’t see many Cheat Sheets and Commands listed floating around. If AI has done half the job, even if its “crap” we could improve it further and make it useful.

The problem with posting s–t generated here on the forum is that, in addition to the s–t generated by real people,
it adds to the material with which intelligence is trained and users (the few) who search for something on the forum also find the remains of s–t from artificial intelligence.

Not to mention that people, that freely help, often find out later that the configuration or script for which they donated free time,
was actually made initially by artificial intelligence and must correct its mistakes,
instead of having those who use it learn something…

There is a risk that the forum, from a place of comparison and education between people,
becomes a place to correct the errors of artificial intelligence

I disagree, all you will do is increase the illiteracy of MT users.

You describe AI outputs as "s--t" multiple times but if it were truly worthless, it wouldn't pose any threat to the community. What I think is actually bothering you (and it's a legitimate concern) is that AI has become good enough to:

  • Create content that many users can't distinguish from human expertise
  • Produce solutions that work well enough to be implemented
  • Capture value from your knowledge and corrections without compensation

It's not that AI content is worthless, it's that your expertise, which took years to develop, is being approximated without proper recognition or compensation. And when you freely offer corrections, those improvements get fed back into making AI even better. That's a legitimate concern but doesn't justify dismissing the technology outright.

Really? How so? The AI has essentially just summarized information from the official documentation. Making concise information more accessible doesn’t create illiteracy - if anything, it helps people get started who might otherwise be overwhelmed by dense technical documentation. Many people learn better with simplified explanations before diving into more complex details.

Two posts ago, the answer seemed to me to be written by AI,
completely written in an unnatural and artificial way.

And as I have written several times, I only write what I write, nothing else.
So, if your intelligence has not yet understood it, I am against posting those incorrect -hi- results.
Yes, I said incorrect. Not correct, wrong, fallacious, etc.
Do you understand the meaning?
Those who read the forum as beginners could take that -hi- for true. That’s the point.
So instead of helping the beginner, it confuses him from the beginning.

Exactly, many users, not all users…


Maybe, never seen (well enough).


I am among the many who have written a ton of scripts in the forum,
yet if the AI ​​is trained with the data on this forum, I do not see the same reasoning in the AI, and not even better…


I would also like to explain that I am not against AI, I am against those who do not understand it,
and put incomplete or incorrect results in the forum, which should only contain fairly correct answers,
not invented commands or illogical reasoning, as the chat bot often does.
The job of AI currently is to chat and invent just for the sake of chatting.

Luckily, it’s not my job to provide support in RouterOS, so if there’s an AI that can improve security and scripting, welcome.
You, instead, be careful not to be replaced…
You may find yourself needing to become a laborer without the ability to express yourself,
who must follow the AI’s instructions to the letter, treated only as a expendable machine to do manual labor.

(And then there’s no need for AI to be treated that way…)

I very much don’t want to inflame, or feed the existing flames on the topic of AI, but, in case it is of value to anyone, for the past week or so I have been working with claude.ai (their paid 3.7 version) and it is, IMHO, fantastic.

Claude.ai explains topics truly beautifully, is infinitely patient with my questions, and generates fully commented and (I believe) good quality code.

With the help of others here (you know who you are), claude.ai, a little test lab, and herculean efforts (to overcome my substantial learning disorder :smiley: ), I am progressing nicely in my learning.

I would be happy to share some of the config, but only on request, as I am sensitive to the admonitions against posting AI generated code.

But look, I would call it a heartfelt discussion, rather than a flamed one.
So far it is at a high level of democracy and civilization.

Ah It’s refreshing to hear from someone who’s actually explored what good AI can do! Claude 3.7 is indeed remarkable.
This discussion reminds me of the transition from paper maps to GPS navigation. When GPS first appeared, many experienced navigators dismissed it as unreliable or claimed it would make people lose their natural sense of direction. They weren’t entirely wrong about some limitations, but they missed the bigger picture.
GPS helps millions navigate today. Experienced travelers still bring their expertise to interpret the GPS suggestions, understanding when to follow them and when human judgment should override. But they don’t refuse to use the tool entirely.
Ultimatelt AI is still a tool - exactly as effective as its user knows how to make it.

How many people I found going the wrong way,
children run over by those who end up on the sidewalk to look at the screen…
But it would have all happened anyway with the advent of the smartphone.

When I go for a walk now I inevitably have the GPS in my smartphone, in new cities I use it, but I haven’t lost my sense of direction.
When I go by car I always have a real Garmin GPS with me, with all the personalized maps in addition to the street ones.
A truly useful tool, it doesn’t lie, it doesn’t invent, the information either has it, or it doesn’t have it, or at most, if it does,
it was given the wrong information, but no one intelligently invented it…