No, the point of AI is to have agents achieve goals based on observing an environment. Nothing says they have to be complicated agents or not explicitly programmed. Any book on Computer Science AI will be largely filled with agents that use rather explicit logic and algorithms.