coddy-agent
Health Uyari
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Gecti
- Code scan — Scanned 1 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
This is a ReAct-based AI coding agent written in Go that integrates with code editors like Cursor and Zed via the Agent Client Protocol (ACP). It uses Large Language Models (LLMs) to automate coding tasks, plan architectures, and interact with external tools via MCP servers.
Security Assessment
Overall Risk: Medium. This tool inherently requires elevated system access to perform its core functions. It explicitly features the ability to read and write local files and execute arbitrary shell commands (though it states these require a permission prompt). It also makes external network requests to various LLM providers (OpenAI, Anthropic, Ollama) and requires you to expose your API keys via system environment variables. The automated code scan found no dangerous hardcoded patterns or malicious payloads, but users should be aware that the agent processes whatever context it is given and sends it to configured external APIs.
Quality Assessment
The project is under active development, with its most recent push happening today. However, its maturity and community adoption are currently very low, evidenced by only 7 GitHub stars. Crucially, the repository lacks a designated open-source license. This means that, strictly speaking, all rights are reserved by the author, which could pose legal or usage risks for developers intending to use or modify it in larger commercial projects.
Verdict
Use with caution due to its execution capabilities, reliance on external AI APIs, and current lack of a formal software license.
Open-source ReAct AI coding agent in Go with TUI. Works with Cursor, Zed via ACP. Supports any OpenAI-compatible providers. Can use SKILLS and MCP servers.
Coddy Agent
A ReAct (Reasoning + Acting) AI coding agent written in Go, compatible with any
Agent Client Protocol (ACP) editor such as Cursor, Zed,
or any other ACP client.
Features
- ReAct loop - LLM alternates between thinking, acting (tool calls), and observing results
- Two operating modes -
agent(full tool access) andplan(planning + text files only) - Cursor rules support - reads
.cursor/rules/and skills just like Cursor IDE - MCP server integration - connect any MCP server for additional tools
- Multi-provider LLM - OpenAI, Anthropic, Ollama, any OpenAI-compatible API
- ACP protocol - works with Cursor, Zed, and other ACP-compatible editors
Quick Start
Installation
go install github.com/EvilFreelancer/coddy-agent/cmd/coddy@latest
Or build and install manually from source:
git clone https://github.com/EvilFreelancer/coddy-agent
cd coddy-agent
make install
make install builds the binary and copies it to the appropriate location:
- root -
/usr/local/bin/coddy - regular user -
~/.local/bin/coddy
To only build without installing:
make build
# or manually:
go build -ldflags "-X github.com/EvilFreelancer/coddy-agent/internal/version.Version=$(git describe --tags --always)" -o coddy ./cmd/coddy/
The agent speaks ACP over stdio. Editors launch coddy for you once it is configured. coddy -v or coddy --version prints the embedded build version (dev if not set at link time - see -ldflags in the build command above). Flags for ACP itself live on the subcommand, for example coddy acp --help for --log-level.
Configuration
Copy the example config and edit it:
mkdir -p ~/.config/coddy-agent
cp config.example.yaml ~/.config/coddy-agent/config.yaml
Set your API keys:
export OPENAI_API_KEY="sk-..."
# or
export ANTHROPIC_API_KEY="sk-ant-..."
Connect to Cursor
Add to your Cursor settings.json:
{
"cursor.agent.command": "/path/to/coddy",
"cursor.agent.args": []
}
Or register via the ACP CLI:
coddy acp --register-cursor
Connect to Zed
Add to your Zed settings.json:
{
"assistant": {
"version": "2",
"provider": {
"name": "acp",
"command": "/path/to/coddy"
}
}
}
Operating Modes
Agent Mode (default)
Full task execution mode. The agent has access to all tools:
- Read and write files
- Execute shell commands (with permission prompt)
- Search codebase
- Call MCP server tools
Best for: code generation, refactoring, debugging, feature implementation.
Plan Mode
Planning and documentation mode. Restricted tools:
- Read files (no write to code files)
- Write/edit text and markdown files
- Search codebase
The agent can propose switching to agent mode when ready to implement.
Best for: architecture planning, writing specs, design documents, code review.
Switch modes in your editor's mode selector, or the agent will offer to switch automatically.
Cursor Rules and Skills
The agent reads skill files and cursor rules from:
{project}/.cursor/rules/- project-specific rules{project}/.cursor/skills/- project-specific skills~/.cursor/skills/- global user skills~/.cursor/skills-cursor/- cursor-specific skills
Rules support the standard Cursor frontmatter format:
---
description: "Go coding standards"
globs: ["**/*.go"]
alwaysApply: false
---
Write all comments in English.
Use fmt.Errorf("context: %w", err) for error wrapping.
See Skills Guide for details.
MCP Server Integration
Connect external tools via MCP servers. Configured globally in config.yaml or
passed per-session by the ACP client.
Example adding a GitHub MCP server in config:
mcp_servers:
- name: "github"
command: "npx"
args: ["-y", "@modelcontextprotocol/server-github"]
env:
- name: "GITHUB_PERSONAL_ACCESS_TOKEN"
value: "${GITHUB_TOKEN}"
See MCP Integration Guide for details.
Configuration
Full configuration reference in docs/config.md.
Key settings:
models:
default: "openai/gpt-4o"
agent_mode: "openai/gpt-4o"
plan_mode: "anthropic/claude-3-5-sonnet"
definitions:
- id: "openai/gpt-4o"
provider: "openai"
model: "gpt-4o"
api_key: "${OPENAI_API_KEY}"
react:
max_turns: 30
tools:
require_permission_for_commands: true
Architecture
ACP Client (Cursor/Zed)
|
JSON-RPC 2.0 over stdio
|
ACP Server Layer
|
Session Manager
|
ReAct Agent Loop
/ | \
LLM Tools MCP Clients
See Architecture docs for full details.
Documentation
- Architecture - system design and component overview
- ACP Protocol - protocol reference and message formats
- ReAct Agent - ReAct loop design and tool specifications
- Configuration - full config file reference
- Skills & Rules - cursor rules and skills guide
- MCP Integration - MCP server integration guide
Development
# Run tests
go test ./...
make test
# Build binary (with git version embedded)
make build
coddy -v # same as --version
# Run with debug logging (ACP mode)
coddy acp --log-level debug
# Test with a simple ACP client
echo '{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":1,"clientCapabilities":{}}}' | coddy acp
License
MIT
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi