{"id":29125711,"url":"https://github.com/k0msenapati/agent-hub","last_synced_at":"2026-02-09T16:02:09.469Z","repository":{"id":300509454,"uuid":"1006354410","full_name":"k0msenapati/agent-hub","owner":"k0msenapati","description":"Agent Hub is an AI collaboration platform designed to transform your data into intelligent AI agents.","archived":false,"fork":false,"pushed_at":"2025-06-30T16:32:12.000Z","size":155,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-13T12:15:52.588Z","etag":null,"topics":["ai-agent","flask","knowledge-base","mindsdb","python","sqlite"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k0msenapati.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-22T04:32:47.000Z","updated_at":"2025-07-14T16:01:21.000Z","dependencies_parsed_at":"2025-06-22T05:36:19.776Z","dependency_job_id":null,"html_url":"https://github.com/k0msenapati/agent-hub","commit_stats":null,"previous_names":["k0msenapati/agent-hub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/k0msenapati/agent-hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fagent-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fagent-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fagent-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fagent-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k0msenapati","download_url":"https://codeload.github.com/k0msenapati/agent-hub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fagent-hub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29271855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agent","flask","knowledge-base","mindsdb","python","sqlite"],"created_at":"2025-06-29T22:02:37.661Z","updated_at":"2026-02-09T16:02:08.832Z","avatar_url":"https://github.com/k0msenapati.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🤖 Agent Hub\u003c/h1\u003e\n\n\u003e [!NOTE]\n\u003e \n\u003e Agent Hub is an AI collaboration platform designed to transform your data into intelligent AI agents. With Agent Hub, you can unlock powerful insights and automate tasks effortlessly by creating tailored AI agents, building comprehensive knowledge bases, and managing your data files seamlessly.\n\n## 🎬 Project Showcase\n\n| Demo Video                                                                 | Blog Post                                                                 |\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------|\n| [![YouTube](http://i.ytimg.com/vi/QJCWjR2hZ20/hqdefault.jpg)](https://www.youtube.com/watch?v=QJCWjR2hZ20) | [![Blog](https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5aikf3m0gs5jfmsnh5gv.png)](https://dev.to/k0msenapati/building-a-smart-knowledge-platform-with-mindsdb-5anb) |\n\n## 🌟 Features\n\n\u003e **Agent Hub** features intro:\n\n- **AI Agents** – Create and manage AI agents tailored to your specific needs for intelligent responses.\n- **Knowledge Bases** – Build comprehensive knowledge bases from your data for efficient querying and insights.\n- **File Management** – Upload and organize your files to integrate seamlessly with AI processes.\n\n## 💻 Installation\n\nFollow these steps to set up and run Agent Hub:\n\n1. **Setup MindsDB and Ollama with Docker** (docker-compose.yml is provided):\n\n   ```bash\n   docker-compose up -d\n   ```\n\n2. **Install nomic-embed-text in Ollama container**:\n\n   ```bash\n   docker exec ollama ollama pull nomic-embed-text\n   ```\n\n3. **Create KB Summarizer Model and Connect Pgvector in MindsDB container** (visit MindsDB GUI at http://localhost:47334):\n\n   ```sql\n   -- Create a MindsDB engine for Groq\n   CREATE ML_ENGINE groq_engine\n   FROM groq\n   USING\n         groq_api_key = \"groq_api_key_here\";  # Replace with your actual Groq API key\n\n   -- Create a MindsDB model for summarizing knowledge base content\n   CREATE MODEL kb_summarizer\n   PREDICT summary\n   USING\n      engine = 'groq_engine',\n      model_name = 'gemma2-9b-it',\n      prompt_template = 'Summarize the following knowledge base content concisely and highlight key insights:\\n\\n{{kb_content}}\\n\\nSummary:';\n\n   -- Create a MindsDB connection to the PostgreSQL database with pgvector\n   CREATE DATABASE pvec\n   WITH\n      ENGINE = 'pgvector',\n      PARAMETERS = {\n      \"host\": \"pgvector\",\n      \"port\": 5432,\n      \"database\": \"ai\",\n      \"user\": \"ai\",\n      \"password\": \"ai\",\n      \"distance\": \"cosine\"\n      };\n   ```\n\n4. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/k0msenapati/agent-hub.git\n   ```\n\n5. **Navigate to the Project Directory**:\n\n   ```bash\n   cd agent-hub\n   ```\n\n6. **Create a Virtual Environment**:\n\n   ```bash\n   uv venv\n   ```\n\n7. **Activate the Virtual Environment**:\n\n   ```bash\n   source .venv/bin/activate  # On Windows, use .venv\\Scripts\\activate\n   ```\n\n8. **Install Dependencies**:\n\n   ```bash\n   uv add python-dotenv flask flask-sqlalchemy flask-migrate flask-bcrypt flask-login mindsdb_sdk\n   ```\n\n9. **Initialize Database**:\n\n   ```bash\n   flask db init\n   ```\n\n10. **Migrate Database**:\n\n    ```bash\n    flask db migrate\n    ```\n\n11. **Upgrade Database**:\n\n    ```bash\n    flask db upgrade\n    ```\n\n12. **Run the Application**:\n\n    ```bash\n    uv run run.py\n    ```\n\n---\n\n## Environment Configuration\n\nTo configure API keys for Agent Hub, create an `.env` file in the project directory with the following variables:\n\n```\nAPI_KEY=your_google_api_key\nGROQ_API_KEY=your_groq_api_key\n```\n\nThese keys are used for accessing various LLM APIs. If not provided in the `.env` file, you can also enter them directly in the UI when configuring AI agents or evaluation settings.\n\n---\n\n\n## 👤 Author\n\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n        \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/k0msenapati\"\u003e\u003cimg src=\"https://github.com/k0msenapati.png?s=100\" width=\"130px;\" alt=\"K Om Senapati\"/\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/k0msenapati\"\u003e\u003ch4\u003e\u003cb\u003eK Om Senapati\u003c/b\u003e\u003c/h3\u003e\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n---\n\n\u003ch2 align=\"center\"\u003e📄 License\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cstrong\u003eAgent Hub\u003c/strong\u003e is licensed under the \u003ccode\u003eUnlicense\u003c/code\u003e License. See the \u003ca href=\"https://github.com/k0msenapati/agent-hub/blob/main/LICENSE\"\u003eLICENSE\u003c/a\u003e file for more details.\n\u003c/p\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003e🌟 If you find this project helpful, please give it a star on GitHub! 🌟\u003c/strong\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0msenapati%2Fagent-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk0msenapati%2Fagent-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0msenapati%2Fagent-hub/lists"}