{"id":47737401,"url":"https://github.com/icholy/xagent","last_synced_at":"2026-05-30T21:01:01.602Z","repository":{"id":347585816,"uuid":"1126947517","full_name":"icholy/xagent","owner":"icholy","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-17T16:32:56.000Z","size":3990,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-17T16:54:31.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/icholy.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":".github/CODEOWNERS","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":"2026-01-02T21:46:33.000Z","updated_at":"2026-05-17T16:19:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"6305004c-2269-40ae-906c-1cc61d234cd7","html_url":"https://github.com/icholy/xagent","commit_stats":null,"previous_names":["icholy/xagent"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/icholy/xagent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fxagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fxagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fxagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fxagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icholy","download_url":"https://codeload.github.com/icholy/xagent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fxagent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33410345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T18:09:33.147Z","status":"ssl_error","status_checked_at":"2026-05-23T18:09:31.380Z","response_time":53,"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":[],"created_at":"2026-04-02T22:55:54.813Z","updated_at":"2026-05-23T20:01:31.410Z","avatar_url":"https://github.com/icholy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XAGENT\n\nRuns coding agents (Claude Code, Codex, Cursor, GitHub Copilot) inside remote sandboxes.\n\n## Features\n\n- **Self-hosted runners** - Run agents on your own infrastructure inside Docker containers\n- **Third-party integrations** - Interact with agents via GitHub and Jira comments\n- **MCP server** - Create and manage tasks from Claude Code, Cursor, or any MCP client\n\n## Web UI\n\n![Web UI](images/webui.png)\n\n## Quick Start\n\nInstall `xagent` cli:\n\n```bash\nmise run install\n```\n\nDownload the pre-built binaries (if needed):\n\n```bash\nxagent download\n```\n\nAuthenticate your local client:\n\n```bash\nxagent setup\n```\n\nUpdate the `workspaces.yml` file (see examples below):\n\n```bash\nvim ~/.config/xagent/workspaces.yaml\n```\n\nStart the local runner:\n\n```bash\nxagent runner\n```\n\nCreate and monitor tasks via the Web UI.\n\nOpen: https://xagent.choly.ca/\n\n## Workspace Examples\n\nSee [examples/workspaces/](examples/workspaces/) for workspace configuration examples:\n\n- [claude.yml](examples/workspaces/claude.yml) - Claude Code\n- [codex.yml](examples/workspaces/codex.yml) - OpenAI Codex\n- [cursor.yml](examples/workspaces/cursor.yml) - Cursor Agent\n- [copilot.yml](examples/workspaces/copilot.yml) - GitHub Copilot\n- [mcp-server.yml](examples/workspaces/mcp-server.yml) - MCP server configuration\n- [private-repo.yml](examples/workspaces/private-repo.yml) - Cloning private repositories\n- [dummy.yml](examples/workspaces/dummy.yml) - Dummy agent for testing\n\n## Docker Compose Runner\n\nSee [examples/runner/](examples/runner/) for running the runner as a Docker Compose service with a pull-through registry cache.\n\n## Debugging\n\nView container logs:\n\n```bash\nxagent logs -f \u003ctaskid\u003e\n```\n\nSet `verbose: true` on a workspace's agent to bypass the CLI output parser and\nlog every raw line. Useful when the parser is hiding details (errors,\nintermediate output, tool-use payloads) you want to inspect via `xagent logs`.\n\n```yaml\nagent:\n  type: claude\n  verbose: true\n```\n\nGet a shell to a task container:\n\n```bash\nxagent shell \u003ctaskid\u003e\n```\n\nList task containers:\n\n```bash\nxagent containers\n```\n\n## Local Development\n\n```bash\n# Start server and postgres locally\ndocker compose up -d\n\n# Run the FE\ncd webui\npnpm install\npnpm run dev\n```\n\nThe local server runs with `--no-auth`, but the runner still requires an API key.\nCreate one in the local Web UI at http://localhost:5173/ui/keys/new, then start the runner:\n\n```bash\nxagent runner --server http://localhost:6464 -key \u003capi-key\u003e\n```\n\n\n### Build\n\n```bash\nmise run build      # Build main + prebuilt binaries (linux amd64/arm64)\nmise run generate   # Generate protobuf code\ngo build            # Build main binary only\n```\n\n## Events\n\nAgents can attach **links** to their tasks for external resources they create (PRs, Jira issues, etc.). Links created with `subscribe=true` act as subscriptions. When someone comments on the resource, the agent is automatically restarted to respond.\n\n![Events](images/events.svg)\n\n## Architecture\n\n![Architecture](images/architecture.svg)\n\n\n## Schema\n\n![Schema](images/schema.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficholy%2Fxagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficholy%2Fxagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficholy%2Fxagent/lists"}