Text this: Theory of adaptive economic behaviour