{"id":28712427,"url":"https://github.com/polusai/aithena","last_synced_at":"2026-02-16T20:07:52.803Z","repository":{"id":283728833,"uuid":"868866508","full_name":"PolusAI/aithena","owner":"PolusAI","description":"Main repository for all aithena projects.","archived":false,"fork":false,"pushed_at":"2025-03-21T19:47:27.000Z","size":316,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-21T20:31:18.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PolusAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-10-07T10:19:37.000Z","updated_at":"2025-03-21T19:47:36.000Z","dependencies_parsed_at":"2025-03-21T20:43:07.593Z","dependency_job_id":null,"html_url":"https://github.com/PolusAI/aithena","commit_stats":null,"previous_names":["polusai/aithena"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PolusAI/aithena","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolusAI%2Faithena","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolusAI%2Faithena/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolusAI%2Faithena/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolusAI%2Faithena/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PolusAI","download_url":"https://codeload.github.com/PolusAI/aithena/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolusAI%2Faithena/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259896237,"owners_count":22928331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-06-14T23:05:49.305Z","updated_at":"2026-02-16T20:07:52.796Z","avatar_url":"https://github.com/PolusAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aithena\n\n**Aithena** is the umbrella repository for all Aithena projects, providing a complete ecosystem for building advanced AI services, specifically focused on scientific research assistance and RAG (Retrieval-Augmented Generation) systems.\n\nThis monorepo contains the agents, applications, services, and deployment configurations required to run the full stack.\n\n## 🏗️ Architecture \u0026 Documentation\n\nWe have detailed architectural documentation available in the `diagrams/` directory.\n\n*   **[AskAithena Structure](diagrams/AskAithena_Structure.md)**: A detailed guide to the AskAithena platform architecture, detailing services, their roles, and interactions.\n*   **[System Architecture](diagrams/aithena-architecture.md)**: A high-level overview of the entire Aithena ecosystem on the Polus servers.\n\n\u003e **Note**: For visual diagrams, see the `.svg` files in the `diagrams/` directory (e.g., `AskAithena_Structure.svg`).\n\n## 📂 Project Structure\n\n| Directory | Description |\n|-----------|-------------|\n| **`agents/`** | AI Agents and logic. Contains the **Ask Aithena Agent**, the core RAG intelligence. |\n| **`apps/`** | User-facing applications. Contains the **Ask Aithena Web App**, a modern Next.js interface. |\n| **`deployments/`** | Infrastructure as Code. Helm charts, Kubernetes manifests, and Slurm scripts. |\n| **`embeddings/`** | Shared libraries for embedding generation and management. |\n| **`jobs/`** | Data ingestion and processing jobs (e.g., fetching OpenAlex data). |\n| **`mcp/`** | Model Context Protocol implementations (e.g., **Ask Aithena MCP**). |\n| **`services/`** | Backend microservices. Includes **Aithena Services** for vector memory and LLM integration. |\n| **`templates/`** | Project templates for creating new services or agents. |\n\n## 🚀 Core Components\n\n### 1. [Ask Aithena Agent](agents/ask-aithena-agent/README.md)\nThe brain of the operation. A sophisticated RAG system that answers scientific questions based on 150+ million academic articles.\n- **Key Features**: Multi-agent architecture (Semantic Extractor, Retriever, Responder), 3 protection levels (Owl, Shield, Aegis), and Pydantic AI integration.\n\n### 2. [Ask Aithena App](apps/ask-aithena-app/README.md)\nThe face of the platform. A Next.js web application that provides a chat interface for users to interact with the agent.\n- **Key Features**: Real-time streaming, RabbitMQ updates, and a responsive UI.\n\n### 3. [Aithena Services](services/aithena-services/README.md)\nThe backbone. A service layer handling vector memory (pgvector), database functionality, and LiteLLM integration.\n- **Key Features**: Unified API for LLMs and memory, optimized vector search.\n\n## 🛠️ Deployment\n\nAll deployment configurations are located in the `deployments/` directory.\n\n### Kubernetes (`deployments/kubernetes/`)\n\nThe `deployments/kubernetes/` directory contains manifests for deploying individual services.\n\n\u003e **IMPORTANT**: Each subdirectory in `deployments/kubernetes/` (e.g., `postgres`, `litellm`, `ask-aithena-app`) contains its own `README.md` with specific deployment instructions, configuration details, and prerequisites. **Please consult these individual READMEs before deploying.**\n\n*   **[Postgres](deployments/kubernetes/postgres/README.md)**: Database configuration and initialization.\n*   **[LiteLLM](deployments/kubernetes/litellm/README.md)**: LLM Gateway deployment.\n*   **[Ask Aithena App](deployments/kubernetes/ask-aithena-app/README.md)**: Frontend deployment.\n*   ...and others.\n\n### Helm (`deployments/helm/`)\nHelm charts for packaging and deploying the applications.\n\n### Slurm (`deployments/slurm/`)\nScripts for running jobs in HPC environments (Singularity/Apptainer).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolusai%2Faithena","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolusai%2Faithena","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolusai%2Faithena/lists"}