تگ: agent-based reasoning