Design patterns for multiagents to elevate pocket device applications