AI-powered autonomous coding agent with human-in-the-loop planning
npm install agneto


An AI-powered development system that actually writes code for you - with human oversight where it matters.
- What to Expect
- Quick Start
- Real Examples
- System Requirements
- Features
- How It Works
- Monitoring & Debugging
- Configuration
- Release Process
- Contributing
- License
Agneto is like having a junior developer who:
- Plans before coding - Shows you the implementation plan for approval
- Works in small steps - Makes focused changes that are easy to review
- Asks when uncertain - Requests human input for critical decisions
- Never touches main - All work happens in isolated git worktrees
- Provides full audit trail - Every action is logged for debugging and compliance
- Offers real-time monitoring - Web dashboard shows progress as it happens
Perfect for: bug fixes, new features, refactoring, test writing, and routine development tasks.
Before using Agneto, ensure you have:
- Node.js >= 18.0.0
- Git repository (initialized in your project)
- Claude CLI configured:
``bash`
npm install -g @anthropic-ai/claude-code
# Follow setup instructions to authenticate
Just use npx to get started immediately:
`bash`
npx agneto "describe your task"
You'll be prompted to review the plan, then Agneto handles the implementation.
If you prefer to install globally:
`bash`
npm install -g agneto
agneto "your task description"
`bashFix a bug
npx agneto "fix authentication bug in login flow"→ Agneto analyzes code, creates fix plan, implements, and tests
$3
`bash
Skip interactive planning (CI/automation)
npx agneto "update dependencies" --non-interactiveAuto-merge to main when complete
npx agneto "fix typo in README" --auto-mergeUse custom task ID for tracking
npx agneto auth-fix-1 "fix authentication bug"Run with debugging output
DEBUG=true npx agneto "complex task"
`System Requirements
- Node.js: Version 18.0.0 or higher
- Git: Initialized repository (any version)
- Claude CLI: Configured and authenticated
- Terminal: Any modern terminal with UTF-8 support
- Operating System: macOS, Linux, or Windows
Features
$3
- ✅ Interactive planning with human feedback
- ✅ Safe sandbox execution in git worktrees
- ✅ Automatic work breakdown into small chunks
- ✅ Built-in code review process
- ✅ Test execution and verification
- ✅ Non-interactive mode for automation$3
- ✅ Comprehensive audit system - Full logging and checkpoint recovery
- ✅ Real-time web dashboard - Live monitoring and visualization
- ✅ Terminal bell notifications - Audio feedback for task completion
- ✅ Environment variable controls - Flexible configuration options
- ✅ NPX package distribution - No installation required
- ✅ State machine architecture - Clear task and execution lifecycle
- ✅ Natural language protocol - Robust agent communicationHow It Works
$3
Think of Agneto as a self-organizing AI development team with specialized roles:
`
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Planner │ → │ Curmudgeon │ → │Bean Counter │ → │ Coder │
│ (Strategy) │ │(Simplifies) │ │(Coordinates)│ │(Implements) │
└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
↓
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│SuperReviewer│ ← │ Task Refiner│ ← │ Reviewer │ ← │ Scribe │
│(Final Check)│ │(Clarifies) │ │ (Validates) │ │(Commits) │
└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
`$3
1. You describe what needs to be done
2. Task Refiner clarifies vague descriptions (interactive mode)
3. Planner creates the approach and shows you
4. Curmudgeon reviews for over-engineering and simplifies
5. You approve (or request changes to the plan)
6. Bean Counter breaks work into small, manageable chunks
7. Coder implements each chunk with built-in tools
8. Reviewer validates each implementation
9. SuperReviewer performs final quality check
10. You merge when satisfied with the result
All work happens in isolated git worktrees (
.worktrees/), so your main branch is always safe.$3
When Agneto finishes, you'll get clear instructions for merging:
`bash
Review changes
cd .worktrees/
git diff masterIf satisfied, merge to master
git checkout master
git merge sandbox/ --squash
git commit -m "Your commit message"Clean up
git worktree remove .worktrees/
git branch -D sandbox/
`Monitoring & Debugging
$3
Launch the real-time dashboard to monitor task execution:
`bash
Start dashboard (opens on http://localhost:3000)
npm run dashboardOr if using Agneto globally
agneto-dashboard
`The dashboard provides:
- Live task monitoring with agent communications
- Performance metrics including cost and duration tracking
- Event history with search and filtering
- WebSocket updates for real-time progress
$3
Every task creates a comprehensive audit trail:
`
.agneto/task-{id}/
├── events/ # Individual JSON event files
├── metadata.json # Task metadata and summary
└── summary.md # Human-readable execution summary
`Useful audit commands:
`bash
View task summary
cat .agneto/task-abc123/summary.mdFind specific agent events
grep -r "agent.*coder" .agneto/task-abc123/events/Check for errors
grep -r "error\|failed" .agneto/task-abc123/events/
`$3
Enable verbose debugging to see exactly what's happening:
`bash
DEBUG=true npx agneto "your task"
`This shows:
- Exact prompts sent to Claude
- Raw agent responses
- Command construction details
- File system operations
Configuration
$3
| Variable | Default | Description |
|----------|---------|-------------|
|
DEBUG | false | Enable verbose debugging output |
| LOG_LEVEL | info | Logging verbosity (debug, info, warn, error) |
| DISABLE_AUDIT | false | Disable audit logging completely |
| DISABLE_CHECKPOINTS | false | Disable checkpoint creation |
| MAX_CHECKPOINTS | 10 | Maximum checkpoints to retain |
| AGNETO_DASHBOARD_ENDPOINT | http://localhost:3000 | Dashboard server URL |$3
Development setup:
`bash
Full monitoring with debugging
DEBUG=true npm run dashboard &
AGNETO_DASHBOARD_ENDPOINT=http://localhost:3000 npx agneto "development task"
`CI/CD setup:
`bash
Minimal, non-interactive mode
DISABLE_AUDIT=true npx agneto "ci task" --non-interactive
`Production deployment:
`bash
Optimized with checkpoints
LOG_LEVEL=warn MAX_CHECKPOINTS=5 npx agneto "production task" --non-interactive
`What Makes Agneto Different
- Not a copilot - Agneto handles entire tasks, not just line completions
- Safe by default - Never touches your main branch directly
- Human-in-the-loop - You stay in control of important decisions
- Real code review - Built-in review process catches issues early
- Learns your codebase - Understands your patterns and conventions
- Comprehensive monitoring - Full audit trail and real-time dashboard
- Checkpoint recovery - Resume from any point if something goes wrong
Release Process
$3
Agneto uses an automated CI/CD pipeline for publishing releases to NPM and creating GitHub releases. The process is triggered by semantic version tags.
#### Quick Release Commands
Use these NPM scripts to bump versions and trigger automated publishing:
`bash
Patch release (bug fixes): 0.1.0 → 0.1.1
npm run version:patchMinor release (new features): 0.1.0 → 0.2.0
npm run version:minorMajor release (breaking changes): 0.1.0 → 1.0.0
npm run version:major
`Each command will:
1. Bump the version in
package.json
2. Create a git tag (e.g., v0.1.1)
3. Push the tag to GitHub
4. Trigger the automated release workflow#### Automated Release Workflow
When a version tag is pushed, GitHub Actions automatically:
1. Validates Environment - Checks for required secrets
2. Runs Tests - Ensures code quality before publishing
3. Builds Project - Compiles TypeScript and prepares distribution
4. Generates Changelog - Creates release notes from git commits
5. Publishes to NPM - Uploads package to npmjs.org (with retry logic)
6. Creates GitHub Release - Publishes release with changelog
#### Repository Setup Requirements
Before using the automated release system, ensure these GitHub repository secrets are configured:
`bash
Required secrets in GitHub repository settings:
NPM_TOKEN=npm_xxxxxxxxxxxxxxxxxxxxxxxxxxxx # NPM automation token
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxx # GitHub PAT (usually auto-provided)
`Setting up NPM_TOKEN:
1. Log into npmjs.com
2. Go to Account Settings → Access Tokens
3. Create new token with Automation permissions
4. Copy token to GitHub repository Settings → Secrets and variables → Actions
5. Add as
NPM_TOKEN secret#### Troubleshooting Common Issues
Empty changelog generated:
- Ensure commits follow conventional format:
feat:, fix:, docs:, etc.
- Check that there are commits between the previous tag and current tagNPM publish fails:
- Verify
NPM_TOKEN secret is correctly configured
- Check that the version doesn't already exist on NPM
- Ensure package name is available (if first publish)GitHub release creation fails:
- Verify
GITHUB_TOKEN has sufficient permissions
- Check that the tag was pushed successfully
- Ensure repository settings allow release creationTests fail during workflow:
- All tests must pass before publishing
- Fix failing tests and re-run version command
Tag format rejected:
- Tags must follow semantic versioning:
v1.2.3
- Avoid additional suffixes like v1.2.3-beta`Thanks for your interest in Agneto!
Current Status: This project is not accepting code contributions or pull requests at this time.
What you can do:
- ✅ Report bugs by opening issues
- ✅ Request features via GitHub issues
- ✅ Ask questions in discussions
- 🚫 Pull requests will not be merged
Commercial Use: If you're interested in commercial licensing, please contact drazen@urch.eu.
For more details, see CONTRIBUTING.md.
For detailed documentation, troubleshooting, and configuration options:
- Complete Guide: CLAUDE.md - Comprehensive documentation
- License Details: LICENCE.md - Full license terms
- Contributing: CONTRIBUTING.md - Contribution guidelines
This software is source-available under a custom license.
Permitted: Personal, educational, and research use
Prohibited: Commercial use without separate license
Copyright (c) 2025 Dražen Urch
See LICENCE.md for complete terms.
---
Repository: https://github.com/durch/agneto
NPM Package: https://www.npmjs.com/package/agneto