base
Base Agent class.
Currently a stub just to get them in the object hierarchy
Classes:
|
Metaclass for agent types. |
- class Agent(id: Optional[str] = None)[source]
Bases:
autopilot.root.Autopilot_Object
Metaclass for agent types.
Currently a stub, but will provide hooks for basic lifecycle methods of agents:
pre_init
- to be run before any other standard initializationinit
- main initialization hookinit_external
- initialize external processespost_init
- to be run after other initialization… to be continued
And core class and instance attributes:
prefs
- prefs that are needed to configure this agentprocesses
- processes spawned by this agentlistens
- methods to handle messages sent to this agentdependencies
- additional optional python packages or system configurations that this agent depends on.