Skip to content

Local-first AI agent system for developers — chat, collaborate, and code with agents in real time.

Notifications You must be signed in to change notification settings

phil1px/dev-agent

Repository files navigation

Agent

An autonomous agent framework for seamless AI-developer collaboration 🤖✨

Agent is a comprehensive system that bridges the gap between AI agents and developer workflows. It provides both a powerful CLI tool for terminal-based agent interaction and a sophisticated Neovim plugin for real-time code collaboration with autonomous agents.

Who This Is For

👩‍💻 Developers who want to integrate AI agents directly into their coding workflow without context switching

🚀 Teams building autonomous agent systems and need robust communication protocols

🧑‍🎓 Researchers exploring human-AI collaboration patterns in software development

🔧 Tool builders who need a foundation for agent-based development tools

Quick Start

# Build the agent CLI
go build -o agent .

# Start a chat session with an AI agent
./agent chat

# Or run an agent server
./agent serve

For Neovim integration, see our agent.nvim plugin documentation.

Documentation

Our documentation is organized by use case and component:

📚 Core Documentation

🖥️ User Interfaces

🔧 Development

Goals

🎯 Primary Goals

  • Seamless Integration: Make AI agent interaction feel native to developer workflows
  • Real-time Collaboration: Enable agents to edit code and provide feedback in real-time
  • Protocol Standardization: Establish robust communication patterns between humans and agents
  • Developer Experience: Prioritize clarity, usability, and reliability in all interfaces

🎯 Secondary Goals

  • Cross-editor Support: While starting with Neovim, design for eventual multi-editor support
  • Agent Ecosystem: Provide a foundation for diverse autonomous agent implementations
  • Research Platform: Enable exploration of human-AI collaboration patterns

Non-Goals

❌ What We're Not Building

  • AI Agent Implementation: We provide the communication layer, not the AI models themselves
  • IDE Replacement: We enhance existing editors rather than replacing them
  • General Chat Application: Our chat interface is specifically designed for development workflows
  • Cloud Service: This is a local-first tool designed for developer control and privacy

Architecture

The agent system consists of three main components:

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│   Agent CLI     │◄──►│  Socket Server  │◄──►│  agent.nvim     │
│  (Terminal UI)  │    │   (TCP:7070)    │    │ (Neovim Plugin) │
└─────────────────┘    └─────────────────┘    └─────────────────┘
         │                       │                       │
         ▼                       ▼                       ▼
    User Commands          Message Routing         Code Integration
  • Agent CLI: Terminal interface for agent interaction and system management
  • Socket Server: MessagePack-based communication hub for real-time message routing
  • agent.nvim: Neovim plugin for seamless code editing and agent collaboration

Current Status

This project is in active development. Core functionality is implemented and working:

Chat Interface - Full terminal UI for agent communication
Socket Communication - Robust TCP socket with MessagePack protocol
Neovim Integration - Complete plugin with real-time code editing
Configuration System - Flexible YAML/JSON/TOML configuration

🚧 In Progress - Additional CLI commands and enhanced agent protocols
🔮 Planned - Multi-agent support and extended editor integrations

Contributing

We welcome contributions! The codebase prioritizes clarity and maintainability. Please check our documentation for architecture details and coding patterns.

License

See here.


Built with ❤️ for the developer community. Let's make human-AI collaboration seamless.

About

Local-first AI agent system for developers — chat, collaborate, and code with agents in real time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published