Claude Agent Server

B 81 completed
Other
api / ruby · small
50
Files
3,478
LOC
1
Frameworks
4
Languages

Pipeline State

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

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
47.77
Framework unique
Isolation
Last stage change
2026-05-10 03:35:10
Deduplication group #54041
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (2)
Project DescriptionWeb Backend
Repobility — same analyzer, your code, free for public repos · /scan/

AI Prompt

Build me a REST and SSE API server using Ruby on Rails that wraps the Claude Agent Ruby SDK. I need this service to expose Claude Code as a network service, handling session management, streaming responses, and authentication. The API should support endpoints for one-shot queries via POST to `/query` and streaming queries via POST to `/query/stream`. Additionally, I need endpoints to manage sessions, including creating a session and sending messages to an existing session, with streaming support for messages. Please ensure it's configurable via environment variables for things like the API key and port.
ruby rails api rest sse anthropic sdk http-server backend
Generated by gemma4:latest

Catalog Information

HTTP server wrapping the Claude Agent Ruby SDK as a REST + SSE API. Expose Claude Code as a network service with session management, streaming, and authentication.

Description

HTTP server wrapping the Claude Agent Ruby SDK as a REST + SSE API. Expose Claude Code as a network service with session management, streaming, and authentication.

Novelty

3/10

Tags

ruby rails api rest sse anthropic sdk http-server backend

Claude Models

claude-opus-4-6

Quality Score

B
81.4/100
Structure
86
Code Quality
89
Documentation
60
Testing
85
Practices
74
Security
92
Dependencies
50

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (127% test-to-source ratio)
  • Code linting configured (rubocop)
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 169 duplicate lines detected \u2014 consider DRY refactoring

Security & Health

4.6h
Tech Debt (C)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (3)
Citation: Repobility (2026). State of AI-Generated Code. https://repobility.com/research/
MIT
License
2.4%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

ruby
67.9%
json
23.0%
markdown
5.6%
yaml
3.5%

Frameworks

Rails

Concepts (2)

Data scored by Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Methodology: Repobility · https://repobility.com/research/state-of-ai-code-2026/
auto_descriptionProject DescriptionHTTP server wrapping the Claude Agent Ruby SDK as a REST + SSE API. Expose Claude Code as a network service with session management, streaming, and authentication.80%
auto_categoryWeb Backendweb-backend70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

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