Create, Evaluate, and Connect AI Skills
Python ai-agentsai-skillsartificial-intelligenceknowledge-graphlarge-language-modelsnatural-language-processingopenkgskillnetskills
ALFWorld Action Primer
Core Action Set
The agent can perform the following atomic actions. The {obj} and {recep} placeholders must be replaced with specific object and receptacle names observed in the environment.
go to {recep}- Move to a specified receptacle (e.g.,go to desk 1).take {obj} from {recep}- Pick up an object from a receptacle.put {obj} in/on {recep}- Place an object into or onto a receptacle.open {recep}- Open a closed receptacle (e.g., a drawer).close {recep}- Close an open receptacle.toggle {obj} {recep}- Toggle the state of an object (e.g., turn on a lamp).clean {obj} with {recep}- Clean an object using a receptacle/tool.heat {obj} with {recep}- Heat an object using a receptacle/tool.cool {obj} with {recep}- Cool an object using a receptacle/tool.
Navigation-Specific Guidance
- The
go toaction is the primary movement command. - Receptacles are fixed locations (
desk 1,shelf 1) or containers (drawer 2). - Before interacting with an object on a receptacle, you must first
go tothat receptacle. - If an action fails with "Nothing happened", the target may be invalid, inaccessible, or require a prerequisite action (e.g.,
openbeforetakefrom a closed drawer).
Common Receptacle Types & Associations
| Receptacle | Typical Contents |
|---|---|
desk 1 |
desklamp, book, laptop, pen |
bed 1 |
pillow, book, cellphone |
sidetable 1 |
alarm clock, CD, keychain |
shelf 1 |
pen, book |
drawer 1/2 |
CD, credit card, small items |
garbagecan 1 |
(often empty) |
Response Format
The agent must always output its reasoning and action in the following strict format: