A functional model for affordance-based agents
On Three-Layer Architectures