My AI Agent is a Node.js-based AI assistant that integrates with LangChain and OpenAI and Gemini.
813
Here’s an overview (README) for your Docker Hub repository:
A Node.js-based AI Agent using LangChain and Gemini/OpenAI models
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.
✅ 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
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:
http://localhost:3000 (or the assigned port) in your browser or Postman.OPENAI_API_KEY=your_openai_api_key_hereGEMINI_API_KEY=your_gemini_api_key_heredocker build -t my-ai-agent .
docker run -d -p 3000:3000 my-ai-agent
docker tag my-ai-agent alphadevops1/my-ai-agent:latest
docker push alphadevops1/my-ai-agent:latest
👨💻 [alphadevops1] – Full Stack Developer & DevOps
Content type
Image
Digest
sha256:91da34e0b…
Size
419 MB
Last updated
over 1 year ago
docker pull alphadevops1/my-ai-agent