{"id":28186706,"url":"https://github.com/sing1ee/a2a-agent-coder","last_synced_at":"2025-10-04T16:50:25.489Z","repository":{"id":287351493,"uuid":"964451181","full_name":"sing1ee/a2a-agent-coder","owner":"sing1ee","description":"a2a agent coder by openrouter","archived":false,"fork":false,"pushed_at":"2025-04-11T10:21:14.000Z","size":52,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-16T07:11:32.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sing1ee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-11T08:30:00.000Z","updated_at":"2025-04-27T06:15:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d8059f8-60d0-40b4-adf4-62da392292a7","html_url":"https://github.com/sing1ee/a2a-agent-coder","commit_stats":null,"previous_names":["sing1ee/a2a-agent-coder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sing1ee/a2a-agent-coder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sing1ee%2Fa2a-agent-coder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sing1ee%2Fa2a-agent-coder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sing1ee%2Fa2a-agent-coder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sing1ee%2Fa2a-agent-coder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sing1ee","download_url":"https://codeload.github.com/sing1ee/a2a-agent-coder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sing1ee%2Fa2a-agent-coder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278343083,"owners_count":25971399,"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-10-04T02:00:05.491Z","response_time":63,"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":[],"created_at":"2025-05-16T07:10:41.346Z","updated_at":"2025-10-04T16:50:25.470Z","avatar_url":"https://github.com/sing1ee.png","language":"TypeScript","funding_links":[],"categories":["List of Awesome A2A Servers","Server Implementations"],"sub_categories":["🛠️ Developer Tools"],"readme":"# a2a-agent-coder\n\n一个基于 Bun 运行时的项目，使用 A2A 框架和 OpenRouter API 构建智能代理。\n\n## 环境要求\n\n- [Bun](https://bun.sh) v1.2.5 或更高版本\n- Node.js 环境（用于运行 a2a server）\n\n## 开始使用\n\n### 安装\n\n首先克隆项目：\n\n```bash\ngit clone https://github.com/yourusername/a2a-agent-coder.git\ncd a2a-agent-coder\n```\n\n安装依赖：\n\n```bash\nbun install\n```\n\n### 环境配置\n\n1. 设置环境变量\n   - 复制 `.env.example` 文件为 `.env`\n   - 完整设置，兼容 openai 的 API 即可\n   - 执行 `export $(cat .env | xargs)`\n\n### 运行\n\n1. 启动 a2a server（需要 Node.js 环境）：\n```bash\nbun run agents:coder\n```\n\n2. 启动 a2a client：\n```bash\nbun run a2a:cli\n```\n\n## 项目说明\n\n本项目基于 [A2A](https://github.com/google/A2A) 框架开发，使用 OpenRouter 作为 LLM 提供者。主要功能包括：\n\n- 代码生成：根据用户需求生成完整的代码文件\n- 智能对话：通过自然语言与代理进行交互\n- 文件操作：支持创建、修改和删除代码文件\n\n## 开发\n\n### 可用的脚本\n- `bun run a2a:cli` - 运行 a2a client\n- `bun run agents:coder` - 运行 a2a server\n\n## 技术栈\n\n- [Bun](https://bun.sh) - JavaScript 全能运行时\n- TypeScript - 类型安全的 JavaScript 超集\n- Node.js - 用于运行 a2a server\n- [A2A](https://github.com/google/A2A) - Google 的智能代理框架\n- [OpenRouter](https://openrouter.ai/) - LLM API 提供者\n\n## 许可证\n\nMIT\n\n---\n\nThis project was created using `bun init` in bun v1.2.5. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsing1ee%2Fa2a-agent-coder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsing1ee%2Fa2a-agent-coder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsing1ee%2Fa2a-agent-coder/lists"}