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:Recent releaseHealthy 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
main@2026-06-07Latest activity on main branchHigh6/7/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
opencode-telegram-botOpenCode mobile client via Telegram: run and monitor AI coding tasks from your phone while everything runs locally on your machine. Scheduled tasks support. Can be used as lightweight OpenClaw alternav0.21.1
nano-banana-pro# Manga-Autonoma (powered by nano-banana-2) Autonomous AI 4-panel manga production system using Gemini API. / Gemini APIを活用した、完全自律型AI4コママンガ制作システム。v4.6.4
OpenACMSelf-hosted autonomous AI agent — runs on your PC, controls your environment, connects to any MCP server.main@2026-06-02

More in AI Agents

@blockrun/franklinFranklin — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.
hermes-agentThe agent that grows with you
awesome-copilotCommunity-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.
e2bE2B SDK that give agents cloud environments