---
title: "Discussion on \"Build AI Agents Locally Using Small Language Models (SLMs) Without API Costs\" | Hashnode"
description: "Discussion on \"Build AI Agents Locally Using Small Language Models (SLMs) Without API Costs\". Build AI Agents locally using SLMs like Phi-3 with Ollama & LangChain. No API costs, offline setup, Python-based step-by-step guide."
url: "https://hashnode.com/posts/build-ai-agents-locally-using-small-language-models-slms-without-api-costs/69f75fac0ab374db99d0979c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Build AI Agents Locally Using Small Language Models (SLMs) Without API Costs](https://aakashi.hashnode.dev/build-ai-agents-locally-using-small-language-models-slms-without-api-costs?utm_source=hashnode&utm_medium=feed)

Build AI Agents locally using SLMs like Phi-3 with Ollama & LangChain. No API costs, offline setup, Python-based step-by-step guide.

May 3 · 5 min read · aakashi.hashnode.dev  
Read the article

-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#slms](https://hashnode.com/tag/slms)
-   [#ollama](https://hashnode.com/tag/ollama)
-   [#langchain](https://hashnode.com/tag/langchain)
-   [#langgraph](https://hashnode.com/tag/langgraph)
-   [#ai-agent-on-laptop](https://hashnode.com/tag/ai-agent-on-laptop)
-   [#no-api-ai-agents](https://hashnode.com/tag/no-api-ai-agents)
-   [#small-language-model](https://hashnode.com/tag/small-language-model)
-   [#gemma](https://hashnode.com/tag/gemma)
-   [#phi-3](https://hashnode.com/tag/phi-3)
-   [#mistralai](https://hashnode.com/tag/mistralai)

## Written by

[Aakashi Jaiswal](https://hashnode.com/@Aakashi06)

@Aakashi06 · Bangalore

  
[View profile](https://hashnode.com/@Aakashi06)

Decoding the Digital World for You

LLMs • AI Agents • RAG • LangChain • LangGraph • Fine-Tuning • Reinforcement Learning • Python • APIs

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
