Erinos

C 65 completed
Ai Ml
unknown / ruby · small
132
Files
4,644
LOC
2
Frameworks
5
Languages

Pipeline State

completed
Run ID
#300107
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
69.76
Framework unique
Isolation
Last stage change
2026-05-10 03:35:34
Deduplication group #54112
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (12)
apiLayered Architectureinfrastructuredata_accessbusiness_logicFactoryLoggingNotificationsSearchUser ManagementFile ManagementDatabase
Repobility · open methodology · https://repobility.com/research/

AI Prompt

Create a local-first AI assistant application, similar to ErinOS. I need it to be built primarily in Ruby, using Sinatra as the API server. The system must support multiple interaction channels: a CLI interface, a Telegram bot, and voice input via a web interface. It needs to interact with an LLM via Ollama, handling chat message streaming through SSE. All state should be managed in an SQLite database. Please structure the setup to allow running the API server, CLI, and Telegram bot independently, and include necessary setup steps like database migration and seeding.
ruby sinatra ai-assistant ollama cli telegram sqlite llm backend
Generated by gemma4:latest

Catalog Information

ErinOS is a local-first AI assistant powered by Ollama, allowing users to interact with it through various channels such as CLI, Telegram, and Voice.

Description

ErinOS is an AI assistant that runs locally on your machine, using the Ollama language model. It provides a single Ruby application with pluggable channels for interacting with it over HTTP. The architecture includes a Sinatra API server handling requests, channels sending HTTP requests with identity headers, and a Gateway delegating to ChatService for LLM interactions via Ollama. All state is stored in a single SQLite database.

الوصف

يرين OS هي مساعد الذكاء الاصطناعي المحلي الذي يعمل على جهاز الكمبيوتر الخاص بك، يستخدم نموذج اللغة المكتشف Ollama. يوفّر تطبيقًا واحدًا من Ruby مع قنوات قابلة للتركيب لتفاعل معه عبر HTTP. تشمل الأركيتيكتور الجسر API Sinatra التي تتعامل مع الطلبات، وقنوات إرسال طلبات HTTP مع رأس الهوية، وجateway يقوم بالتوجيه إلى ChatService لتفعيل نموذج اللغة المكتشف Ollama. جميع الحالات محفوظة في قاعدة بيانات SQLite واحدة.

Novelty

7/10

Tags

local-first ai-assistant ollama sinatra-api sqlite-database

Technologies

sinatra

Claude Models

claude-opus-4.6

Quality Score

C
64.6/100
Structure
52
Code Quality
99
Documentation
38
Testing
15
Practices
77
Security
100
Dependencies
80

Strengths

  • CI/CD pipeline configured (github_actions)
  • Consistent naming conventions (snake_case)
  • Low average code complexity \u2014 well-structured code
  • Good security practices \u2014 no major issues detected

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • No tests found \u2014 high risk of regressions
  • 194 duplicate lines detected \u2014 consider DRY refactoring

Recommendations

  • Add a test suite \u2014 start with critical path integration tests
  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)

Security & Health

6.6h
Tech Debt (C)
Medium
DORA Rating
A
OWASP (100%)
Generated by Repobility's multi-pass static-analysis pipeline (https://repobility.com)
PASS
Quality Gate
A
Risk (3)
Unknown
License
3.4%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

ruby
86.5%
html
7.4%
markdown
2.5%
shell
2.4%
yaml
1.1%

Frameworks

Rails Sinatra

Symbols

method137
class93
function60
constant26

Concepts (14)

Repobility analysis · methodology at https://repobility.com/research/
CategoryNameDescriptionConfidence
Provenance: Repobility (https://repobility.com) — every score reproducible from /scan/
arch_layerapiDetected api layer70%
arch_patternLayered ArchitectureFound API/routes, service, and data layers70%
arch_layerinfrastructureDetected infrastructure layer70%
arch_layerdata_accessDetected data_access layer70%
arch_layerbusiness_logicDetected business_logic layer70%
design_patternFactoryFound factory/create_ naming patterns60%
business_logicLoggingDetected from 2 related files50%
business_logicNotificationsDetected from 8 related files50%
business_logicSearchDetected from 5 related files50%
business_logicUser ManagementDetected from 18 related files50%
business_logicFile ManagementDetected from 4 related files50%
business_logicDatabaseDetected from 9 related files50%
business_logicConfigurationDetected from 3 related files50%
business_logicAuthenticationDetected from 4 related files50%

Quality Timeline

1 quality score recorded.

View File Metrics
Citation: Repobility (2026). State of AI-Generated Code. https://repobility.com/research/

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/23918.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV