{"id":20742361,"url":"https://github.com/copilot-extensions/github-models-extension","last_synced_at":"2026-01-19T23:43:19.171Z","repository":{"id":253132192,"uuid":"839025002","full_name":"copilot-extensions/github-models-extension","owner":"copilot-extensions","description":"Copilot Extension to connect and chat with GitHub Models","archived":false,"fork":false,"pushed_at":"2025-04-11T16:41:37.000Z","size":133,"stargazers_count":87,"open_issues_count":0,"forks_count":45,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-07T01:13:19.990Z","etag":null,"topics":["code-sample","extension","models"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"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/copilot-extensions.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":"2024-08-06T20:13:40.000Z","updated_at":"2025-05-06T11:09:34.000Z","dependencies_parsed_at":"2024-10-25T02:29:56.774Z","dependency_job_id":"da948651-7ef9-48ed-86c1-e12bc440135f","html_url":"https://github.com/copilot-extensions/github-models-extension","commit_stats":null,"previous_names":["copilot-extensions/github-models-extension"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copilot-extensions%2Fgithub-models-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copilot-extensions%2Fgithub-models-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copilot-extensions%2Fgithub-models-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copilot-extensions%2Fgithub-models-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/copilot-extensions","download_url":"https://codeload.github.com/copilot-extensions/github-models-extension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514352,"owners_count":21920327,"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","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":["code-sample","extension","models"],"created_at":"2024-11-17T07:01:10.746Z","updated_at":"2026-01-19T23:43:19.111Z","avatar_url":"https://github.com/copilot-extensions.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# @models Copilot Extension\n\nThis is an agent-based [GitHub Copilot Extension](https://docs.github.com/en/copilot/using-github-copilot/using-extensions-to-integrate-external-tools-with-copilot-chat) that provides a way to interact with [GitHub Models](https://github.blog/news-insights/product-news/introducing-github-models/), directly in Copilot Chat.\n\n## What it can do\n\nYou can ask it things like \"what models are available?\" or \"which model should I use for my use-case?\". You can also ask it to execute a basic prompt using a particular model.\n\n| Description | Image |\n| --- |--- |\n| User asking `@models` for a recommended model that is low-cost and supports function calling | ![User asking @models for a recommended model that is low-cost and supports function calling](https://github.com/user-attachments/assets/b0c2710d-3d3e-46af-a021-864a17fb5a9c) |\n| Dialogue with the Extension, asking for an OpenAI model | ![Dialogue with the Extension, asking for an OpenAI model](https://github.com/user-attachments/assets/1d042c46-895f-43f7-9ab4-2f261811c6b1) |\n| User executing a basic prompt using the model that the extension recommended | ![User executing a basic prompt using the model that the extension recommended](https://github.com/user-attachments/assets/688951dc-c02d-40df-a226-c5da8900b633) |\n\n## Development\n\n1. Install dependencies:\n\n```bash\nnpm install\n```\n\n2. Run the server\n\n- To run in development mode:\n\n```bash\nnpm run dev\n```\n\n- To build and run in production mode:\n\n```bash\nnpm run build \u0026\u0026 npm start\n```\n3. Follow [this guide](https://docs.github.com/en/copilot/building-copilot-extensions/creating-a-copilot-extension/configuring-your-server-to-deploy-your-copilot-agent#configuring-your-server) to make your server accessible to the internet\n\nIn short, we would expose a public URL for our local server using the following command (follow the guide for detailed setup instructions):\n```\nngrok http http://localhost:3000\n```\n\n4. Follow [this guide](https://docs.github.com/en/copilot/building-copilot-extensions/creating-a-copilot-extension/creating-a-github-app-for-your-copilot-extension) to create a GitHub app\n5. Follow [this guide](https://docs.github.com/en/copilot/building-copilot-extensions/creating-a-copilot-extension/configuring-your-github-app-for-your-copilot-agent) to configure the app to use the public URL from (3.)\n6. Use your newly installed app! On any copilot enabled page, type `@your-app-name \u003cprompt\u003e` (from the app created in 4.) to interact with your local installation of this extension!\n\n## Copilot Extensions Documentation\n- [Using Copilot Extensions](https://docs.github.com/en/copilot/using-github-copilot/using-extensions-to-integrate-external-tools-with-copilot-chat)\n- [About building Copilot Extensions](https://docs.github.com/en/copilot/building-copilot-extensions/about-building-copilot-extensions)\n- [Set up process](https://docs.github.com/en/copilot/building-copilot-extensions/setting-up-copilot-extensions)\n- [Communicating with the Copilot platform](https://docs.github.com/en/copilot/building-copilot-extensions/building-a-copilot-agent-for-your-copilot-extension/configuring-your-copilot-agent-to-communicate-with-the-copilot-platform)\n- [Communicating with GitHub](https://docs.github.com/en/copilot/building-copilot-extensions/building-a-copilot-agent-for-your-copilot-extension/configuring-your-copilot-agent-to-communicate-with-github)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopilot-extensions%2Fgithub-models-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopilot-extensions%2Fgithub-models-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopilot-extensions%2Fgithub-models-extension/lists"}