TABLE OF CONTENTS
With the rapid evolution of AI-powered development tools, modern editors are now far more than simple text processors they are intelligent environments that understand code, assist with refactoring, and help developers reason about complex systems.
Among these next-generation tools, Zed Editor and Hyperstack AI Studio stand out as a perfect combination for developers seeking high performance, customization, and AI-driven productivity.
In this guide, we will first explore what Zed Editor is and why it’s important, then discuss why Hyperstack AI Studio is the ideal backend for enhancing Zed’s AI capabilities, and finally go through a detailed step-by-step integration process.
Understanding Zed Editor
What is Zed Editor and Why to Use it?
Zed Editor is a high-performance, open-source, collaborative code editor built by the creators of Atom and Tree-sitter. Designed with speed, real-time collaboration, and AI integration in mind, Zed redefines what a modern code editor can do.

Unlike traditional editors, Zed is written in Rust, which provides native performance, security, and low latency even when working with large codebases. It’s engineered to deliver a lightweight yet powerful coding experience that feels instant — every keystroke, every search, and every navigation happens with near-zero delay.
Zed is not just another text editor, it’s an AI-ready collaborative environment. It brings together human and machine intelligence in one unified workspace.
Key reasons developers prefer Zed include:
- Speed: Its Rust-based architecture ensures sub-millisecond latency for typing, searching, and navigation.
- Collaboration: Live, low-latency pair programming without relying on third-party plugins.
- AI flexibility: Zed supports multiple AI agents through its
agentconfiguration, including OpenAI-compatible APIs like Hyperstack AI Studio. - Customization: Developers can easily modify settings via the UI or the
settings.jsonfile. - Open Source & Extensible: Zed’s transparent development process invites contributions and rapid feature growth.
Let's now explore why Hyperstack AI Studio is the perfect AI backend to power Zed’s intelligent capabilities.
Introduction to Hyperstack AI Studio
What is Hyperstack AI Studio?
Hyperstack AI Studio is an enterprise-grade generative AI platform designed for developers and organizations to train, deploy, fine-tune, and evaluate large language models (LLMs) with ease.
It provides everything needed to operate custom models from inference and benchmarking to fine-tuning and secure deployment all within a single unified dashboard.
A key advantage of Hyperstack is that its API is fully compatible with the OpenAI SDK. This means any client or editor (like Zed) that supports OpenAI-style endpoints can directly connect to Hyperstack with minimal configuration changes.
You can explore available base models at Hyperstack Model Documentation.
Why use Hyperstack AI Studio is Useful for Zed Editor
Zed’s design philosophy revolves around speed, modularity, and extensibility, making it naturally suited for AI integration.
Hyperstack complements this by offering:
- Customizable AI endpoints: Add fine-tuned or base models directly as Zed AI agents.
- Developer-focused workflow: Experiment with models in the Hyperstack Playground and instantly connect them to Zed.
- OpenAI SDK compatibility: No need for additional wrappers or middleware.
- Performance-oriented backend: Matches Zed’s high-speed editing experience with low-latency model responses.
- Scalability: Whether it’s a personal assistant model or a team-shared enterprise AI, Hyperstack scales accordingly.
In short, Hyperstack provides the brains, and Zed provides the hands together delivering a fluid, intelligent coding experience.
Integrating Hyperstack AI Studio with Zed Editor
Now that we understand both tools, let’s walk through the integration process step by step.
Step 1: Install Zed Editor
The first step is to download Zed Editor from its official website https://zed.dev/. So let's get started!

Click on Download, and install it on your system following the instructions.

Once installed, you can launch it from your applications menu.

Now that we have installed the zed editor we can now get the info from hyperstack ai studio to build our agent in the code editor.
Step 2: Retrieve Hyperstack API Details
Before we perform the customization steps of Zed editor, we have to get some info that later we will be using to configure our Hyperstack LLM with zed code like base url, model id, api key and so on.
- Go to the Hyperstack Console and log in with your credentials.
- Navigate to the AI Studio Playground to explore available models before integration them with Zed editor.

In the playground, Select your desired model after quick testing it on the interface. We are going with gpt-oss-120b for this integration.
Then click on the API section to get the Base URL and Model ID.

You can check the available models on their base model documentation page. You can copy the model id and base url from here, we will need it in the next step.
Step 2: Generating an API Key
To authenticate, we will need a valid API key from Hyperstack AI Studio.
-
Go to the API Keys section in the Hyperstack console.
-
Click Generate New Key.
-
Give it a name (e.g.,
zed-integration-key). -
Copy the generated key, we will use it in zed code editor.

Now that we have the required details for zed coding tool, let's now use them.
Step 4: Launch Zed and Open the Interface
Once you open Zed, you will see its sleek and minimal interface designed for speed and focus.

On the first launch, it may ask you to configure basic preferences such as theme, font size, and layout. We need to login using our Github credentials to access LLM based features in our code editor.

It will ask for basic authorisation of your GitHub account like read only access to email and so on.

Now that Zed is set up, we can proceed to integrate Hyperstack AI Studio.
Step 5: Open AI Agent Settings
Zed supports configurable AI agents through its agent settings. You can access this configuration through the Command Palette:
- Press
Ctrl + Shift + P(Windows/Linux) orCmd + Shift + P(macOS). - Search for and select
agent: settings.

A settings panel will appear on the right side of the editor. This is where we’ll define our custom AI agent powered by Hyperstack.
Step 6: Add Hyperstack AI Studio as a Custom AI Agent
In the agent settings panel, click on Add Custom AI Provider. Since it supports OpenAI-compatible APIs, we can configure Hyperstack here.

Now we will be entering the necessary details to connect Zed with Hyperstack AI Studio.
You will need the following:
- Base URL: The endpoint for Hyperstack’s API (usually
https://api.hyperstack.cloud/v1) - Model Name: For example,
openai/gpt-oss-120bor any fine-tuned model you’ve deployed - API Key: The key you generated from Hyperstack API Keys
Fill these values in the configuration panel.

Once saved, Zed will now recognise Hyperstack AI Studio as a valid AI provider.
Step 7: Test the Integration
Now that our setup is complete, it’s time to verify the integration.
Open a new file in Zed and activate the AI agent.

Click the AI Edit button or use the agent chat command, then type a prompt such as:
Write a Python function that prints "Hello, World!"
Hit Enter and wait for the model to respond.

You should see Hyperstack’s model returning a correct and complete code snippet.
Here’s what the generated code might look like:
# This function prints a simple greeting
def hello_world():
print("Hello, World!") # Output greeting to console
You can see that the model is responding back with the correct code snippet as expected. You can then accept the changes and use it in your code.
It shows that the integration is working perfectly! You can now use Hyperstack AI Studio directly within Zed Editor for all your coding assistance needs.
Monitoring the Usage
Hyperstack provides built-in monitoring tools to track usage, and costs of your API calls. Go to the Usage Dashboard in Hyperstack to see your consumption metrics.

We can monitor API usage along with tokens used, and also according to model chat and tool calling feature also.
Once you’re comfortable with the setup, consider:
- Fine-tuning your own model in Hyperstack to match your team’s codebase.
- Benchmarking models using Hyperstack evaluation framework to find the best performer.
- Collaborating with teammates using the same AI configuration.
- Automating workflows by scripting common refactor or code-gen tasks.
Conclusion
By integrating Zed Editor with Hyperstack AI Studio, developers can achieve a powerful combination of local performance and custom AI intelligence.
- Zed Editor provides a blazing-fast, collaborative development experience.
- Hyperstack AI Studio provides the customizable, scalable, and secure AI backend to power it.
Together, they enable developers to code faster, smarter, and more creatively without vendor lock-in or complex infrastructure.
You can explore more about both tools here:
- For downloading the Zed Editor, you can visit: zed.dev website.
- To get started with Hyperstack AI Studio, visit: console.hyperstack.cloud.
- For Hyperstack documentation, visit: docs.hyperstack.cloud.
- For Zed Editor documentation, visit: zed.dev/docs.
FAQ
1. Do I need a specific version of Zed to integrate Hyperstack?
Yes. Make sure you are using the latest version of Zed since AI agent configuration is a newer feature introduced in recent builds.
2. Is Hyperstack compatible with all Zed AI agent settings?
Yes. Hyperstack’s API is fully OpenAI-compatible, meaning it integrates directly with Zed’s existing agent schema without modifications.
3. Which Hyperstack model should I start with?
For general development, start with gpt-oss-120b a balanced model suitable for most code generation and refactoring tasks.
4. Can I use a fine-tuned model from Hyperstack?
Absolutely. Once you fine-tune a model in Hyperstack, simply copy its model id and base URL, then add it as a new AI agent in Zed.
5. How do I test the connection?
In Zed, open the AI chat panel, select your custom agent, and type a simple query like “Hello”. A valid response confirms that the integration is working correctly.
Subscribe to Hyperstack!
Enter your email to get updates to your inbox every week
Get Started
Ready to build the next big thing in AI?