Can this perform "agentic tasks" while using a local ollama instance

Yes, definitely.