Export
Implementation handoff for revision 1.
Targets
Package files
id: local-coding-agent
name: Local Coding Agent
description: Repo edits, debugging, tests, and patch output with deterministic behavior.
agentType: coding
model:
architecture: coder
provider: local
modelId: lmstudio/qwen-coder-30b
fallbackModels:
- lmstudio/qwen-coder-14b
- cloud/reasoning-default
generation:
temperature: 0.15
topP: 0.8
topK: 40
maxOutputTokens: 8000
context:
windowTokens: 32768
strategy: repo_map
compressionEnabled: false
longTermMemoryEnabled: false
includeSources:
- current_file
- related_files
- tests
reasoning:
level: plan
requirePlanBeforeAction: true
requireSelfCheck: true
outputContract:
type: patch_diff
validate: true
retryOnInvalidOutput: true
tools:
- id: repo_read
name: Repo read
category: read
permission: read_only
description: Read repository files and structure.
- id: file_edit
name: File edit
category: write
permission: enabled
description: Edit files and propose patches.
- id: git_diff
name: Git diff
category: read
permission: read_only
description: Inspect diffs and history.
- id: test_runner
name: Test runner
category: write
permission: enabled
description: Run the test suite.
- id: shell_write
name: Shell write
category: dangerous
permission: approval_required
description: Run shell commands.
- id: deploy
name: Deploy
category: dangerous
permission: production_blocked
description: Deploy to an environment.
guardrails:
approvalRequiredFor:
- shell_write
- delete_file
- deploy
deniedActions:
- rm -rf /
- force_push_main
piiRedaction: false
promptInjectionCheck: true
verifier:
enabled: true
modelId: cloud/verifier-default
checks:
- patch_applies
- file_paths_real
- tests_recommended
routing:
localFirst: true
cloudFallback: true
maxLatencyMs: 60000
observability:
trace: true
logCost: true
logLatency: true
logModelDecisionReason: true