AllTopicsTodayAllTopicsToday
Notification
Font ResizerAa
  • Home
  • Tech
  • Investing & Finance
  • AI
  • Entertainment
  • Wellness
  • Gaming
  • Movies
Reading: Run Your Own AI Coding Agent Locally with GPT-OSS and OpenHands
Share
Font ResizerAa
AllTopicsTodayAllTopicsToday
  • Home
  • Blog
  • About Us
  • Contact
Search
  • Home
  • Tech
  • Investing & Finance
  • AI
  • Entertainment
  • Wellness
  • Gaming
  • Movies
Have an existing account? Sign In
Follow US
©AllTopicsToday 2026. All Rights Reserved.
AllTopicsToday > Blog > AI > Run Your Own AI Coding Agent Locally with GPT-OSS and OpenHands
Video20thumbnail20 20gptoss20x20openhands.png
AI

Run Your Own AI Coding Agent Locally with GPT-OSS and OpenHands

AllTopicsToday
Last updated: August 12, 2025 1:25 pm
AllTopicsToday
Published: August 12, 2025
Share
SHARE

introduction

Whether or not refactoring legacy code, implementing new options, or debugging complicated points, AI coding assistants can speed up improvement workflows and scale back time. OpenHands is an AI-driven coding framework that acts like an actual improvement companion. You may also perceive complicated necessities, navigate the complete codebase, write and modify code throughout a number of information, debug errors, and work together with exterior providers. Not like conventional code completion instruments that suggest snippets, open arms act as autonomous brokers that may carry out full improvement duties from begin to end.

On the mannequin facet, GPT-Oss is an Openai household of large-scale language fashions constructed for superior inference and code technology. These fashions are launched below the Apache 2.0 license and brings options beforehand locked behind their very own APIs into absolutely accessible varieties. The GPT-OSS-20B gives quick response and modest useful resource necessities, making it appropriate for small groups or particular person builders operating their fashions domestically.

The GPT-OSS-120B gives deeper inference for complicated workflows, large-scale refactoring, and architectural decision-making, permitting it to be deployed on extra highly effective {hardware} for stronger throughput. Each fashions use a combination structure and activate solely the portion of the community required for a selected request. This helps steadiness efficiency with efficiency.

This tutorial will information you thru creating a whole native AI coding setup that mixes OpenHands agent performance with the GPT-OSS mannequin.

Tutorial: Constructing a Native AI Coding Agent

Stipulations

Earlier than you start, be sure you have the next necessities:

Get the PAT key – To make use of OpenHands utilizing the Clarifai mannequin, you want a private entry token (PAT). Log in or signal as much as your Make clear account, then go to Safety Settings to generate a brand new PAT.

Get the Fashions – The Make clear group gives a wide array of cutting-edge language fashions that may be run utilizing OpenHands. Browse our group and discover one of the best mannequin on your use case. This instance makes use of the GPT-OSS-120B mannequin.

Docker Desktop Set up – OpenHands runs inside a Docker container, so you should set up and run it in your system. You may obtain and set up Docker desktop on your working system from the official Docker web site. Observe the set up steps particular to your OS (Home windows, MacOS, or Linux).

Step 1: Draw the runtime picture

OpenHands offers a sandbox execution atmosphere utilizing devoted Docker photos. This picture might be pulled out from the All Arms-AI Docker registry.

Step 2: Run the open hand

Begin an open hand utilizing the next complete Docker Run command:

This command launches a brand new Docker container that performs all of the required configurations, together with atmosphere variables for logging, Docker engine entry for sandboxes, port mapping for net interface entry on native host: 3000, persistent information storage for ~/.Openhands folder, host communication capabilities, automated cleanup of container excits, and extra.

Step 3: Entry the online interface

After operating the Docker Run command, the terminal is monitored for log output. As soon as the appliance has completed the startup course of, open the really helpful net browser and navigate to: http:// localhost:3000

At this level, OpenHands is put in efficiently, operating in your native machine and prepared for configuration.

Step 4: Configure an open hand with GPT-oss

To configure OpenHands, open the interface and click on on the Settings (gear icon) within the left nook of the sidebar.

The Settings web page permits you to join an open hand to LLM that acts as its cognitive engine and combine with GitHub for model management and collaboration.

Connect with GPT-Oss by way of Clarifai

[設定]On the web page, go to the LLM tab and[詳細な]Toggle the button.

Fill within the following fields for mannequin integration:

Customized Mannequin – Enter the clarifai mannequin URL for gpt-oss-120b. To make sure Openai compatibility, prefix the mannequin path in Openai/, adopted by the complete Clarifai mannequin URL.

Base URL – Enter Openai appropriate API endpoint for clarifai: “https://api.clarifai.com/v2/ext/openai/v1”

API Key – Please enter the Make clear Pad.

As soon as you have crammed within the subject, it is within the decrease proper nook of the interface[変更変更]Click on the button.

Screenshot 2025-08-11, 3.50.24 pm

Though this tutorial focuses on the GPT-OSS-120B mannequin, the Clarifai group has over 100 open supply and third-party fashions, simply accessible by way of the identical Openai appropriate API. Merely exchange the mannequin URL in your customized mannequin subject with different fashions in Clarifai’s catalogue and experiment with quite a lot of AI options and discover one of the best options on your improvement workflow.

Step 5: Combine with Github

In the identical settings web page,[統合]Go to the tab.

Enter the github token within the offered subject and within the decrease proper nook of the interface[変更を保存]Click on to use the combination

Screenshot 2025-08-12 3:17.35pm

Step 6: Begin constructing with AI-equipped improvement

Subsequent, click on the Plus (+) on the prime of the sidebar.[新しい会話]Click on the Begin button. From there, choose the specified repository and its department to hook up with the repository.

After you have chosen it,[起動]Click on the button to begin a coding session with full repository entry.

Screenshot 2025-08-12 at 3.20.38 pm

In the principle interface, immediate the agent utilizing the enter fields to begin producing code. The GPT-OSS-120B mannequin understands your necessities and offers clever contextual help tailor-made to your related repository.

Instance prompts to get began:

Documentation: “Generate a complete readme.md file for this repository that explains the aim of the venture, set up directions, and utilization examples.” Check: “Write detailed unit exams of person authentication capabilities within the Auth.py file, together with edge circumstances and error dealing with eventualities.” Code extension: “Analyze database connection logic and refactor it to make use of connection pooling to enhance efficiency and reliability.”

OpenHands forwards requests to the configured GPT-OSS-120B mannequin. This responds by producing clever code options, descriptions, and implementations that perceive the context of your venture.

Screenshot 2025-08-12 at 5.29.09 pm

Conclusion

I arrange a completely useful AI coding agent that runs completely on the native infrastructure utilizing open hand and the GPT-OSS-120B mannequin.

When you use a mannequin operating domestically, you’ll be able to set it up with a neighborhood runner. For instance, you’ll be able to run the GPT-OSS-20B mannequin domestically, expose it as a public API, and use that URL to drive the coding agent. Try the tutorial to run a GPT-OSS mannequin domestically utilizing a neighborhood runner right here.

When you want extra computing energy, you should utilize computing orchestration to deploy the GPT-Oss mannequin by yourself devoted machine and combine it with code brokers to offer stronger management over efficiency and useful resource allocation.

What Is Managed Cloud? Benefits, Use Cases, and How It Works
AWS launches Kiro powers with Stripe, Figma, and Datadog integrations for AI-assisted coding
Rubio explains how U.S. might ‘run’ Venezuela after Maduros’ ouster
Build AI Agents with RapidAPI for Real-Time Data
NVIDIA Releases Nemotron-Cascade 2: An Open 30B MoE with 3B Active Parameters, Delivering Better Reasoning and Strong Agentic Capabilities
TAGGED:agentCodingGPTOSSLocallyOpenHandsRun
Share This Article
Facebook Email Print
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow US

Find US on Social Medias
FacebookLike
XFollow
YoutubeSubscribe
TelegramFollow

Weekly Newsletter

Subscribe to our newsletter to get our newest articles instantly!

Popular News
Kong raising his fist in the air in monarch legacy of monsters season 2.jpg
Movies

Apple TV Orders New Monsterverse Prequel Series With Wyatt Russell

AllTopicsToday
AllTopicsToday
December 17, 2025
PlayStation Plus Gamers Warned They’ve 24 Hours Left To Grab Underrated RPG
What the Fed Will Want to See in the Data
Spending Money to Save Time Is the Best Use of Funds
Conan O’Brien’s Emmy-Winning TBS Series Lands at Radial Entertainment
- Advertisement -
Ad space (1)

Categories

  • Tech
  • Investing & Finance
  • AI
  • Entertainment
  • Wellness
  • Gaming
  • Movies

About US

We believe in the power of information to empower decisions, fuel curiosity, and spark innovation.
Quick Links
  • Home
  • Blog
  • About Us
  • Contact
Important Links
  • About Us
  • Privacy Policy
  • Terms and Conditions
  • Disclaimer
  • Contact

Subscribe US

Subscribe to our newsletter to get our newest articles instantly!

©AllTopicsToday 2026. All Rights Reserved.
1 2
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?