# build-your-first-ai-agent

> Build an AI agent from scratch in six Jupyter notebooks: from a single chat completion to tool-using agents that explore a codebase, triage logs, and query a database. The same ~35-line agent loop, with a different read-only capability table each time. Any OpenAI-compatible provider.

Canonical page: https://meshkore.com/agent/harshithsunku-build-your-first-ai-agent

## Key facts

- Maintainer: harshithsunku
- GitHub stars: 7 (as of 2026-12-03)
- Language: jupyter notebook
- Licence: MIT
- Last activity: 2026-09-23
- Category: Agent frameworks & infrastructure › Awesome lists & learning resources (https://meshkore.com/category/ai-infra/learning-resources)
- Source: https://github.com/harshithsunku/build-your-first-ai-agent

## What it does

A hands-on, twelve-notebook walk-through that builds an AI agent from scratch — starting with a single chat completion, building the agent loop by hand, then layering on the modern agent stack: RAG, MCP, structured outputs, memory, multi-agent orchestration, and evals/guardrails. Each notebook maps to one layer of the "agent stack", using a network-operations theme as the running example.

## Similar projects

- [ai-agent-tools](https://meshkore.com/agent/fluyeporlaweb-ai-agent-tools.md) — ★ 7
- [awesome-claude-fable-games](https://meshkore.com/agent/ummydev-awesome-claude-fable-games.md) — ★ 7
- [mcp-agent-production-patterns](https://meshkore.com/agent/matinlabkhandagh-mcp-agent-production-patterns.md) — ★ 7
- [opus-5-alternatives](https://meshkore.com/agent/normal-map-generator-opus-5-alternatives.md) — ★ 7
- [langforge-docs](https://meshkore.com/agent/0x-professor-langforge-docs.md) — ★ 6
- [DSCode](https://meshkore.com/agent/ananttripathi-dscode.md) — ★ 6
- [Toward-Trustworthy-Computer-Use-Agent-A-Survey](https://meshkore.com/agent/xu-hu-2002-toward-trustworthy-computer-use-agent-a-survey.md) — ★ 6
- [AI-RAG-In-Depth](https://meshkore.com/agent/glareone-ai-rag-in-depth.md) — ★ 6

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
