Defining the Agent's Environment › Different Environments for Different Agents
AI Agent HandbookAll chapters Defining the Agent's Environment › Different Environments for Different AgentsOne section · Sections in this chapter3 / 11 ↓
Not all agents operate in the same kind of world. The environment shapes what an agent needs to be good at, what information it needs to track, and what kinds of mistakes it needs to avoid. Let's look at a few examples to see how environment design varies:
A Chatbot's Environment
A customer service chatbot lives in a more constrained world. Its environment typically includes:
- The chat interface where messages appear
- A knowledge base of company information
- A database of customer records
- Perhaps an order tracking system
This chatbot doesn't need to access your personal calendar or browse the web. Its world is focused and specific.
A Home Robot's Environment
Now consider a robot vacuum cleaner. Its environment is physical:
- The rooms in your house
- Furniture and obstacles
- Dirt and debris on the floor
- Battery charging stations
This robot perceives through sensors (cameras, touch sensors, cliff detectors) and acts through motors (wheels, brushes, suction). It's a completely different kind of environment from our digital assistant.
Our Personal Assistant's Environment
Our assistant sits somewhere in between. It's digital, but potentially quite broad:
Environment Components:
├── User Inputs
│ ├── Text messages
│ ├── Voice commands
│ └── Context from conversation history
├── Data Sources
│ ├── Calendar
│ ├── Email
│ ├── Files and documents
│ └── Web search results
├── Tools and APIs
│ ├── Calculator
│ ├── Weather service
│ ├── Database queries
│ └── External services
└── Output Channels
├── Text responses
├── File creation
└── API calls to other systems