Help on supersimple Get Started example

First time trying to execute an agent in my local laptop using DeepSeek on Ollama.
Here is my script as “GetStarted”:

# Warning control
import warnings
warnings.filterwarnings('ignore')

# import linraries
from crewai import Agent, Task, Crew, Process, LLM
from crewai_tools import SerperDevTool
import os

# choose LLM model
llm = LLM(
    model="ollama/deepseek-r1:7b",
    base_url="http://localhost:11434"
)

researcher = Agent(
    role = "{topic} Senior Researcher",
    goal = """Uncover groundbreaking technologies in {topic} or year 2024""",
    backstory="""driven by curiosity, you explore and share the latest innovations.""",
    tools=[SerperDevTool()],
    llm = llm
)

# Define a research task for the Senior Researcher agent
research_task = Task(
    description="""Identify the next buig trend in {topic} with pros and cons.""",
    expected_output="""A 3-paragraph report on emerging {topic} technologies.""",
    agent=researcher
    )

crew = Crew(
    agent=[researcher],
    task=[research_task],
    process=Process.sequential,
    verbose=True
)

result = crew.kickoff(inmputs={'topic':'AI Agents'})
print(result)

And here is the error:

ValidationError: 1 validation error for Crew
Either ‘agents’ and ‘tasks’ need to be set or ‘config’. [type=missing_keys, input_value={‘agent’: [Agent(role={to…tial’>, ‘verbose’: True}, input_type=dict]

Any ideas why is this happening?

Thanks in advance!

silly solution: just forget to add an “s” to “agent” and “task”

crew = Crew(
    agents=[researcher],
    tasks=[research_task],
    process=Process.sequential,
    verbose=True
)