alantheprice/Ledit Agent

Automatically solve GitHub issues using AI-powered code generation with ledit

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 4, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: alantheprice/ledit-agent@e9429de089760dd75df368a334c65084413931f4 # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
modeOperation mode: solve (default) or reviewnosolve
github-tokenGitHub token for API accessyes
ai-providerPrimary AI provider to use for the main agent step (openai, openrouter, zai, deepinfra, chutes, mistral, or a custom provider name set via custom-provider-name)yes
ai-modelModel to use with the primary provider (e.g., deepseek-ai/DeepSeek-V3, GLM-4.6, openai/gpt-4o)yes
openai-api-keyOpenAI API key (OPENAI_API_KEY)no
openrouter-api-keyOpenRouter API key (OPENROUTER_API_KEY)no
deepinfra-api-keyDeepInfra API key (DEEPINFRA_API_KEY)no
zai-api-keyZ.AI API key (ZAI_API_KEY)no
chutes-api-keyChutes API key (CHUTES_API_KEY)no
mistral-api-keyMistral API key (MISTRAL_API_KEY)no
jina-api-keyJina AI API key for web search and URL fetching — free at jina.ai (JINA_API_KEY). Enables the orchestrator and code_reviewer personas to validate libraries and docs.no
custom-provider-nameIdentifier for the custom provider. Set ai-provider to this value to use it.nocustom
custom-provider-urlBase endpoint URL for the custom provider (e.g. https://api.example.com/v1)no
custom-provider-modelDefault model name for the custom provider (defaults to ai-model if not set)no
custom-provider-api-keyAPI key for the custom providerno
subagent-coder-providerProvider to use for the coder subagent (e.g. a custom provider name). Defaults to ai-provider.no
subagent-coder-modelModel to use for the coder subagent. Defaults to ai-model.no
review-typeType of review: comprehensive, security, performance, stylenocomprehensive
comment-thresholdWhen to post inline comments: low, medium, highnomedium
summary-onlyOnly post summary without inline commentsnofalse
ledit-versionLedit version to install (e.g., v1.0.0, latest)nolatest
timeout-minutesTimeout for the ledit agent in minutes. Both solve and review run a 2-step workflow (implement/review + verify/audit), so values of 20+ are recommended.no20
enable-mcpEnable MCP GitHub integration for PR interactionsnotrue
mcp-github-tokenGitHub token for MCP (defaults to github-token if not specified)no
max-iterationsMaximum iterations for the ledit agentno180
debugEnable debug loggingnofalse
workspace-dirWorking directory for leditno.
auto-reviewAutomatically add /ledit-review comment to PR after solving issuenofalse
namedescription
successWhether the issue was successfully processed
pr-numberPull request number if created
pr-urlPull request URL if created
branch-nameBranch name created/updated
commit-shaLatest commit SHA