Free & open-source FiveM framework

AI Core

Your Server. Your Rules. Your AI.

Built from the ground up with TypeScript, so you and your AI can build the server you want, with or without writing code.

Pull me down!

No coding experience? No problem. Describe what you want, and let AI help you build it.

Built for AI development

Describe it. AI builds it.

AI Core isn't just another framework with AI in its name. Its codebase ships with dedicated AI instructions, development guidelines and one consistent TypeScript architecture, so coding assistants understand it from the first prompt.

Testing generated code is still recommended.

ai-core: ai-mechanic

You

Add a /repairkit command mechanics can use to give a player a repair kit.

AI assistant

  • Reading CLAUDE.md
  • Reading AGENTS.md
  • Reading .claude/skills/aicore-fivem
import {
addCommand,
inventory,
notify,
} from "@aifivem/lib/server";
addCommand(
"repairkit",
{
help: "Give a player a repair kit",
restricted: "ai.job.mechanic",
params: [{ name: "id", type: "playerId" }],
},
(source, { id }) => {
if (inventory.addItem(id, "repairkit")) {
notify(source, "Repair kit sent", "success");
} else {
notify(source, "Their inventory is full", "error");
}
},
);

Done. Restart the resource to try it.

One framework. The whole FiveM ecosystem.

Got an ESX, QBCore, Qbox or vRP script? It just runs.

It doesn’t matter which framework a script was written for. AI Core runs the whole FiveM ecosystem in one framework, on one optimized TypeScript core.

AI Core
Server console00:00:00
  • ESXesx_joblistingQueued
  • QBCoreqb-cityhallQueued
  • Qboxqbx_garagesQueued
  • vRPvrp_chestsQueued
ai-core0 of 4 running

Stop checking what your script is compatible with. AI Core does that for you.

ESXQBCoreQboxvRP

Side by side

ESX, QBCore, Qbox and vRP scripts run together on the same server, with no setting to switch.

-- ai-core/fxmanifest.lua
provide 'es_extended'
provide 'qb-core'
provide 'qbx_core'
provide 'vrp'

One optimized core

AI Core answers as es_extended, qb-core, qbx_core and vrp itself, so no second framework runs behind it.

GitHubTebexFreePaid

Free or paid

From GitHub or from Tebex: scripts built for these frameworks are designed to run on AI Core.

Compatibility can still depend on how a script is written and on what else it needs.

Built for FiveM roleplay

Your city, ready on day one.

AI Core comes with the jobs and systems a roleplay server runs on, every one of them set up from the in-game panel.

  • Police department

    ai-police

  • EMS & hospital

    ai-death

  • Mechanic shops

    ai-mechanic

  • Garages & impound

    ai-garages

  • Car dealership

    ai-vehicleshop

  • Banking & ATMs

    ai-banking

  • Real estate

    ai-properties

  • Robberies & heists

    ai-robberies

  • Drug trade

    ai-drugs

  • Street races

    ai-streetraces

  • City hall & jobs

    ai-cityhall

  • Fuel stations

    ai-fuel

Vehicle shop with a live preview car, colour swatches and categories.
Vehicle shopai-vehicleshop
ATM screen with the personal account balance, withdraw and transfer.
ATMs and bankingai-banking
Police alert cards with the street, the time and a waypoint key.
Police alertsai-policealert
Death screen: a downed player on the pavement with a respawn countdown.
Down, waiting for a medicai-death
Hot dog stand job with a skill check ring minigame.
Skill check minigamesai-jobs
A 24/7 supermarket shop next to the inventory grid.
Shopsai-inventory

Automatic script integration

Install it. AI Core connects it.

Stop wiring resources together by hand. AI Core detects supported installed scripts and adapts related systems: install a compatible vehicle key or hotwire script, and every supported resource that needs keys starts using it.

InstalledVehicle key script detectedai-garagesai-vehicleshopai-rentalai-mechanicai-police

Manage everything in-game

Settings, without the config files.

Forget editing configuration files for everyday framework settings. The in-game administration panel lets you manage the framework directly from your server.

Integrations

Detected on this server. Change any of them in one click.

InventoryAuto: ai-inventory
Vehicle keysAuto: ai-vehiclekeys
PhoneAuto: none found
WeatherAuto: ai-weathersync
Detect scripts on start
Saved live
The AI Core admin panel dashboard listing every script with its settings tabs.
Every script in one panelai-core
Admin panel spawn point settings with Use my position buttons.
Places picked in the worldai-core
Admin panel death and hospital settings: respawn timer, hospital fee and medic rules.
Rules as plain switchesai-death
In-game admin quick menu with noclip, teleport, revive and vehicle actions.
Admin quick menuai-admin

Third-party resources may still require their own setup.

Everything a modern server needs.

TS

Built with TypeScript

Strong types, organized code and a structure AI assistants can read: APIs, functions and data relationships.

GPL-3.0

Free & open source

Inspect it, customize it, contribute to it. No framework license fees.

ai-inventoryai-bankingai-garagesai-policeai-mechanicai-hudai-jobsai-propertiesai-deathai-fuelai-doorlockai-radialmenuai-robberiesai-vehicleshop

A full script collection

Inventory, banking, garages, police, mechanic, HUD and many more, all configured from the same panel.

  • CLAUDE.md
  • AGENTS.md
  • .claude/rules/
  • .claude/skills/aicore-fivem
  • resources/[ai]/*/CLAUDE.md

AI instructions included

Every resource explains itself to your coding assistant.

AI is optional

AI Core works as a regular FiveM framework and needs no AI service to run.

Seen in game

Every screen, ready to play.

The screens your players use every day come with AI Core, in one consistent style. Every picture here is a real in-game screenshot.

Character screen with the character standing in a city scene.
Character screenai-core
AI Core loading screen with the city at night, a tip and the loading progress.
Loading screenai-loading
Grid inventory with equipment slots, the character and quick slots.
Inventoryai-inventory
Clothing store with sliders for every clothing slot.
Clothing storeai-appearance
Barber shop with hairstyle, hair colour and eyebrow options.
Barber shopai-appearance
HUD with key hints next to the HUD settings menu.
HUD and its settingsai-hud
Radial menu with inventory, keys, HUD settings, carry and sell drugs.
Radial menuai-radialmenu
Keys screen: a keyboard with every bound key coloured and what each one does.
Keys screenai-core
Chat with channels and command suggestions.
Chatai-chat

Compatible scripts

Works with the scripts you already own.

From GitHub or from Tebex, free or paid: see which scripts AI Core integrates with today.

es_extendedqb-coreqbx_coretgiann-inventoryox_inventoryqb-inventorycodem-inventorycore_inventoryorigen_inventoryjaksam_inventorytgiann-clothingillenium-appearanceqb-clothingcrm-appearancercore_clothingbl_appearanceqbx_vehiclekeysqb-vehiclekeysRenewed-VehiclekeysMrNewbVehicleKeysmVehicletgiann-hotwirewasabi_carlockcd_garagevehicles_keysokokGaragebrutal_keysak47_vehiclekeysak47_qb_vehiclekeys0r-vehiclekeysfilo_vehiclekeyLifeSaver_KeySystemic3d_vehiclekeysis_vehiclekeysmk_vehiclekeysmm_carkeysp_carkeysrd_vehiclekeyst1ger_keystgiann-realparkingtgiann-garagejg-advancedgaragesox_fuelRenewed-Fuelcodem-xfuelv2x-fuelLegacyFuelcdn-fuelps-fuellc_fuelokokGasStationtgiann-phonelb-phonegksphone17mov_Phoneyserieshigh-phoneroadphonepma-voicetgiann-radiotgiann-radio-v2tgiann-voice-libchattgiann-lumihudtgiann-hudv2tgiann-modern-hudtgiann-statushudjg-hud0r-hud-v3codem-supreme-hud
Codem-BlackHUDV2wais-hudv6qb-hudps-hudqbx_seatbeltokokNotifymythic_notifybrutal_notifyox_libtgiann-targettgiann-radialmenu-targetox_targetqb-targetsleepless_interactinteracttgiann-radialmenuqb-radialmenucodem-supreme-radialmenutgiann-emotesrpemotes-reborncodem-emotemenu0r-animmenuscully_emotemenudpemotesqbx_medicalars_ambulancejobqb-ambulancejobesx_ambulancejobtgiann-ambulancewasabi_ambulance_v2wasabi_ambulanceosp_ambulancebrutal_ambulancejobtgiann-policealertps-dispatchcd_dispatchrcore_dispatchcore_dispatchlinden_outlawalertlb-tabletwasabi_mdttgiann-mdtps-mdtqb-prisonrcore_prisonxt-prisontgiann-policejobtgiann-bankRenewed-Bankingqb-bankingokokBankingfd_bankingwasabi_bankingkartik-bankingtgg-bankingokokBillingwasabi_billingcodem-billingesx_billingtgiann-doorlockox_doorlockqb-doorlockcd_doorlockrcore_doorlockqb-weathersyncRenewed-Weathersyncav_weathercd_easytimevSync

Questions? Answers.

  • AI represents our vision of making FiveM development accessible through Artificial Intelligence. The framework is designed to work with AI coding tools, so anyone can create and customize resources more easily.

  • No. AI Core includes dedicated AI development instructions that help coding assistants understand its architecture. Describe what you want to build and let AI guide the development. Testing generated code is still recommended.

  • Yes. AI Core was developed from the ground up with TypeScript. ESX and QBCore served as references, but AI Core has its own codebase and architecture.

  • Yes. AI Core is designed to support scripts from both ecosystems. Compatibility may depend on individual resource implementations and external dependencies.

  • Yes. AI Core answers vRP 1 (with the vRPex and Zirix forks and the old 0.5 call style), vRP 2 and vRP 3 at once, with no setting: drop the script in, no vrp resource needed. A panel tab maps the permissions, groups and items vRP scripts ask for to your jobs, gangs, admins and items. Creative v5 and scripts that query vRP's own database tables are not supported.

  • Yes. AI Core supports compatible free and paid third-party scripts originally developed for ESX, QBCore and vRP.

  • AI Core recognizes supported installed resources and configures related integrations automatically. For example, installing a compatible vehicle key system lets other supported scripts use it without separate manual integrations.

  • For supported framework settings, no. AI Core provides an integrated in-game admin panel for managing your framework configuration. Third-party resources may still require their own setup.

  • TypeScript offers strong typing, organized code and better maintainability. Its structure also helps AI coding assistants understand APIs, functions and data relationships.

  • Yes. AI Core is completely free and open source. You can inspect, customize and contribute to the framework according to its license.

  • AI Core is an independent alternative with its own architecture that stays compatible with all three ecosystems.

  • No. AI-assisted development is optional. AI Core works as a regular FiveM framework and does not need an AI service to operate.

Your Server.Your Rules.Your AI.

Start building with AI Core today. It’s free, and it always will be.