Capybara Agent: AI-Powered Personality Quiz
Capybara Agent is an AI-powered conversational agent that utilizes carefully curated knowledge from enneagram, Big Five, and other personality frameworks to dynamically generate personalized questions, analyze user responses, and produce nuanced personality classifications through an interactive frontend.
Introduction Video
Features
- AI-powered Capybara Agent generates tailored questions based on previous responses
- Personality classification by the Capybara Agent based on user answers
- Saves personality summaries to text files
- Interactive web interface featuring the Capybara Agent
Requirements
- Python 3.8+
- Flask
- Flask-CORS
- LangChain
- Capx API key
Installation
- Clone this repository:
git clone https://github.com/yourusername/capybara-agent.git cd capybara-agent
- Install the required packages:
pip install -r requirements.txt
- Set your OpenAI API key as an environment variable:
export Capx_API_KEY='your-api-key-here'
Usage
- Start the Capybara Agent server:
python capybara_agent.py
- Open
capybara_agent.html
in your web browser. - Interact with the Capybara Agent by answering its questions.
- After answering 5 questions, you'll receive your personality classification from the Capybara Agent.
- A summary of your responses and personality classification will be saved as a text file in the project directory.
File Structure
capybara_agent.py
: Flask backend with Capybara Agent logiccapybara_agent.html
: Frontend HTML/JavaScript featuring the Capybara Agentrequirements.txt
: List of Python dependenciesREADME.md
: This filecapybara.mp4
: Introductory video about the Capybara Agent
Contributing
Contributions to improve the Capybara Agent are welcome! Please feel free to submit pull requests or open issues to discuss potential enhancements.
License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.