llm-agents-from-scratch

Build an LLM agent from scratch, complete with MCP and A2A

https://github.com/nerdai/llm-agents-from-scratch

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.7%) to scientific vocabulary
Last synced: 11 months ago · JSON representation ·

Repository

Build an LLM agent from scratch, complete with MCP and A2A

Basic Info
  • Host: GitHub
  • Owner: nerdai
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 566 KB
Statistics
  • Stars: 6
  • Watchers: 0
  • Forks: 0
  • Open Issues: 13
  • Releases: 8
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License Citation

README.md

LLM Agents From Scratch


Linting Unit Testing and Upload Coverage codecov DOI GitHub License Ask DeepWiki

Steps to follow along with the book

Clone the repository

```sh

https

git clone git@github.com:nerdai/llm-agents-from-scratch.git

ssh

git clone https://github.com/nerdai/llm-agents-from-scratch.git ```

Owner

  • Login: nerdai
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: "Fajardo"
    given-names: "Andrei"
    email: "andrei@nerdai.io"
title: "llm-agents-from-scratch"
version: "0.0.9"
abstract: "Build an LLM agent, equipped with MCP, from scratch."
keywords:
  - llms
  - agents
  - mcp
  - tool-calling
license: Apache-2.0
doi: 10.5281/zenodo.15857309
repository-code: "https://github.com/nerdai/llm-agents-from-scratch"
type: software
date-released: "2025-07-01"
contact:
  - family-names: "Fajardo"
    given-names: "Andrei"
    email: "andrei@nerdai.io"

GitHub Events

Total
  • Create event: 73
  • Release event: 4
  • Issues event: 46
  • Watch event: 5
  • Delete event: 78
  • Issue comment event: 81
  • Push event: 182
  • Pull request review event: 5
  • Pull request review comment event: 2
  • Pull request event: 141
Last Year
  • Create event: 73
  • Release event: 4
  • Issues event: 46
  • Watch event: 5
  • Delete event: 78
  • Issue comment event: 81
  • Push event: 182
  • Pull request review event: 5
  • Pull request review comment event: 2
  • Pull request event: 141

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 31
  • Total pull requests: 83
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 1 hour
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.83
  • Merged pull requests: 64
  • Bot issues: 0
  • Bot pull requests: 6
Past Year
  • Issues: 31
  • Pull requests: 83
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 1 hour
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.83
  • Merged pull requests: 64
  • Bot issues: 0
  • Bot pull requests: 6
Top Authors
Issue Authors
  • nerdai (31)
Pull Request Authors
  • nerdai (77)
  • dependabot[bot] (6)
Top Labels
Issue Labels
p0 (6) enhancement (4)
Pull Request Labels
dependencies (6) python:uv (4) github_actions (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 108 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 8
  • Total maintainers: 1
pypi.org: llm-agents-from-scratch

Build an LLM agent, equipped with MCP, from scratch.

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 108 Last month
Rankings
Dependent packages count: 8.9%
Stargazers count: 29.8%
Average: 30.0%
Forks count: 31.1%
Dependent repos count: 50.2%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/lint.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • astral-sh/setup-uv v6 composite
.github/workflows/unit_test.yml actions
  • actions/checkout v4 composite
  • astral-sh/setup-uv v6 composite
  • codecov/codecov-action v5 composite
pyproject.toml pypi
  • asyncio >=3.4.3
  • mcp [cli]>=1.9.4
  • pydantic >=2.11.7
uv.lock pypi
  • annotated-types 0.7.0
  • anyio 4.9.0
  • appnope 0.1.4
  • astroid 3.3.10
  • asttokens 3.0.0
  • asyncio 3.4.3
  • black 25.1.0
  • certifi 2025.4.26
  • cffi 1.17.1
  • cfgv 3.4.0
  • click 8.2.1
  • codespell 2.4.1
  • colorama 0.4.6
  • comm 0.2.2
  • coverage 7.9.1
  • debugpy 1.8.14
  • decorator 5.2.1
  • dill 0.4.0
  • distlib 0.3.9
  • exceptiongroup 1.3.0
  • executing 2.2.0
  • filelock 3.18.0
  • fire 0.7.0
  • h11 0.16.0
  • httpcore 1.0.9
  • httpx 0.28.1
  • httpx-sse 0.4.0
  • identify 2.6.12
  • idna 3.10
  • iniconfig 2.1.0
  • ipykernel 6.29.5
  • ipython 8.37.0
  • ipython 9.3.0
  • ipython-pygments-lexers 1.1.1
  • isort 6.0.1
  • jedi 0.19.2
  • jupyter-client 8.6.3
  • jupyter-core 5.8.1
  • llm-agents-from-scratch 0.1.0
  • markdown-it-py 3.0.0
  • matplotlib-inline 0.1.7
  • mccabe 0.7.0
  • mcp 1.9.4
  • mdurl 0.1.2
  • mypy 1.16.0
  • mypy-extensions 1.1.0
  • nest-asyncio 1.6.0
  • nodeenv 1.9.1
  • packaging 25.0
  • parso 0.8.4
  • pathspec 0.12.1
  • pexpect 4.9.0
  • platformdirs 4.3.8
  • pluggy 1.6.0
  • pre-commit 4.2.0
  • prompt-toolkit 3.0.51
  • psutil 7.0.0
  • ptyprocess 0.7.0
  • pure-eval 0.2.3
  • pycparser 2.22
  • pydantic 2.11.7
  • pydantic-core 2.33.2
  • pydantic-settings 2.9.1
  • pygments 2.19.1
  • pylint 3.3.7
  • pytest 8.4.0
  • pytest-asyncio 1.0.0
  • pytest-cov 6.2.1
  • pytest-mock 3.14.1
  • python-dateutil 2.9.0.post0
  • python-dotenv 1.1.0
  • python-multipart 0.0.20
  • pywin32 310
  • pyyaml 6.0.2
  • pyzmq 27.0.0
  • rich 14.0.0
  • ruff 0.11.13
  • shellingham 1.5.4
  • six 1.17.0
  • sniffio 1.3.1
  • sse-starlette 2.3.6
  • stack-data 0.6.3
  • starlette 0.47.0
  • termcolor 3.1.0
  • tomli 2.2.1
  • tomlkit 0.13.3
  • tornado 6.5.1
  • traitlets 5.14.3
  • typer 0.16.0
  • typing-extensions 4.14.0
  • typing-inspection 0.4.1
  • uvicorn 0.34.3
  • virtualenv 20.31.2
  • wcwidth 0.2.13
.github/workflows/release.yml actions
  • actions/checkout v4.2.2 composite
  • actions/setup-python v5 composite
  • astral-sh/setup-uv v6 composite
  • ncipollo/release-action v1.16.0 composite
  • pypa/gh-action-pypi-publish v1.12.4 composite