{"id":39977977,"url":"https://github.com/jer96/agent.nvim","last_synced_at":"2026-01-18T23:00:45.903Z","repository":{"id":271808712,"uuid":"911684232","full_name":"jer96/agent.nvim","owner":"jer96","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-17T03:25:53.000Z","size":214,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-17T17:40:53.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jer96.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-01-03T15:47:43.000Z","updated_at":"2025-04-17T03:25:56.000Z","dependencies_parsed_at":"2025-01-10T02:35:21.227Z","dependency_job_id":"d6eb13b5-8bd1-443a-9e91-dc07c6e6dd8e","html_url":"https://github.com/jer96/agent.nvim","commit_stats":null,"previous_names":["jer96/agent.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jer96/agent.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jer96%2Fagent.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jer96%2Fagent.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jer96%2Fagent.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jer96%2Fagent.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jer96","download_url":"https://codeload.github.com/jer96/agent.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jer96%2Fagent.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28553055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T20:59:07.572Z","status":"ssl_error","status_checked_at":"2026-01-18T20:59:02.799Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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-01-18T23:00:39.661Z","updated_at":"2026-01-18T23:00:45.879Z","avatar_url":"https://github.com/jer96.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# agent.nvim\n\nAn LLM agent for Neovim that integrates AI assistance directly into your editing workflow. agent.nvim provides a chat interface where you can interact with an agent equipped with tools to take action in your development environment.\n\n\u003e NOTE: this plugin is experimental and subject to frequent breaking changes.\n\n## Demo \nhttps://github.com/user-attachments/assets/8dc00c01-4e4a-4007-a7fe-7dbf7633f755\n\n## Features\n\n- Support for streaming respones using either Anthropic or Bedrock API\n- Configurable context where buffers and files can be added as context to the agent.\n- Model Context Protocol (MCP) Support for tool usage\n- Conversation persistence (currently writes to a file on your local disk)\n\n## Requirements\n- Model Provider\n    - If using Anthropic, set `ANTHROPIC_API_KEY`\n    - If using Bedrock, I recommend using [SSO via the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html). The default credentials on your machine will be used.\n- Dependencies\n    - Python \u003e=3.7\n\n## Installation\n\n### Using [lazy.nvim](https://github.com/folke/lazy.nvim)\n\n```lua\n{\n    {\n        \"jer96/agent.nvim\",\n        build = \":UpdateRemotePlugins\",\n        dependencies = {\n            \"famiu/bufdelete.nvim\",\n            \"nvim-telescope/telescope.nvim\",\n        },\n        config = function()\n            require(\"agent\").setup({\n                model_provider = \"anthropic\",\n            })\n            -- keymaps\n            vim.keymap.set(\"n\", \"\u003cleader\u003eaa\", \":AgentToggle\u003cCR\u003e\", { silent = true })\n            vim.keymap.set(\"n\", \"\u003cleader\u003eac\", require(\"agent.ui.context\").file_picker_with_context)\n            vim.keymap.set(\"n\", \"\u003cleader\u003eah\", require(\"agent.ui.conversations\").list_conversations)\n            -- autocmd to delete open buffer from context \n            vim.api.nvim_create_autocmd(\"User\", {\n                pattern = \"BDeletePost*\",\n                callback = function(event)\n                    local buf_num = event.file and event.file:match(\"BDeletePost%s+(%d+)\")\n                    buf_num = tonumber(buf_num)\n                    if buf_num then\n                        vim.fn.AgentHandleBufDelete(buf_num)\n                    end\n                end,\n            })\n        end,\n    },\n}\n```\n\n## Usage\n\n### Basic Commands\n\n- `:AgentToggle` - Toggle the chat interface on/off\n- `:AgentSend` - Send the current message synchronously waiting for response\n- `:AgentSendStream` - Send the current message and stream the response\n- `:AgentClose` - Close the chat interface\n- `:AgentClean` - Clear the current conversation and close the interface\n- `:AgentStartConversation` - Start a new conversation\n\n### Context Management\n\n- `:AgentContextAddFile {file}` - Add a specific file to the context\n- `:AgentContextRemoveFile {file}` - Remove a file from the context\n- `:AgentContextClearFiles` - Clear all additional files from context\n- `:AgentContextClearBuffers` - Clear all active buffers from context\n- `:AgentContextClearAll` - Clear all context (files and buffers)\n- `:AgentContextToggleBuffer {bufnr}` - Toggle inclusion of a specific buffer in context\n\n### Conversation History\n\n- `:AgentListConversations` - List all saved conversations\n- `:AgentLoadConversation {id}` - Load a specific conversation by ID\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjer96%2Fagent.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjer96%2Fagent.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjer96%2Fagent.nvim/lists"}