Agcli

D 51 completed
Library
unknown / rust · tiny
13
Files
2,264
LOC
0
Frameworks
4
Languages

Pipeline State

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

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
35.49
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #47500
Member of a group with 1 similar repo(s) — canonical #92845 view group →
Top concepts (2)
Project DescriptionLibrary
Same scanner, your repo: https://repobility.com — Repobility

AI Prompt

Create a command-line interface (CLI) tool in Rust that follows an agent-native pattern. I need it to support self-documenting root command trees and handle typed NDJSON streaming. The CLI should be built using a crate structure, incorporating features like JSON-only envelopes and HATEOAS `next_actions`. Please ensure the structure allows for context-safe output truncation and demonstrate how to define a command handler, like showing a 'status' check that returns a JSON object and suggests a next action.
rust cli command-line agent-native json ndjson crate
Generated by gemma4:latest

Catalog Information

agcli is a no-bloat Rust crate for building agent-native CLIs, providing features such as self-documenting root command trees and typed NDJSON streaming.

Description

agcli is a lightweight Rust library designed to facilitate the creation of agent-native command-line interfaces (CLIs). It offers several key features, including JSON-only envelopes, HATEOAS next actions, context-safe output truncation, and typed NDJSON streaming with terminal result/error handling. This crate aims to provide a simple and efficient way to build CLIs that are native to agents.

الوصف

agcli هو مكتبة رشدة من لغة روس تهدف إلى سهولة إنشاء واجهات سطر الأوامر (CLI) مخصصة للعاملين. تقدم هذه المكتبة العديد من الميزات، بما في ذلك الحزم فقط بJSON ، والخطوات التالية HATEOAS ، وقص الخرج الآمن بالسياق ، ومحتوى NDJSON المشفر بالنوع مع التعامل الناتج/الخطأ في الشاشة.

Novelty

7/10

Tags

agent-native command-line-interfaces self-documenting typed-streaming context-safe-output

Technologies

serde

Claude Models

claude-opus-4.6

Quality Score

D
50.6/100
Structure
52
Code Quality
38
Documentation
57
Testing
0
Practices
80
Security
100
Dependencies
60

Strengths

  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Properly licensed project

Weaknesses

  • No tests found \u2014 high risk of regressions
  • No CI/CD configuration \u2014 manual testing and deployment
  • 418 duplicate lines detected \u2014 consider DRY refactoring
  • 1 'god files' with >500 LOC need decomposition

Recommendations

  • Add a test suite \u2014 start with critical path integration tests
  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a linter configuration to enforce code style consistency

Security & Health

5.3h
Tech Debt (D)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (6)
All rows scored by the Repobility analyzer (https://repobility.com)
MIT
License
3.8%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

rust
82.4%
markdown
15.7%
yaml
1.1%
toml
0.7%

Frameworks

None detected

Concepts (2)

Findings curated by Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Repobility · MCP-ready · https://repobility.com
auto_descriptionProject Descriptionagcli is a no-bloat Rust crate for building agent-native CLIs.80%
auto_categoryLibrarylibrary70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

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