First AI agent (greedy)