AI Follower Framework (AI-FF) (2024)

AI Follower Framework (AI-FF) (1)

AI Follower Framework (AI-FF) (2)



AI Follower Framework (AI-FF) (3)



AI Follower Framework (AI-FF) (4)

AI Follower Framework (AI-FF) (5)



AI Follower Framework (AI-FF) allows you to make ANY NPC an AI.


THE FOCUS OF THIS MOD IS MEANINGFUL INTERACTIONS WITH AI FOLLOWERS!

This mod is designed for the most immersive experience possible with your AI party members.
Though you can still have cool conversations with all other NPC's.

AI Follower Framework (AI-FF) (6)


👨👩🐴ANY NPC CAN BE AN AI

You can make ANY NPC an AI by using pressing the "Activate AI" hotkey (MCM to configure it).

AI Follower Framework (AI-FF) (7)

Once activated you will be able to interact with them either with your voice or a chat-box.
It will work with ANY NPC: vanilla, modded and even horses!

All vanilla NPC's already have preset character biographies (Credit to Shawn/Kakarrot &TomahawkJackson).
Each NPC can be individually customized with different personalities, voices and AI models to fine tune them to your liking.

🧙‍♂️🧝‍♀️👨‍🌾GROUP CONVERSATIONS

If you have multiple AI NPC's activated (there is no upper limit) they will converse with each other in group conversations naturally.
They will argue, plan, pass judgement and even flirt amongst themselves without direct player interaction.

There is an infinite amount of conversations that are possible. This is the ultimate party banter tool!


🎭🧠DYNAMIC PERSONALITIESAND MEMORIES

Dynamic Personalities: Their personality biography can be auto-updated through in-game events, such as sleeping. The character bio will change depending on the previous interactions they had with the player and the world around them.Example:
* Relation with RANGROO: Jenassa respects RANGROO's growing strength and tactical insight, viewing him as a wise partner. Their bond deepens through shared battles, with her encouraging him to embrace his potential while showcasing her own prowess. She playfully challenges him and expresses pride in his progress, urging him for direction while maintaining her competitive spirit. Jenassa appreciates his leadership and enjoys their camaraderie, often engaging in banter while navigating challenges together, reflecting a balance of respect and excitement in their adventures.* Likes: Combat, gold, strength, tactical acumen, excitement; enjoys the thrill of facing foes, especially bandits. Recently, she has shown interest in home decoration, indicating a potential appreciation for the fruits of their labor beyond combat. She relishes the idea of adventure and is eager for the next challenge.

* Fears: Undead foes, confined spaces, being alone in danger; particularly averse to the undead as significant threats. She fears being caught off guard or unprepared in dangerous situations, which can undermine her confidence and sense of security.

* Dislikes: Daydreaming, distractions from combat, bandits; prefers focusing on immediate threats and despises frivolous thoughts during missions. She expresses disdain for anyone who underestimates their enemies or detracts from their goals.

Long-Term Memories
: Each AI NPC will have their conversations and interactions they have participated in saved to a "PSQL Long-Term Memory Vector Database". This allows them to recall specific events and conversations hours laterand will affect how they interact with the player.
Example:

  • I used a crossbow to kill a mudcrab.
  • My companion, Herika, made a comment saying "Another one bites the dust, eh Rangy? (My name is RANGROO) That mudcrab met a shell-shocking end!"
  • I tell her "Is that my new nickname? Rangy?".
  • She says "Well, I could call you Swamp Breath if your prefer" (I am anFarm-Tool Argonian)
  • I relent and move on with the adventure.
  • For the next few hours of gameplay should we keep referring to me as "Rangy" instead of "RANGROO".
  • This was due to the long-term memory system implanting memories of her calling me "Rangy" instead of "RANGROO", so that was my new name ¯\_(ツ)_/¯

🌎INDEPTH WORLD AWARENESS

We feed A LOT of information about what is happening in-game to the AI to make sure it will respond as accurately as possible.

What the AI Tracks:
  • Combat Encounters
  • Dialogue (Traditional and AI spoken)
  • Time/Date
  • Weather
  • Location
  • Quests
  • Player Statistics
  • Items Acquired
  • Equipment
  • Memories
  • Diary Entries
  • Books
  • Who was present during events (You can keep secrets from AI NPC's!)
👉ACTION COMMANDS

Through natural conversation the AI will trigger in-game actions, whether directly initiated by the player or on their own accord.

Command List:

  • Inspect NPC
  • Inspect Surroundings
  • Move To (Short distance travel)
  • Journey To (Long distance travel)
  • Attack
  • Open Inventory
  • Check Inventory
  • Sheathe Weapon
  • Take A Seat
  • Read Quest Journal
  • Increase Walk Speed
  • Decrease Walk Speed
  • Set Current Task
  • Stop Walking
  • Stop/Relax (Will hard stop any AI actions)
📚AI NARRATOR
We have added an AI narrator who will always be present.
Though you can turn them off if you want.They will narrate your adventures, recap what has previously happened and offer help with your current tasks.
You can also skip through dialogue and have the Narrator summarize it!

Like with all other AI NPC's, you can fully customize their personality and voice.If you are alone with no AI NPC's every time you speak the narrator will respond.
Otherwise, start any sentence with "Hey Narrator".

📃EVERYTHING ELSE
  • Soulgazeallows the AI to visually see anddescribe what is shown in-game.
  • Summarize any book in game and have it read aloud like an audio log.
  • Each AI NPC will only be aware of events which they have witnessed.
  • AI NPC's will play animations based on their mood.
  • Diary entries can be written by the AI NPC's, describing the current adventure from their perspective.
  • Very deep customization, every setting can be fine tuned and tweaked to your liking for each NPC.
  • Our own custom trained tiny LLM model (Minime-T5) which improves the accuracy for actions and memory functions.
  • Wide range of support for offline and online AI services.

AI Follower Framework (AI-FF) (8)

VR Support?
Yes!

Why are there 2 files to download?

1)DwemerDistro3is a WSL2 virtual machine that can run on most windows computers.
It acts as the "AI Brain" for the entire mod. It runs in the background while you play Skyrim.


2)AIAgent
is installed normally like any other Skyrim Mod.What AI services and programs are supported?
A LOT! Here is a list of what is currently supported and what we recommend:

TTS = Text-to-Speech (AI Voice)
STT = Speech-to-Text (How you speak to the AI with your voice)
LLM = Large Language Model (AI generation brain)
ITT = Image-to-Text (Soulgaze feature, view the game visually)

Online Services

Each one will require creating an account and getting an API key to use with AI-FF.
NEVER SHARE YOUR API KEYS WITH ANYONE!

OpenAI

(TTS, STT, LLM, ITT)Highly Recommended! (Yes it is heavily moderated but is very easy for basic setup)
OpenRouter (LLM)Highly Recommended!(Less moderated and has some very cheap AI models)
Azure (TTS, STT)
ElevenLabs (TTS) (Great voice quality but very expensive)
Deepgram (STT, TTS)

Offline Services included in DwemerDistro

Local Whisper (STT) [4GB VRAM]
XTTSv2 Fast-API (TTS) [4GB VRAM] Highly Recommended!(Allows for easy voice setup for every NPC!)
Mimic3 (TTS) [Very little memory usage!]Highly Recommended!
Llama Llava (ITT) [4GB VRAM]

Offline Services installed separately
KoboldCPP

(LLM) [4GB VRAM for a 7B model, 8GB for a 13B]
XTTS Mantella(TTS)[4GB VRAM]

What we Recommend

Most Users:

LLM = OpenRouter or OpenAI
STT = Deepgram or OpenAI
TTS = XTTSv2 Fast-API
ITT = OpenAI or None

Easiest Setup:

LLM = OpenAI
STT = OpenAI
TTS = OpenAI
ITT = OpenAI

On a budget or low-end PC's:

LLM = OpenRouter
STT = OpenAI or none (can use chat-box to talk)
TTS = Mimic3
ITT = None

High End PC's for running everything locally:

LLM = KoboldCPP
STT = LocalWhisper
TTS = XTTSv2 Fast-API or XTTS Mantella
ITT = Llama LlavaFor specific AI models the mod requires "instruct" style models to function.
(Any ChatGPT models or a lot of HuggingFace models with the word "instruct" in the title)

Here is a table of compatible modelsCompatibility?
This mod is compatible with 99.99% other mods. Most of the AI scripting is noninvasive.
Does not require new saves, can be uninstalled whenever.

We highly recommend you use
Nether's Follower FrameworkOther recommended mods:
Subtitles
To Your Face
How does this even work?
This is an older video but its still covers the fundamentals:

AI Follower Framework (AI-FF) (9)



AI-FF User Manual🚨If you have issues with installation and need help, then join our Discord and ask for help in the "i-have-a-problem" channel!

Installing DwemerDistro3

  • Download 1)DwemerDistro3 file in the downloads page.
  • Unzip it on your computer (somewhere you wont forget!)
  • Ensure you have virtualization enabled in your PC BIOS menu(Here is a good guide if you are having issues).
  • Ensure you have “Virtual Machine Platform” and “Windows Subsystem for Linux” enabled in “Turn windows features on or off

AI Follower Framework (AI-FF) (10)

AI Follower Framework (AI-FF) (11)



  • Open the Command Prompt as adminand enter this command: wsl --update (This is to update to WSL2)

  • In the DwemerDistro3folder you unzipped run the Install.batfile.
  • After it has been installed, open the Toolsfolder and click Update.bat (password is dwemer)


Optional Components:

Under Tools/componentsyou can addadditional components to the DwemerDistro:

  • 0.install_mimic3.bat = Installs Mimic3 TTS service (easy to use and low computer requirements)
  • 1_install_cuda_deps.bat = Install if you are using a Nvidia GPU
  • 2.install_llama-cpp-llava.bat =Allows for local ITT support.
  • 2.install_minime-t5.bat = Mini AI model to help run actions and commands within the mod. Highly recommended!
  • 2.install_text2vec.bat= IGNORE, DOES NOT WORK CURRENTLY!
  • 2.install_whisper.bat = Local STT service. Requires a decent PC to run effectively.
  • 2.install_xttsv2.bat = Local high quality TTS service. Highly recommend if you have a decent PC!
  • 9.util_compact_after_optionals_installs.bat = Compress the DwemerDistro after you have installed the components you want.
  • More info about these services can be found in the Readme.txt file in the DwemerDistro3 folder.

  • Run CompactDistro.bat to compress the Distro further to save more hard drive space.
  • Once you have installed the components you want openRun.bat. (We recommend you make this a shortcut and place on your desktop)
  • A web browser interface should open withthe AI-FF server home page.
  • In the web interface click Configuration - Configuration Wizard

Configuration Wizard Profile Considerations:

  • It's important to configure the default profile before adding followers to the framework.
  • Each time a follower is added, it will inherit the default profile values.
  • After this, the NPC name will be automatically filled and a new profile will appear in the drop down menu (you may need to refresh the interface).
  • By configuring the default profile properly, you ensure that new followers have the appropriate settings from the start.
  • When adding a new follower, the default profile will be copied over but with a different character name and personality profile.
  • Leave the default profile named as “The Narrator”.

Setup your configuration wizard with your AI/LLM, TTS, STT ITT, etc services of choice.
Make sure you have your API keys handy for any online services you wish to use. They are required for those services to connect and work!
Use the What AI services and programs are supported?in the FAQ section above to help you pick what's best for your setup!Some Suggestions:

  • Enable Minime-T5 if you installed it as an optional component from above.
  • Enable Long Term Memory. Allows AI NPC's to remember events.
  • OpenRouter is a good and easy LLM service to use.
  • OpenAI has a good cheap STT service.
  • XTTS is fantastic for TTS, highly recommend to install it as an optional component.
  • Under Troubleshootingin the web interface, run the connection tests to verify you have setup everything properly.
  • STT will use your computer's default configured microphone. Make sure to verify your default microphone settings in Windows!


  • Once you have setup the default profile in the web interface click "Save".

Skyrim Mod Setup
DOWNLOAD AND INSTALL THESE REQUIRED MODS!
Address Library for SKSE Plugins
ConsoleUtilSSE NG
PapyrusUtil SE - Modders Scripting Utility Functions
powerofthree's Papyrus Extender
SkyUI
UIExtensions

  • Download the2)AIAgentfile in the downloads page.
  • Install it with your mod manager of choice
  • In the AI Follower Frameworkweb page click Server Actions - Create AIAgent.ini and download the file.
    (It will say its an unsecure file as you have downloaded it from a local web server but it is 100% safe!)

    AI Follower Framework (AI-FF) (12)


  • Place it in the AIAgent mod folder you just installed under SKSE - Plugins.

    AI Follower Framework (AI-FF) (13)

    


    In-game Setup
  • Ensure that DwemerDistro is running (the Run.bat command prompt window is running) and boot up the game.
  • Once in game (no newgame required) open MCM and click AIAgent.
  • Setup your hotkeys and settings as needed.
  • Test that the mod works by using one of the communication hotkeys and saying "Hey Narrator!" to see if you get a response.
  • If that works, go up to any NPC and click the "Activate AI" hotkey and wait for their initial "AI awaken" response.

    🎉Well done, you have the mod installed! 🎉
    Highly recommend to read the AI-FF Manual.
  • AI Follower Framework (AI-FF) (2024)
    Top Articles
    Patreon Downloader - Chrome Web Store
    Patreon Downloader – 5 beste Tools für diese Aufgabe
    Wordscapes Level 5130 Answers
    13 Easy Ways to Get Level 99 in Every Skill on RuneScape (F2P)
    Myexperience Login Northwell
    Obor Guide Osrs
    Select The Best Reagents For The Reaction Below.
    Hello Alice Business Credit Card Limit Hard Pull
    A.e.a.o.n.m.s
    Olivia Ponton On Pride, Her Collection With AE & Accidentally Coming Out On TikTok
    123Moviescloud
    DoorDash, Inc. (DASH) Stock Price, Quote & News - Stock Analysis
    iLuv Aud Click: Tragbarer Wi-Fi-Lautsprecher für Amazons Alexa - Portable Echo Alternative
    Dr Adj Redist Cadv Prin Amex Charge
    Puretalkusa.com/Amac
    Carson Municipal Code
    Libinick
    Project, Time & Expense Tracking Software for Business
    Johnnie Walker Double Black Costco
    Www.patientnotebook/Atic
    At&T Outage Today 2022 Map
    Play Tetris Mind Bender
    Airtable Concatenate
    Myql Loan Login
    The Creator Showtimes Near R/C Gateway Theater 8
    Netwerk van %naam%, analyse van %nb_relaties% relaties
    Spiritual Meaning Of Snake Tattoo: Healing And Rebirth!
    Relaxed Sneak Animations
    Access a Shared Resource | Computing for Arts + Sciences
    Lbrands Login Aces
    Craigslist Comes Clean: No More 'Adult Services,' Ever
    Jamielizzz Leaked
    Obituaries, 2001 | El Paso County, TXGenWeb
    Wasmo Link Telegram
    Vistatech Quadcopter Drone With Camera Reviews
    Kattis-Solutions
    Verizon TV and Internet Packages
    Trebuchet Gizmo Answer Key
    10 Most Ridiculously Expensive Haircuts Of All Time in 2024 - Financesonline.com
    Tds Wifi Outage
    How much does Painttool SAI costs?
    The Holdovers Showtimes Near Regal Huebner Oaks
    Ursula Creed Datasheet
    Man Stuff Idaho
    Great Clips Virginia Center Commons
    Tfn Powerschool
    Gas Buddy Il
    Myapps Tesla Ultipro Sign In
    Rétrospective 2023 : une année culturelle de renaissances et de mutations
    Koniec veľkorysých plánov. Prestížna LEAF Academy mení adresu, masívny kampus nepostaví
    How to Choose Where to Study Abroad
    Https://Eaxcis.allstate.com
    Latest Posts
    Article information

    Author: Allyn Kozey

    Last Updated:

    Views: 5271

    Rating: 4.2 / 5 (63 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Allyn Kozey

    Birthday: 1993-12-21

    Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

    Phone: +2456904400762

    Job: Investor Administrator

    Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

    Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.