{"id":34522776,"url":"https://github.com/denkhaus/agent-forge","last_synced_at":"2026-04-22T01:06:37.827Z","repository":{"id":306054160,"uuid":"1024837914","full_name":"denkhaus/agent-forge","owner":"denkhaus","description":"Git-native AI agent development platform with local-first architecture and 30-second component sharing","archived":false,"fork":false,"pushed_at":"2025-07-23T12:20:54.000Z","size":10604,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-23T12:27:38.144Z","etag":null,"topics":["ai-agents","git-native","golang","local-first","mcp"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denkhaus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-23T10:18:17.000Z","updated_at":"2025-07-23T11:50:45.000Z","dependencies_parsed_at":"2025-07-23T12:28:04.881Z","dependency_job_id":"4b332267-59b0-4305-a222-ce12fa485b6d","html_url":"https://github.com/denkhaus/agent-forge","commit_stats":null,"previous_names":["denkhaus/agent-forge"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/denkhaus/agent-forge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denkhaus%2Fagent-forge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denkhaus%2Fagent-forge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denkhaus%2Fagent-forge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denkhaus%2Fagent-forge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denkhaus","download_url":"https://codeload.github.com/denkhaus/agent-forge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denkhaus%2Fagent-forge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27995808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","git-native","golang","local-first","mcp"],"created_at":"2025-12-24T05:00:07.993Z","updated_at":"2025-12-24T05:00:09.413Z","avatar_url":"https://github.com/denkhaus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AgentForge\n\nA Git-native AI agent development platform that enables developers to build, share, and manage AI agent components through a collaborative ecosystem.\n\n## Features\n\n- 🌍 **Git-Native**: Components distributed via GitHub repositories\n- ⚡ **Local-First**: Fast iteration with local storage\n- 🎨 **Beautiful CLI**: Interactive interfaces for component management\n- 🔄 **Simple Sync**: Easy push/pull with GitHub\n- 🧩 **Three Component Types**: Tools, Prompts, and Agents\n- 🤝 **Community-Driven**: 30-second component sharing\n- 🏗️ **Modular Architecture**: Clean, testable, and extensible design\n- 📊 **Structured Logging**: Comprehensive logging with Zap\n\n## Quick Start\n\n### Prerequisites\n\n- Go 1.21 or later\n- PostgreSQL database\n- Google AI API key\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/denkhaus/mcp-planner.git\ncd mcp-planner\n```\n\n2. Install dependencies:\n```bash\nmake deps\n```\n\n3. Set up environment variables:\n```bash\nexport GOOGLE_API_KEY=\"your-google-ai-api-key\"\nexport DATABASE_URL=\"postgres://user:password@localhost/mcp_planner?sslmode=disable\"\nexport LOG_LEVEL=\"info\"\nexport PORT=\"8080\"\nexport ENVIRONMENT=\"development\"\n```\n\n4. Build the application:\n```bash\nmake build\n```\n\n5. Start the interactive chat:\n```bash\n./bin/mcp-planner chat\n```\n\n## Usage\n\n### Commands\n\n- **Server Mode**: `./bin/mcp-planner server --port 8080`\n- **Interactive Chat**: `./bin/mcp-planner chat --clear`\n- **Version Info**: `./bin/mcp-planner version`\n- **Help**: `./bin/mcp-planner --help`\n\n### Chat Examples\n\n```\nYou: What's the weather like in Chicago?\nAssistant: The weather in Chicago is currently 64°F and sunny with light winds.\n\nYou: Create a task to review project documentation with high priority\nAssistant: Task created successfully: {\"id\":\"task-42\",\"title\":\"review project documentation\",\"priority\":\"high\",\"status\":\"created\"}\n\nYou: Help me plan a team meeting for next week\nAssistant: I'll help you plan a team meeting. Here are some suggestions...\n```\n\n### Available Tools\n\n- **Weather Information**: Get current weather for any city\n- **Task Management**: Create and manage tasks with priorities\n- **Planning Assistance**: AI-powered planning and organization help\n\n## Development\n\n### Setup Development Environment\n\n```bash\nmake dev-setup\n```\n\n### Code Quality\n\n```bash\n# Run linter\nmake lint\n\n# Fix linting issues\nmake lint-fix\n\n# Format code\nmake fmt\n\n# Run tests\nmake test\n\n# Generate coverage report\nmake coverage\n\n# Run security checks\nmake security\n\n# Pre-commit checks\nmake pre-commit\n```\n\n### Project Structure\n\n```\n├── main.go                 # Application entry point\n├── internal/\n│   ├── config/            # Configuration management\n│   ├── container/         # Dependency injection\n│   ├── logger/            # Structured logging\n│   ├── signals/           # Signal handling utilities\n│   ├── types/             # Type definitions and interfaces\n│   └── providers/         # Service providers\n│       ├── agent.go       # AI agent provider\n│       ├── prompt.go      # Prompt management provider\n│       └── tool.go        # Tool execution provider\n├── .golangci.yml          # Linting configuration\n├── Makefile              # Build automation\n└── .github/workflows/    # CI/CD pipelines\n```\n\n## Configuration\n\nThe application uses environment variables for configuration:\n\n| Variable | Description | Default | Required |\n|----------|-------------|---------|----------|\n| `GOOGLE_API_KEY` | Google AI API key | - | ✅ |\n| `DATABASE_URL` | PostgreSQL connection string | - | ✅ |\n| `LOG_LEVEL` | Logging level (debug, info, warn, error) | info | ❌ |\n| `PORT` | HTTP server port | 8080 | ❌ |\n| `ENVIRONMENT` | Deployment environment | development | ❌ |\n\n### CLI Flag Overrides\n\nCLI flags can override environment variables:\n\n```bash\n./bin/mcp-planner server --port 9090 --log-level debug\n./bin/mcp-planner chat --log-level debug --clear\n```\n\n## Architecture\n\n### Core Components\n\n1. **Agent Provider**: Manages AI interactions using Google AI\n2. **Tool Provider**: Handles tool registration and execution\n3. **Prompt Provider**: Manages prompt templates and system prompts\n4. **Configuration**: Environment-based config with CLI overrides\n5. **Dependency Injection**: Clean service management with samber/do\n\n### Design Principles\n\n- **Interface-First**: All providers implement well-defined interfaces\n- **Dependency Injection**: Clean separation of concerns\n- **Error Handling**: Comprehensive error wrapping and logging\n- **Testability**: Mockable interfaces and dependency injection\n- **Observability**: Structured logging throughout the application\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature/amazing-feature`\n3. Make your changes following the coding standards in `go-coding.md`\n4. Run pre-commit checks: `make pre-commit`\n5. Commit your changes: `git commit -m 'Add amazing feature'`\n6. Push to the branch: `git push origin feature/amazing-feature`\n7. Open a Pull Request\n\n### Code Standards\n\nThis project follows strict Go coding standards defined in `rules/go-coding.md`:\n\n- **Error Handling**: Custom error types with proper wrapping\n- **Naming Conventions**: Clear, descriptive names following Go conventions\n- **Package Organization**: Single responsibility principle\n- **Interface Design**: Small, focused interfaces\n- **Dependency Injection**: Clean service management\n- **Testing**: Comprehensive test coverage with testify\n- **Documentation**: GoDoc comments for all exported functions\n\n## CI/CD\n\nThe project includes comprehensive CI/CD pipelines:\n\n- **Linting**: golangci-lint with extensive rule set\n- **Testing**: Unit tests with coverage reporting\n- **Security**: Vulnerability scanning with gosec\n- **Build**: Multi-platform binary generation\n\n## License\n\n[Add your license here]\n\n## Support\n\nFor questions, issues, or contributions, please:\n\n1. Check the [Issues](https://github.com/denkhaus/mcp-planner/issues) page\n2. Create a new issue with detailed information\n3. Follow the contributing guidelines\n\n---\n\nBuilt with ❤️ using Go and Git-native workflows","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenkhaus%2Fagent-forge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenkhaus%2Fagent-forge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenkhaus%2Fagent-forge/lists"}