Ai Inventory Sorter
by iDontByte
AI Inventory Sorter adds a button to the inventory screen that sends the contents to an AI model, which returns a new slot layout for every item.
What it does
Pressing the sort button hands the current inventory to an AI service. The reply is read as a JSON array, and each stack is moved to the slot the model chose. The mod cleans code fences from that reply and extracts the array, so stray formatting does not break the sort. Players who open the inventory and see no change after the AI finishes are hitting a known bug; closing the inventory after clicking the button is the suggested workaround.
The sorting follows built-in rules. The inventory is split into left, middle and right thirds, with shulker boxes, tools, weapons, armor, blocks, miscellaneous items and food each placed in their own section, and the hotbar and main inventory are arranged with the hotbar reserved for a chosen set of items. Modded items such as spears and custom tools are classified by the same rules. Priorities can be changed in a config file. The author notes that editing the source code is also possible but not recommended.
AI Inventory Sorter is a Fabric mod for Minecraft 1.21.11 and requires Fabric API. It runs client-side only, so players install it and servers do not need it. The code is under the MIT License and the project is not open source as a whole. Files are published as v0.0.1a on the alpha channel.
Key features
Sort button in the inventory
A small button in the inventory screen starts the AI sort, so no command is needed.
Sectioned layout
Items are grouped into left, middle and right thirds, with shulker boxes, food, tools and blocks each in their own section.
Hotbar and main inventory rules
The hotbar and main inventory are arranged by built-in rules, with the hotbar reserved for a chosen set of items.
Modded item classification
Items added by other mods, including spears and custom tools, are sorted according to the same defined rules.
Adjustable slot priorities
A config file lets players change slot priorities, and the author notes that the mod has no in-game settings screen.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
Auto-Sorter is a Fabric mod for 1.21 – 1.21.11 that runs client-side only and is open source under the Apache License 2.0, so it does not use an AI service. Quick Inv Sorter is a Fabric mod for 1.21.11 that needs both client and server and is released under the MIT License without being open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Ai Inventory Sorter | Fabric | 1.21.11 | Client-side only | 2026-03-26 |
| Auto-Sorter | Fabric | 1.21 – 1.21.11 | Client-side only | 2026-02-09 |
| Quick Inv Sorter | Fabric | 1.21.11 | Client and server | 2026-04-21 |
Questions
Does AI Inventory Sorter need Fabric API?
Does the server need AI Inventory Sorter?
How long does a sort take?
In the catalog
Ai Inventory Sorter is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 19,862 mods support Minecraft 1.21.11.
Similar mods
What the author says
AI Inventory Sorter is a Minecraft mod that automatically organizes your inventory using AI. It places items in the optimal slots, ensuring your hotbar and main inventory are efficiently arranged for gameplay. Q: How do I assign an Ollama API key? A: Add your API key to config/aiinventorysort.json under apiKey.
Official listing
- Modrinth page
- modrinth.com/mod/ai-inventory-sorter
- Owner
- iDontByte
- Published
- 2026-03-26
- Updated on Modrinth
- 2026-03-26
- Facts verified
- 2026-10-15
