text: (cid:7) 
  
  # Give single observation to the agent 
  observation = [1] 
  action = single_in put! ( agent , observation ) 
  
  # Give multiple observations to the agent and simulate actions 
  observations = [1, 2, 1, 2, 3] 
  actions = give_inputs !( agent , observations ) 
  (cid:6)  (cid:5) 
  
  Additionally, a set of convenience functions can extract and set parameters and (histories 
  of) beliefs. We briefly show how to extract the current or histories of past states: 
  (cid:7)  (cid:4) 
  
  # Get all current belief states 
  states = get_states ( agent ) 
  # Get a specific state , like the expected free energies only 
  efe = get_states ( agent , " expected_free_energies ") 
  
  # Get history for all states 
  history = get_history ( agent ) 
  # Get history of expected free energies only 
  history_efe = get_history ( agent , " expected_free_energies " ) 
  (cid:6)  (cid:5) 
  
  And how to change the parameters of a created agent: 
  (cid:7) 
  
  # Set individual parameter , alpha to 1.0 
  set_parameters !( agent , " alpha ", 1 .0 ) 