{"id":49425969,"url":"https://github.com/yaonyan/droid-acp","last_synced_at":"2026-04-29T09:13:47.707Z","repository":{"id":328206076,"uuid":"1114618430","full_name":"yaonyan/droid-acp","owner":"yaonyan","description":"ACP Agent adapter for Factory Droid CLI","archived":false,"fork":false,"pushed_at":"2026-01-30T04:12:26.000Z","size":65,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-30T20:31:30.484Z","etag":null,"topics":["acp","ai","cli","droid"],"latest_commit_sha":null,"homepage":"","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/yaonyan.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-11T16:23:47.000Z","updated_at":"2026-01-30T04:12:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yaonyan/droid-acp","commit_stats":null,"previous_names":["yaonyan/droid-acp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yaonyan/droid-acp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaonyan%2Fdroid-acp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaonyan%2Fdroid-acp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaonyan%2Fdroid-acp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaonyan%2Fdroid-acp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaonyan","download_url":"https://codeload.github.com/yaonyan/droid-acp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaonyan%2Fdroid-acp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["acp","ai","cli","droid"],"created_at":"2026-04-29T09:13:47.137Z","updated_at":"2026-04-29T09:13:47.696Z","avatar_url":"https://github.com/yaonyan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Droid ACP Agent\n\nACP (Agent Client Protocol) adapter for [Factory Droid CLI](https://docs.factory.ai/cli/droid-exec/overview).\n\n[![npm version](https://img.shields.io/npm/v/@yaonyan/droid-acp.svg)](https://www.npmjs.com/package/@yaonyan/droid-acp)\n\nThis agent bridges the ACP protocol with Factory Droid, allowing ACP clients (like Zed Editor) to use Droid as their AI coding backend.\n\n\u003e **Good News**: ACP is now officially supported in Droid; go use it https://docs.factory.ai/changelog/cli-updates#new-features!\n\u003e **Note**: This is a community implementation using Droid's `stream-jsonrpc` mode. We still look forward to an official ACP implementation from Factory.\n\n## Installation\n\n```bash\n# From npm (after published)\nnpm install -g @yaonyan/droid-acp\n\n# From source\ngit clone \u003crepo\u003e\ncd droid-acp\npnpm install\npnpm build\n```\n\n## Prerequisites\n\n1. **Droid CLI** installed: `curl -fsSL https://app.factory.ai/cli | sh`\n2. **Factory API Key**: Get from [Factory Settings](https://app.factory.ai/settings/api-keys)\n\n```bash\nexport FACTORY_API_KEY=fk-...\n```\n\n## Usage\n\n### With Zed Editor\n\nAdd to your Zed settings:\n\n```json\n{\n  \"agents\": {\n    \"droid\": {\n      \"command\": \"droid-acp\",\n      \"env\": {\n        \"FACTORY_API_KEY\": \"fk-...\"\n      }\n    }\n  }\n}\n```\n\n### Standalone\n\n```bash\n# Run directly\nnode dist/index.mjs\n```\n\n## Features\n\n- **Full model support**: Claude Opus/Sonnet/Haiku, GPT-5.1, Gemini 3 Pro\n- **Autonomy levels**: Low (read-only), Medium (dev ops), High (production ops)\n- **Session management**: Persistent sessions with conversation history\n- **Tool execution**: File operations, command execution, code search\n\n## Architecture\n\n```\n┌──────────────┐   ACP/NDJSON    ┌─────────────────┐\n│  ACP Client  │ ◄─────────────► │  Droid ACP      │\n│  (Zed/etc)   │                 │  Adapter        │\n└──────────────┘                 └────────┬────────┘\n                                          │ spawn\n                                          ▼\n                                 ┌──────────────────┐\n                                 │  droid exec      │\n                                 │  --stream-jsonrpc│\n                                 └──────────────────┘\n```\n\n## Development\n\n```bash\n# Build\npnpm build\n\n# Watch mode\npnpm dev\n\n# Type check\npnpm typecheck\n\n# Test\npnpm test\n```\n\n## MCP Server Support (Workaround)\n\nDroid CLI doesn't support passing MCP servers via command-line. As a workaround, the adapter writes `mcpServers` from `session/new` to `.factory/mcp.json` with unique keys (`{name}-{sessionId}`), then cleans up on session end.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaonyan%2Fdroid-acp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaonyan%2Fdroid-acp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaonyan%2Fdroid-acp/lists"}