Agent Environments
Environment is the reusable execution substrate definition for a session.
The current runtime keeps environments deliberately small and explicit.
Use this page when you want to answer:
- what an environment owns
- why a session references an environment instead of embedding it
- how execution substrate differs from agent definition and session truth
Why environments exist
An environment answers:- where does this session execute
- what sandbox posture applies
- what default workspace mounts should exist
- a session references an environment
- a session does not embed the whole environment definition
- the session lifecycle
- the writable workspace hand
- the shared substrate
Current shape
The current environment contract includes:idnamekind: "local"sandboxworkspaceMountDefaultscreatedAtupdatedAt
- workspace access mode
- network access mode
- package policy
- default mount paths for workspace and runtime directories
Current implementation
Today openboa ships only:kind: "local"
Storage
Reusable environment definitions live under:local-default
Session relationship
A session stores:environmentId
- the session is loaded
- the environment definition is loaded
- resources are provisioned against that environment
- the harness runs
What does not belong here
The environment is not:- the agent definition
- the provider model choice
- a full session snapshot
Future shape
This contract is intentionally open to later additions such as:- remote containers
- cloud workers
- richer network policy
- package/image pinning
- vault-aware provisioning