Loading repository data…
Loading repository data…
islamdev99 / repository
Protype.AI is an intelligent conversational AI platform available as both a desktop application (built with Python and Tkinter) and a web version (built with React and Flask). It combines NLP, smart search, and continuous learning to provide real-time responses, knowledge storage,
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Developed by Islam Ibrahim, Director of Carrot Studio
Protype.AI is an advanced conversational AI platform integrating cutting-edge technologies such as Graph Neural Networks (GNN), multimodal intelligence, self-reflection, and autonomous learning. Designed by Carrot Studio, it offers robust knowledge management, continuous learning from diverse sources, and natural user interaction through desktop and web interfaces.
Protype.AI transcends traditional AI systems by combining symbolic reasoning, advanced memory, and multimodal capabilities. It supports continuous learning from sources like Wikipedia and Google Gemini, while allowing users to contribute custom knowledge. The system is modular, scalable, and deployable as a desktop app (Tkinter) or a web app (Flask + React).
+----------------+ +----------------+ +----------------+ | User Interface |<----->| Learning Agent |<----->| Knowledge Graph| +----------------+ +----------------+ +----------------+ | | | v v v +----------------+ +----------------+ +----------------+ | Multimodal AI |<----->| Self-Reflection|<----->| Advanced Memory| +----------------+ +----------------+ +----------------+
Self-Reflection
Advanced Memory
Multimodal Intelligence
Autonomous Agent
Knowledge Graph
Learning Manager (learning_manager.py)
Autonomous Agent (autonomous_agent.py)
Symbolic Reasoning (symbolic_reasoning.py)
Self-Reflection (self_reflection.py)
Multimodal Intelligence (multimodal_intelligence.py)
Temporal Awareness (temporal_awareness.py)
Knowledge Graph (knowledge_graph.py + graph_neural_network.py)
Search Engine (search_engine.py)
Web App (web_app.py)
+----------------+ +----------------+ +----------------+ | User Input |--> | NLP (spaCy/ |--> | Knowledge | | (Text/Image/ | | Gemini) | | Retrieval | | Audio) | +----------------+ +----------------+ +----------------+ | | | v v +----------------+ +----------------+ +----------------+ | Reasoning |<-->| Self-Reflection|--> | Response | | (Symbolic/GNN) | +----------------+ | Generation | +----------------+ +----------------+ | | v v +----------------+ +----------------+ | Knowledge |------------------>| Learning | | Storage | | Updates | +----------------+ +----------------+
torch, transformers, torch_geometric, google.generativeai, spacy, sympynetworkx, numpy, elasticsearch, bs4flask, celeryPILrequests, json, datetime, pytz, dateutil, threadinggit clone https://github.com/Carrot-Studio/Protype.AI.git
cd Protype.AI
pip install -r requirements.txt
GEMINI_API_KEY="your_gemini_api_key"
SERPAPI_KEY="your_serpapi_key" ELASTICSEARCH_URL="http://localhost:9200" DATABASE_URL="postgresql://user:password@localhost:5432/protypeai" REDIS_URL="redis://localhost:6379/0" ELEVENLABS_API_KEY="your_elevenlabs_api_key" Dashboard Navigate to http://localhost:5000/dashboard to:
View system stats (knowledge base size, learning status). Manage knowledge (add/edit/delete entries). Control learning processes. Teaching the System Add custom knowledge programmatically:
Copy from learning_manager import learning_manager learning_manager.add_custom_knowledge( question="What is Protype.AI?", answer="An advanced AI system by Carrot Studio.", source="user" ) Or use the dashboard:
Go to "Knowledge Management." Click "Add New Knowledge." Enter question, answer, and source. Save. Continuous Learning Start/stop learning:
Copy from learning_manager import learning_manager learning_manager.start_learning() # Start learning_manager.stop_learning() # Stop Add topics:
learning_manager.add_topic("Quantum Computing") API Endpoints Endpoint Method Purpose Example Payload /api/chat POST Process user message {"message": "What is AI?"} /api/teach POST Add new knowledge {"question": "X", "answer": "Y"} /api/search POST Search knowledge base {"query": "AI concepts"} /api/knowledge GET Retrieve all knowledge N/A /api/text-to-speech POST Convert text to speech {"text": "Hello world"} Database Structure Table: knowledge Column Type Description Notes id INTEGER Primary key Auto-increment question TEXT Question text Unique, indexed answer TEXT Answer text weight REAL Confidence (0-1) source TEXT Source (e.g., "wikipedia") created_at TIMESTAMP Creation time Default: CURRENT_TIMESTAMP created_by TEXT Creator Default: "system" modified_at TIMESTAMP Last modified time Default: CURRENT_TIMESTAMP modified_by TEXT Last modifier Default: "system Developer: Islam Ibrahim