Start from a task, not a technology
An agent earns its keep when a task is repetitive, multi-step, and judgement-light. Write the task down as a sentence a colleague could follow — "find grant calls open to Nigerian SMEs this month, check eligibility, and draft a shortlist" — before you write any code. If you cannot describe the finished output, the agent cannot either.