Project structure of: MineDojo/Voyager
FAQ.mdVoyager FAQ: Solutions, Limitations, Costs.fabric_mods_install.mdFabric mods installation guideminecraft_instance_install.mdAzure login setup for Minecraft Voyager installation.
README.mdIntelligent Minecraft agent, MIT licensed, outperforms SOTA.requirements.txtProject dependencies: tqdm, langchain, etc.setup.pyPython package setup scriptREADME.mdSkill Library: Contribution and Sharing Guide
__init__.pyImports Voyager class from voyager module.__init__.pyImports Voyager's agents and SkillManager.action.pyActionAgent handles agent behavior with ChatOpenAI and error handling.critic.pyCriticAgent: Evaluates, generates messages for Voyager project.curriculum.pyCurriculum agent manages chat-based learning, QA interactions.skill.pySkillManager initializes, manages skills with VectorDB.
__init__.pyImports control primitives and loads them as text files.craftHelper.jsFinds minimum recipe for items, informs users of missing crafting materials.craftItem.jsCraft items using crafting table, validate inputs, 10 tries before error.exploreUntil.jsExplores tasks with a time limit, resolves result or null.givePlacedItemBack.jsEnables, disables doTileDrops and updates history.killMob.jsKills nearest entity, auto-attacks, saves progressmineBlock.jsMines blocks using bot's collect method.placeItem.jsPlace item: Verify, position, equipment, save or report error.shoot.jsShoot: Bot shoots valid weapon at nearby target in inventory.smeltItem.jsSmelt items using furnace with error handling.useChest.jsEnables bot-controlled chest interaction.waitForMobRemoved.jsWaits for entity removal, stops attacking.
__init__.pyLoads control primitives from "voyager" package.craftItem.jsCrafts items by recipe, needs crafting table.exploreUntil.jsExplore iron and pigs using exploreUntil.killMob.jsKill mob, collect item.mineBlock.jsMines specified block within range, ignores errors.mineflayer.jsControl Mineflayer bot's actions and equipment for effective gameplay.placeItem.jsPlace item near player using pathfindersmeltItem.jsSmelts items using fuel in a furnace, waits 12 seconds per smelt.useChest.jsInteracts with chests for item deposition.
__init__.pyVoyagerEnv config filebridge.pyVoyagerEnv: Azure Minecraft server, pause/unpause, reset, render.minecraft_launcher.pyCreate MinecraftInstance, handle login, config options.process_monitor.pyProcess monitor for subprocess management.
__init__.pyVoyager prompts loader. Imports, defines, returns prompt text.action_response_format.txtAction-based response format for bot main function. Asynchronous with helper functions.action_template.txtReusable Mineflayer Assistant API for chat, exploration, event listeners, fair gameplay.critic.txtMinecraft task evaluator and inventory manager.curriculum.txtMinecraft assistant suggests tasks based on player progress.curriculum_qa_step1_ask_questions.txtGenerate Minecraft prompts based on biome and time, following a specific format for response.curriculum_qa_step2_answer_questions.txtMinecraft Q&A Helper Assistant Setupcurriculum_task_decomposition.txtDecompose Minecraft task based on inventory.skill.txtMine cobblestones with a wooden pickaxe.
__init__.pyUtility functions and classes for Voyager module.file_utils.pyUtility functions for file system operations and management.json_utils.pyJSON handling utilities with error correction and validation.record_utils.pyEventRecorder: Records, updates, and sorts event timestamps.
voyager.pyVoyager: AI communication, environment setup, rollout control.