freshcrate
Skin:/
Home > AI Agents > Grinta-Agent

Grinta-Agent

Local-first autonomous coding agent that plans, executes, validates, and finishes software tasks end-to-end.

Why this rank:Release freshnessHealthy release cadenceStrong adoption

Description

Local-first autonomous coding agent that plans, executes, validates, and finishes software tasks end-to-end.

README

Grinta

Grinta logo

License: MIT Python 3.12+ mypy: checked code style: black

Autonomous coding that closes the loop: plan, execute, validate, finish.

Grinta is an open-source, local-first autonomous coding agent built for real repository work. It reads code, plans multi-step execution, performs changes and command runs, validates results, and only finishes when completion criteria are satisfied.

Project Description

Grinta focuses on task completion integrity, not just code generation. The runtime combines orchestration safeguards, local execution policy checks, and durable session state so long-running tasks can recover, self-correct, and stay within clear operating boundaries.

Core Topics

  • Autonomous coding workflows and task completion gates
  • Session orchestration, retries, stuck detection, and circuit breakers
  • Local-first execution with policy-driven safety controls
  • Model-agnostic provider routing (cloud and local)
  • Context compaction and durable run-state recovery for long sessions

Why Grinta

  • Task completion, not just file edits.
  • Local-first runtime with strong safety guardrails.
  • Durable long-session behavior with event-oriented state and recovery.
  • Model-agnostic inference with direct provider support and OpenAI-compatible routing.
  • Strong stuck detection and circuit-breaker behavior to avoid silent runaway loops.

Security Boundary

Grinta currently executes actions on the local host.

  • hardened_local adds stricter local execution policy checks.
  • hardened_local is not sandboxing and not process isolation.

Use Grinta for trusted local workflows and repositories.

Architecture (High Level)

graph TB
    User([User]) --> CLI[CLI: backend.cli.entry]
    CLI --> Orch[SessionOrchestrator]
    Orch --> Engine[Engine\nplanning + tool intent]
    Orch --> Pipe[Operation pipeline\nsafety + validation]
    Pipe --> Runtime[RuntimeExecutor\nlocal execution]
    Runtime --> Obs[Observations]
    Obs --> Orch
    Orch --> Ledger[EventStream / durability]
    Orch --> FinishGate[Task validation\nbefore finish]
Loading

See docs/ARCHITECTURE.md for implementation details.

Quick Start

Windows (recommended)

.\START_HERE.ps1

Linux / macOS / manual

  1. Install dependencies:
uv sync
  1. Create local settings:
cp settings.template.json settings.json
  1. Start the CLI:
uv run python -m backend.cli.entry

Optional raw HTTP backend (API/OpenAPI tooling)

Windows:

.\start_backend.ps1

Cross-platform:

uv run python -m backend.execution.action_execution_server 3000 --working-dir .

Main endpoints:

Docker (optional)

./docker_start.sh

Windows:

.\DOCKER_START.ps1

LLM Setup (settings.json)

Minimal config:

{
  "llm_provider": "openai",
  "llm_model": "openai/gpt-4o-mini",
  "llm_api_key": "sk-...",
  "llm_base_url": ""
}

Common model ids:

  • openai/gpt-4o-mini
  • anthropic/claude-sonnet-4-20250514
  • google/gemini-2.5-pro
  • ollama/llama3.2

Core Concepts

Full task loop

Plan -> execute -> observe -> validate -> finish.

Context compaction

Grinta uses compactor strategies to keep long sessions coherent under context limits.

Reliability controls

Stuck detection, retry/recovery flows, and circuit breakers are built into orchestration.

Completion integrity

Task validation can block finish calls when tracked work is incomplete.

Documentation

Contributing

See CONTRIBUTING.md.

License

MIT — see LICENSE.

Release History

VersionChangesUrgencyDate
v1.0.0Grinta 1.0 is the first stable release of a local-first, provider-agnostic coding agent designed to complete long, failure-prone software tasks. ## Highlights - Local execution, session state, checkpoints, and audit trails - Provider-agnostic inference across hosted and local models - LSP and debugger integrations - Recovery-oriented orchestration for failures, timeouts, malformed tool calls, and context pressure - Chat, Plan, and Agent workflows in a terminal UI - Risk classification, confirmMedium7/20/2026
main@2026-07-16Latest activity on main branchHigh7/16/2026
0.0.0No release found — using repo HEADHigh4/10/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

tsunamiautonomous AI agent that builds full-stack apps. local models. no cloud. no API keys. runs on your hardware.main@2026-04-28
taijiAI-powered self-learning OS with I Ching philosophy | 融合易经哲学的自学型 AI 操作系统v0.2.0
GENesis-AGIAutonomous AI agent with persistent memory, self-learning, and earned autonomy. Cognitive partner that remembers, learns, and evolves.v3.0b19
mainframeAI-native development environment for orchestrating agentsv2.12.4
nano-banana-pro# Manga-Autonoma (powered by nano-banana-2) Autonomous AI 4-panel manga production system using Gemini API. / Gemini APIを活用した、完全自律型AI4コママンガ制作システム。v7.1.9

More in AI Agents

AIGC-Interview-Book【三年面试五年模拟】AIGC算法工程师面试秘籍。涵盖AIGC、LLM大模型、AI Agent、传统深度学习、自动驾驶、机器学习、计算机视觉、自然语言处理、强化学习、大数据挖掘、具身智能、元宇宙、AGI等AI行业面试笔试干货经验与核心知识。
auraA sovereign cognitive architecture with IIT 4.0 integrated information, residual-stream affective steering (CAA), Global Workspace Theory, active inference, and 72 consciousness modules — running loca
karpathy-llm-wikiThe Self-Growing Karpathy LLM Wiki — grown by an AI agent yoyo from Karpathy's founding prompt
claude-memA Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future ses