# Learning agentic AI

> Source: <https://discuss.huggingface.co/t/learning-agentic-ai/192580#post_2>
> Published: 2026-11-26 12:15:19+00:00

**Recommendation:** Build the first agent loop in plain Node.js with a read-only get_product(sku) tool and mocked model responses before adding MongoDB, GPUs, MCP or a hosted API.
More in the playbook "Designing agent systems": <https://wpnews.pro/playbooks/agent-architecture>

Hmm… I’m really not familiar with the MERN stack , but after looking around a bit, I found quite a few resources that might be useful:

Your JavaScript web development skills are a good starting point: an agent still needs ordinary functions, APIs, state, error handling and permissions. The new part is letting a model help decide the next step.

For a structured TypeScript curriculum instead, [Microsoft’s LangChain.js for Beginners](https://github.com/microsoft/langchainjs-for-beginners) is another option (check its Azure/Foundry setup).

Huggingface.js includes clients for model services; [Transformers.js](https://huggingface.co/docs/transformers.js/index) runs supported models in the browser or Node.js. For local inference via a separate server, [Ollama](https://docs.ollama.com/capabilities/tool-calling) is another option.

Some HF course exercises depend on older APIs, libraries and Spaces. For self-study, substitute a maintained example if an individual exercise fails; for certification, follow official requirements. Check [HF inference pricing](https://huggingface.co/docs/inference-providers/pricing): the November 2026 table lists no included monthly credits for free accounts.

I would start with a few fictional products and a read-only `get_product(sku)` tool. You can even test the loop with synthetic model responses (example below), without MongoDB, GPU, MCP or a model account.

If your preference is a ready-made course, take the TS curriculum route; if you learn by building, use the small Node example first. If you’d prefer not to use a hosted API at all, start with the mock and then try a local backend. The browser path is particularly interesting if you want client-side inference, rather than just learning agent control flow.

More details below; these are options, not a list of prerequisites.

1. What an AI agent is, and how it fits into MERN
I would start with the concepts and one small Node.js tool loop, or choose a structured TS course. Once that works, MERN integration or local inference becomes an extension rather than a completely new starting point.
