Sign inSign up

alphadevops1/my-ai-agent

By alphadevops1

•Updated over 1 year ago

My AI Agent is a Node.js-based AI assistant that integrates with LangChain and OpenAI and Gemini.

Image
Languages & frameworks
API management
Developer tools
1

813

alphadevops1/my-ai-agent repository overview

Here’s an overview (README) for your Docker Hub repository:


⁠My AI Agent 🧠🚀

A Node.js-based AI Agent using LangChain and Gemini/OpenAI models

⁠Overview

This containerized AI agent is built with Node.js and integrates LangChain to interact with various AI models like Llama, Gemini, and OpenAI. It processes user inputs and provides intelligent responses based on the configured AI model.

⁠Features

✅ Supports multiple AI models (Gemini, OpenAI)
✅ Uses LangChain for structured AI interactions
✅ Dockerized for easy deployment and scalability
✅ Can be extended with additional AI models and tools

⁠Installation & Usage

1️⃣ Pull the Docker Image:

docker pull alphadevops1/my-ai-agent

2️⃣ Run the Container:

docker run -d -p 3000:3000 --name ai-agent --env-file .env alphadevops1/my-ai-agent

3️⃣ Test the API:

  • Open http://localhost:3000 (or the assigned port) in your browser or Postman.
  • Send a request to interact with the AI model.

⁠Environment Variables (.env Required)

  • OPENAI_API_KEY=your_openai_api_key_here
  • GEMINI_API_KEY=your_gemini_api_key_here

⁠Docker Commands

  • Build the image:
    docker build -t my-ai-agent .
    
  • Run the container:
    docker run -d -p 3000:3000 my-ai-agent
    
  • Push to Docker Hub:
    docker tag my-ai-agent alphadevops1/my-ai-agent:latest  
    docker push alphadevops1/my-ai-agent:latest  
    

⁠Contributors

👨‍💻 [alphadevops1] – Full Stack Developer & DevOps


Tag summary

Content type

Image

Digest

sha256:91da34e0b…

Size

419 MB

Last updated

over 1 year ago

docker pull alphadevops1/my-ai-agent