Step Code – In-Depth Review of StepFun's Open-Source Terminal Programming Agent

Executive Summary:
Step Code is an open-source terminal programming agent launched by StepFun, licensed under the MIT License, which allows developers to complete the full workflow of code writing, debugging, execution,...
1. What is Step Code
Step Code is an open-source terminal programming agent launched by StepFun, licensed under the MIT License, which allows developers to complete the full workflow of code writing, debugging, execution, and delivery directly within the terminal environment. This agent achieved a pass rate of 80.9% and tied for first place in the Terminal Bench 2.1 evaluation, with the lowest Token consumption among the tied competitors. It also ranked first in a custom Multi-Frame long-range benchmark. Step Code comes with built-in StepPage functionality for one-click static site publishing, forming a closed-loop development and delivery process within the terminal, offering command-line developers a high-efficiency, low-cost AI programming solution.

Image source: Official article
Image source: official article
Technical positioning and domain: Step Code belongs to the AI programming agent (Agent Harness) domain, focusing on automated software development in terminal environments. Its core positioning is as a bridge connecting natural language with code execution, achieving autonomous planning, execution, and delivery of complex programming tasks through an agent architecture, providing command-line developers with assistance capabilities that are close to those of human programmers.
Development background: This tool was developed by the StepFun team, leveraging their technical expertise in the Step series of large language models. StepFun has extensive experience in model inference, context management, and tool calling, and Step Code is a terminal application that productizes these capabilities. Its development was driven by the need to improve the efficiency of developers' daily high-frequency, repetitive coding tasks, as well as the engineering challenges of ensuring stable execution of long-chain tasks.
Core value: Step Code addresses key pain points of traditional AI programming tools, such as context loss, Token waste, and task interruption during long-running operations. By optimizing context management mechanisms and tool calling pipelines, it significantly reduces Token consumption for long-range tasks while maintaining a high task completion rate. Its built-in StepPage publishing capability further extends the development loop to the deployment phase, offering a zero-configuration solution for static site delivery.
Technical features: Based on the Agent Harness architecture, Step Code achieves efficient context management and optimized tool calling, supporting four levels of permission control (Ask / Read Only / Bypass / Autopilot), ensuring a balance between security and flexibility. Its multi-platform support (macOS, Linux, WSL, and Windows PowerShell beta) and one-line script installation method greatly reduce the barrier to entry.
2. Key Features
Terminal Programming Agent: Complete the entire code writing, debugging, execution, and delivery process directly within the terminal, without switching development environments. This feature is based on the Agent Harness architecture, which can understand natural language instructions and autonomously plan execution steps, achieving end-to-end automation from requirement description to code implementation.
Efficient Long-Range Task Execution: By optimizing context management and the tool calling pipeline, it reduces redundant information and invalid calls, ensuring stable completion of long-running tasks. This capability is specifically designed for real-world development scenarios involving multi-file and multi-step refactoring, effectively addressing common issues of context drift and task interruption in traditional AI tools during long workflows.
Low Token Consumption: Among agents with acceptable pass rates, it has the lowest token cost, significantly reducing actual usage expenses under equivalent capabilities. According to evaluation data, long-range tasks consume an average of 5.09M tokens, the lowest in its class. This advantage is especially pronounced in large-scale code refactoring and batch task scenarios.
StepPage One-Click Deployment: After completing the local static page build, a single command can publish it as an accessible online website. This feature integrates the deployment phase into the terminal workflow, supporting rapid delivery for scenarios such as personal portfolios, documentation sites, and event pages, thereby achieving a complete development-debugging-delivery cycle.
Multi-Platform Support: Supports macOS, Linux, and WSL environments, with a PowerShell beta version available for Windows. The installation process is completed with a single line of script, significantly reducing environment configuration costs and allowing developers to use it seamlessly within their familiar system environments.
Flexible Permission Management: Offers four permission modes: Ask, Read Only, Bypass, and Autopilot. Users can quickly switch between these modes using Shift+Tab. Dangerous commands are always confirmed separately in any mode, achieving a balance between automation efficiency and operational safety.
Session Recovery and History Management: Supports
step -cto continue the most recent session, andstep -rto browse historical sessions and select one to restore. Within the TUI, the/resumecommand can also be used. This feature ensures seamless resumption after long task interruptions, avoiding redundant work.
3. How to Use
- Environment Requirements: Supports macOS, Linux, and WSL systems. Windows users can use the PowerShell beta version. Basic command-line operation skills are required, and ensure a stable internet connection to complete the installation and model invocation.
| Installation Steps: macOS/Linux/WSL users should run curl -fsSL https://static-openapi.stepfun.com/stepcode/install.sh | bash, while Windows users can use PowerShell to run `irm https://static-openapi.stepfun.com/stepcode/install.ps1 |
Login and Authentication: Run
step loginin the terminal, or enter/loginafter launching the TUI to log in to your Step Plan subscription via browser OAuth. Alternatively, set theSTEP_API_KEYenvironment variable to use an API Key for pay-as-you-go billing, offering flexibility to meet different user needs.Launch and Task Description: After navigating to your project directory with
cd /path/to/your/project, runstepto enter the interactive TUI. In the TUI, directly describe your requirements in natural language, such as analyzing the project structure or modifying code. For script/CI scenarios, usestep -p "task description"to perform non-interactive execution.Project Initialization Guide (Optional): Enter
/initto generate theAGENTS.mdfile, which provides the intelligent agent with context and specifications about the project structure. If you already have aCLAUDE.mdfile, it can be used directly without additional configuration.Permission Management and Security Control: Use
Shift+Tabto switch between four permission modes: Ask, Read Only, Bypass, and Autopilot. Dangerous commands will be confirmed separately in any mode, ensuring safe and controllable operations.Session Recovery and Common Interactions: Use
step -cto continue the most recent session, andstep -rto browse historical sessions and select one to restore. Within the TUI, use@to reference project files,!commandto directly execute a Shell command and pass it to the model for processing,Escto interrupt a task, and/hotkeysto view all available shortcuts.
4. Pros and Cons Analysis
| Pros |
|---|
| Outstanding Evaluation Results: Achieved an 80.9% pass rate on Terminal Bench 2.1, ranking first alongside others, and secured the top position with a 73.3% pass rate on the custom Multi-Frame long-range benchmark, demonstrating its technical capabilities through authoritative testing. |
| Lowest Token Cost: Average token consumption for long-range tasks is 5.09M, the lowest among its peers, significantly reducing usage costs while maintaining comparable performance, making it especially favorable for high-frequency developers. |
| High reliability for long-range tasks: Optimized for real-world development scenarios involving long-chain tasks, offering greater stability in task completion than most leading Agent Harness implementations, suitable for complex refactoring situations. |
| Built-in one-click deployment capability: The StepPage feature allows static sites to be published with a single command after construction, achieving a closed-loop development-debugging-deployment workflow within the terminal, reducing the need to switch tools during deployment. |
| Permissive open-source license: Uses the MIT License, fully open-sourcing the code and supporting both commercial and academic use, lowering the barrier to entry and facilitating community collaboration. |
5. Comparative Analysis with Similar Tools
| Comparison Dimension | Step Code | DeepSeek-TUI | OpenHands |
|---|---|---|---|
| Core Architecture | Agent Harness architecture, technical stack not explicitly emphasized | Rust-based, keyboard-driven ratatui full-screen TUI | General AI software developer, based on event-driven architecture |
| Open Source License | MIT License | MIT License | MIT License |
| Supported Models | Step series models | Deep integration with DeepSeek V4 (v4-pro/v4-flash), 1 million Token context | Supports GPT-4, Claude 3.5, DeepSeek, and more |
| Evaluation Results | Passed 80.9% of Terminal Bench 2.1 tests, tied for first place; first in Multi-Frame long-range benchmark | No officially published benchmark results | SWE-bench pass rate of approximately 53% (GPT-4o-driven) |
| Token Cost | Lowest in the same tier, average 5.09M tokens per task for long-range tasks | Auto mode automatically switches between Flash/Pro based on task complexity, dynamically controlling costs | Depends on the selected model, no specific optimization |
| Interaction Mode | Four permission levels: Ask / Read Only / Bypass / Autopilot | Plan (read-only) / Agent (approval) / YOLO (fully automatic) three modes | Browser interface + CLI dual mode |
| Special Features | Built-in StepPage for one-click static site publishing | LSP diagnostics integration, workspace rollback, sub-agent parallelism (up to 10), real-time cost tracking | Multi-agent collaboration, browser operations, code execution sandbox |
| Extensibility | Open source and community-driven, ecosystem is just starting | Supports MCP protocol extension, HTTP/SSE runtime API | Supports custom tool and skill extensions |
| Installation Method | One-line curl script (macOS/Linux/WSL), Windows via WSL | npm / Cargo / Homebrew / Scoop / Docker / Release binary, natively supports Windows | Docker deployment or pip installation |
Selection Recommendations: For developers prioritizing low Token costs and stability in long-chain tasks, Step Code is the preferred choice due to its leading performance in Terminal Bench 2.1 and minimal Token consumption. Its built-in StepPage publishing capability is especially suitable for developers needing to quickly deliver static sites, enabling a full workflow from coding to deployment within the terminal.
For developers deeply reliant on the DeepSeek model ecosystem and requiring LSP diagnostic integration and sub-agent parallelism, DeepSeek-TUI offers more robust engineering features. Meanwhile, teams needing flexible multi-model switching, browser operations, or multi-agent collaboration will find OpenHands and Aider provide broader model compatibility and extensibility. Selection should be based on a comprehensive evaluation of the team's technical stack, model preferences, and task complexity.
6. Editor's Summary
As the first open-source attempt by Steppable in the field of terminal programming agents, Step Code demonstrates a high level of technical completeness and a clear engineering orientation. It achieved a pass rate of 80.9%, tied for first place in the Terminal Bench 2.1 evaluation, and ranked first with a pass rate of 73.3% in its self-built Multi-Frame long-range benchmark, providing quantifiable validation of its technical capabilities. Particularly noteworthy is that, while maintaining a high pass rate, its token consumption is only 5.09M tokens, which is below the average for long-range tasks. This data shows significant competitiveness among similar tools and directly translates into cost savings for users.
From a practical value perspective, the core advantage of Step Code lies in its specialized optimization for long-chain tasks. In real-world development scenarios, cross-file refactoring, multi-step debugging, and the implementation of complex features often test an agent's context management and tool calling capabilities. Step Code reduces redundant information and ineffective calls, allowing tokens to be more focused on task progression. This design philosophy addresses a key pain point in the current application of AI programming tools. The built-in StepPage one-click publishing feature further expands the tool's value boundaries by integrating the deployment phase into the terminal workflow, forming a complete closed loop from development to debugging to delivery.
In terms of target users, Step Code is particularly suitable for command-line power users, developers dealing with large-scale codebase refactoring, and independent developers and small to medium-sized teams seeking cost-effectiveness. Its MIT License and open-source nature provide the technical community with a foundation for secondary development and customization. In the future, as the community ecosystem gradually matures and the model's compatibility expands, Step Code is expected to occupy a more significant position in the field of terminal programming agents. The technical advantages accumulated by Steppable at the model layer will also support the continuous iteration of the tool.
7. Application Scenarios
Onboarding to Existing Projects: For unfamiliar codebases, developers can directly use natural language to let Step Code analyze the project structure, clarify module logic, and identify key functions, significantly reducing the time cost of reading and understanding unfamiliar code. This scenario is particularly suitable for new team members quickly getting up to speed with a project, or developers taking over legacy code.
Feature Development and Bug Fixes: Describe requirements directly in the terminal (e.g., "Add a CAPTCHA to the login interface," "Fix concurrency issues in the payment callback"), and Step Code automatically completes code writing, debugging, and execution. This scenario is ideal for improving daily development efficiency by delegating repetitive coding tasks to the agent, allowing developers to focus on higher-level architectural design.
Large-Scale Refactoring Tasks: Leverage its long-range task capabilities and low Token usage to perform large-scale refactoring across multiple files and steps, such as module splitting, interface unification, and technology stack migration. Step Code's optimized context management ensures the coherence of each step during refactoring while keeping costs under control, making it suitable for batch processing in medium to large projects.
Automated Scripts and CI Integration: Using the non-interactive mode
step -p "task description", integrate Step Code into CI/CD pipelines or scheduled tasks to achieve script-based automated development. For example, automatically generate code, run tests, or produce documentation within a continuous integration process, enhancing the level of automation in the delivery pipeline.Fast Delivery of Static Websites: After building the page locally, deploy it online with a single command using StepPage. This is ideal for scenarios requiring quick delivery, such as personal homepages, documentation sites, and event pages. This scenario integrates development and deployment within the terminal, eliminating the hassle of configuring servers and domain names, enabling minute-level delivery from code to a live, accessible website.
8. FAQ
Q: Which operating systems does Step Code support?
A: Step Code supports macOS, Linux, and WSL environments. Windows users can use the PowerShell beta version. The installation process is completed with a single-line script: macOS/Linux/WSL runs the curl installation script, while Windows uses the PowerShell installation command.
Q: How does Step Code charge for its usage?
A: Step Code itself is fully open-source and free under the MIT License. To use it, you need to log in to Step Plan subscription via step login, or set the STEP_API_KEY to use the API Key for pay-as-you-go billing. The specific cost depends on the selected subscription plan and Token consumption.
Q: Which large language models does Step Code support?
A: Currently, Step Code is primarily compatible with the Step series of models from JumpMind. The official has not announced any support plans for other third-party models. For optimal performance, users are recommended to use the Step series models.
Q: How does Step Code ensure the safety of its operations?
A: Step Code provides four permission modes: Ask, Read Only, Bypass, and Autopilot. Users can quickly switch between these modes using Shift+Tab. Dangerous commands are confirmed separately in any mode, ensuring the safety of automated operations.
Q: How does Step Code handle long-running tasks?
A: Step Code has been specifically optimized for long-term tasks through context management and optimization of the tool calling pipeline, reducing redundant information and ineffective calls. It also supports session recovery, allowing users to seamlessly resume tasks after an interruption using step -c or /resume.
Q: What is the difference between Step Code and IDE plugins like GitHub Copilot?
A: Step Code is a terminal-native programming agent, focusing on automated development in the command-line environment, while tools like GitHub Copilot are typically integrated into IDEs. Step Code is more suitable for script-based, batch processing, and CI/CD integration scenarios, and supports full permission control and task automation.
9. Project Links
- Step Series Model Official Website: https://www.stepfun.com (Official product page of StepFun, containing introductions to the Step series models and API information)
- GitHub Repository: https://github.com/stepfun-ai/Step-Code (Official open-source repository for Step Code, containing source code, documentation, and Issue tracking)
Related AI Model Articles

Review of DeepSeek Harness Desktop: How the Official GUI Client Lowers the Bar for Agent Usage
DeepSeek Harness Desktop is the official graphical client launched by DeepSeek, designed to provide a visual interface for the originally command-line-based DeepSeek Harness framework. After users log...
In-Depth Review of Claude Opus 5.5: A Revolution in Programming Efficiency and Safety for Anthropic's Flagship Model
Claude Opus 5.5 is the first flagship model in Anthropic's Claude 5.5 series, launched in June 2026. It is positioned as a high-end AI model designed for enterprise-level agent programming, complex kn...
In-Depth Review of GPT-6 Sol: A Cost-Effective Revolution in OpenAI's Mid-to-High-End Large Model
GPT-6 Sol is a mid-to-high-end large model introduced by OpenAI, derived from the GPT-6 Astra base model. It brings Astra's reasoning, programming, factual accuracy, and Agent capabilities down to a m...
Xiaomi MiMo-V2.6 – Xiaomi's Open-Source Multimodal Model Series
Xiaomi MiMo-V2.6 is a series of fully multimodal models released and open-sourced by Xiaomi, comprising two native full-modal models: Pro and Flash. It is centered on large-scale Agentic reinforcement...
© All Rights Reserved. Some content on this site is partially generated by AI with human review.
