An AI Agent that helps you build, deploy, and run Docker containers.
- MacOS or Linux
- Docker
git clone https://github.com/jumploops/ahab.git
cd ahab 2. Set your OpenAI API key
export OPENAI_API_KEY="sk_..."npm installnpm run dev5. Navigate to http://localhost:3006.
This project was personal experiment in using the new Assistants API from OpenAI. It enables you to create and run Docker containers on your local machine using natural language.
app/components/chat.tsx- handles chat rendering, streaming, and function call forwardingapp/components/terminal.tsx- handles displaying and interacting with the local machine's terminal
api/assistants-POST: create assistant (only used at startup)api/assistants/threads-POST: create new threadapi/assistants/threads/[threadId]/messages-POST: send message to assistantapi/assistants/threads/[threadId]/actions-POST: inform assistant of the result of a function it decided to call
Built at the AGI House for the Agent Hackathon on 5/4/23.
This repo was based off the official OpenAI Assistants API Quickstart.
