MCP ExplorerExplorer

Ai Coder Scratch

@Sujas-Aggarwalon 19 days ago
1 MIT
FreeCommunity
AI Systems
No MCP, No langchain or langraph, just pure python and llm

Overview

What is Ai Coder Scratch

ai-coder-scratch is a lightweight chatbot framework built using pure Python and LLM (Large Language Model) without relying on MCP, Langchain, or Langraph.

Use cases

Use cases include developing interactive learning platforms, automating customer service responses, and creating personal chatbots for individual users.

How to use

To use ai-coder-scratch, create a virtual environment, install the required dependencies, set up your API key in a .env file or via command line, and then start the chatbot by running ‘python main.py’.

Key features

Key features include simplicity in setup, reliance solely on Python, and the ability to integrate with LLMs for chatbot functionalities.

Where to use

ai-coder-scratch can be used in various domains such as educational tools, customer support chatbots, and personal assistant applications.

Content

Installation

Create Virtual Environment

python -m venv venv

Install Dependencies

pip install -r requirements.txt

Setup API Key

Create an .env file and add the key in it as shown

GEMINI_API_KEY = "AI********"

or directly set the “GEMINI_API_KEY” in command line on the go

Start the Chatbot

python main.py

Tools

No tools

Comments