Clive for VS CodeClive is a Cline-based AI coding assistant for Visual Studio Code. It can inspect your workspace, create and edit files, run commands, use a browser, connect to MCP servers, and help verify changes—with human approval for actions that affect your workspace. This fork puts Archivist front and center: a local-first context and project-memory layer designed to help Clive stay grounded in the current codebase without replacing VS Code, Cline, or their safety boundaries.
Why Clive is differentArchivist: local-first project contextArchivist maintains a bounded, read-only understanding of the active workspace:
Archivist context is bounded evidence—not a replacement for Clive's native file, search, terminal, or browser tools. Persistent project memoryArchivist can retain bounded project-local memories at:
Memories can represent explicit user facts, corrections, host-observed facts, conventions, architecture decisions, verification rules, known pitfalls, and completed-task insights. Each memory carries provenance, scope, freshness, confidence, and status. Current user instructions, current source files, host-observed results, native approvals, workspace trust, and safety policy always take precedence over historical memory. Model-suggested memories remain proposals rather than becoming active automatically. Optional conversation context for cloud modelsConversation-context sharing is disabled by default and is separate from local interaction retention. When explicitly enabled, Clive may add one transient
The packet is hard-bounded, redacts secret-like values and instruction-like text, marks historical excerpts as untrusted, and is not automatically converted into durable memory. It never overrides current instructions, source evidence, tool results, approvals, or policy. Optional role-based planning and reviewArchivist roles are advisory and bounded:
Native Clive remains the only component that can use workspace tools, request approval, mutate files, run commands, manage cancellation, or declare host-backed completion. Quick startInstall from the Marketplace
Install a VSIX manuallyFor a beta, private, or unlisted build:
Configure a providerOpen Clive → Settings and configure a provider and model. Supported options include Anthropic, OpenAI, OpenRouter, Google Gemini, AWS Bedrock, Azure, GCP Vertex, Cerebras, Groq, Ollama, LM Studio, and OpenAI-compatible endpoints. API keys are stored in VS Code's secure credential storage. Do not paste credentials into prompts, source files, role descriptions, or Archivist memory entries. Start a taskDescribe the outcome you want, attach screenshots when useful, and let Clive inspect the workspace. Review and approve edits, terminal commands, browser actions, and other mutations as they appear. Useful first prompts include:
Configure ArchivistOpen Settings → Archivist after installing Clive. Recommended order:
The two retention settings are independent:
You can retain local excerpts while keeping cloud conversation-context sharing disabled. If role orchestration is enabled, configure Coordinator, Planner, Worker, and Executor providers/models in the Archivist settings section. Planner and Executor remain tool-free; Worker is the native implementation path. Safety and privacy boundaries
Current source and host-observed evidence decide what is true now; Archivist helps preserve context about what happened before. Inherited Cline capabilitiesClive retains the core Cline workflow and tool surface, including:
For upstream Cline documentation, see the Cline documentation, Cline repository, and Cline getting-started guide. Add context with mentions
MCP and custom toolsAsk Clive to add a tool, or configure a community MCP server, for workflows such as retrieving Jira tickets, checking cloud infrastructure, querying incident systems, and interacting with APIs or databases. Clive still asks for approval before actions that require it. CheckpointsUse checkpoints to compare current files with earlier task states or restore a previous workspace state. This makes it safer to explore alternate implementations and recover from an unwanted change. Clive and ArchivistClive adds an optional, local-first Archivist layer around the native Cline session. Archivist is advisory: native Cline remains the authority for tools, approvals, workspace trust, file changes, terminal commands, cancellation, and task completion. Archivist cannot authorize or perform an action by itself. Bounded local project contextWhen a workspace is open, Archivist can build a small read-only source index in the background. Retrieval is bounded and workspace-contained:
The native model can use the read-only Persistent project memoryArchivist can retain bounded project-local memories in:
Memories may represent explicit user facts, corrections, host-observed facts, conventions, decisions, verification rules, known pitfalls, or completed-task insights. Records include provenance, scope, freshness, confidence, and status. Current user instructions, current source, and host-observed results always outrank historical memory. Model-suggested memories remain proposed rather than becoming active automatically. Archivist memory is local to the project and does not grant access to another workspace. Optional cloud conversation contextConversation-context sharing is off by default and is separate from local interaction retention. When explicitly enabled, Clive may add one small, transient
The brief is hard-bounded, redacts secret-like values and instruction-like text, labels historical excerpts as untrusted, and does not become durable memory merely because it was sent to a model. It never overrides current instructions, source evidence, native tool results, approvals, or policy. Optional role-based planning and reviewArchivist roles can be configured independently for Coordinator, Planner, Worker, and Executor connections. The intended division is:
Role output is advisory and bounded. It cannot bypass native Cline's approval, trust, mutation, cancellation, or completion rules. Setup1. Install CliveInstall the packaged
Clive requires VS Code 2. Configure a model providerOpen Clive from the Activity Bar, then choose Settings. Configure one supported provider and model, such as Anthropic, OpenAI, OpenRouter, Google Gemini, AWS Bedrock, an OpenAI-compatible endpoint, Ollama, or LM Studio. API keys remain in the extension's secure credential storage. Do not paste credentials into prompts, source files, memory entries, or role descriptions. 3. Start with native Cline behaviorCreate a task and allow Clive to inspect the workspace. Approve file edits, terminal commands, browser actions, and other mutations as they appear. This is the default operating mode and does not require Archivist conversation sharing. 4. Enable local Archivist features as neededOpen Settings → Archivist. Recommended order:
Conversation-context sharing is independent of local retention:
You can keep local retention enabled while leaving cloud conversation-context sharing disabled. 5. Configure optional rolesIf role orchestration is enabled, choose providers and models for the available roles in the Archivist settings section. Empty role overrides fall back to the current native connection. Planner and Executor connections are advisory and tool-free; the Worker/native connection is the path that performs approved workspace work. For local advisory classification or role support, configure the recommended local model through the available Ollama/LM Studio settings. Local-model availability is optional; Clive continues to use the native provider configuration when a local model is not configured. Privacy and safety boundaries
Current limitationsThe current Clive release is suitable for feedback and evaluation, but several areas remain intentionally limited:
Please report unexpected behavior with the workspace, provider/model, task shape, and whether Archivist settings were enabled. Avoid including API keys, private source text, or confidential task content in reports.
Use any API and ModelCline supports API providers like OpenRouter, Anthropic, OpenAI, Google Gemini, AWS Bedrock, Azure, GCP Vertex, Cerebras and Groq. You can also configure any OpenAI compatible API, or use a local model through LM Studio/Ollama. If you're using OpenRouter, the extension fetches their latest model list, allowing you to use the newest models as soon as they're available. The extension also keeps track of total tokens and API usage cost for the entire task loop and individual requests, keeping you informed of spend every step of the way. Run Commands in TerminalCline can execute commands and receive their output to install packages, run build scripts, deploy applications, manage databases, and run tests, all while adapting to your dev environment & toolchain to get the job done right. By default, commands run in a visible VS Code terminal, using the shell integration API introduced in VSCode v1.93 to stream output as commands run and let you watch or interact with them directly. You can switch to running commands in a background process instead (Settings → Terminal → Terminal Execution Mode). Create and Edit FilesCline can create and edit files directly in your editor, presenting you a diff view of the changes. You can edit or revert Cline's changes directly in the diff view editor, or provide feedback in chat until you're satisfied with the result. Cline also monitors linter/compiler errors (missing imports, syntax errors, etc.) so he can fix issues that come up along the way on his own. All changes made by Cline are recorded in your file's Timeline, providing an easy way to track and revert modifications if needed. Use the BrowserWith Claude Sonnet's new Computer Use capability, Cline can launch a browser, click elements, type text, and scroll, capturing screenshots and console logs at each step. This allows for interactive debugging, end-to-end testing, and even general web use! This gives him autonomy to fixing visual bugs and runtime issues without you needing to handhold and copy-pasting error logs yourself. Try asking Cline to "test the app", and watch as he runs a command like "add a tool that..."Thanks to the Model Context Protocol, Cline can extend his capabilities through custom tools. While you can use community-made servers, Cline can instead create and install tools tailored to your specific workflow. Just ask Cline to "add a tool" and he will handle everything, from creating a new MCP server to installing it into the extension. These custom tools then become part of Cline's toolkit, ready to use in future tasks.
Add Context
Checkpoints: Compare and RestoreAs Cline works through a task, the extension takes a snapshot of your workspace at each step. You can use the 'Compare' button to see a diff between the snapshot and your current workspace, and the 'Restore' button to roll back to that point. For example, when working with a local web server, you can use 'Restore Workspace Only' to quickly test different versions of your app, then use 'Restore Task and Workspace' when you find the version you want to continue building from. This lets you safely explore different approaches without losing progress. ContributingTo contribute to the project, start with our Contributing Guide to learn the basics. You can also join our Discord to chat with other contributors in the EnterpriseGet the same Cline experience with enterprise-grade controls: SSO (SAML/OIDC), global policies and configuration, observability with audit trails, private networking (VPC/private link), and self-hosted or on-prem deployments, and enterprise support. Learn more at our enterprise page or talk to us. License |