Base implementation of agent inside habitat. To build agents inside habitat the user should subclass habitat.Agent and implement the act() and reset() methods.

class habitat.core.agent.Agent[source]

Abstract class for defining agents which act inside Env. This abstract class standardizes agents to allow seamless benchmarking.

act(observations: habitat.core.simulator.Observations) → int[source]

observations – observations coming in from environment to be used by agent to decide action.


action to be taken inside the environment.

reset() → None[source]

Called before starting a new episode in environment.