open source Built for your workflow →

Coding,
in your
hands.

An open source coding agent for your terminal. Bring your model and tools. Explore a codebase, make changes, and follow the work — on your machine or in a remote workspace.

uv tool install stcode
Installs stcode on your PATH in its own environment.
Illustrative TUI session
From question to change

Stay close to the work.

Ask in plain language. See which files the agent reads, review its actions, and steer it as your task takes shape.

Understand a codebase

Find the right files, trace a request, or ask how a feature works. Mention a path with @ to focus the conversation.

Make a scoped change

Describe a fix or feature. Review proposed edits and commands, then ask the agent to run the checks your project needs.

Pick up where you left off

Resume a conversation, send a correction while work is running, or reconnect to a remote workspace.

Four bets

Tools, collaboration, and visibility.

Four ideas shaping stcode, with practical ways to put them to work.

01

MCP tools, ready when needed

Connect the services your project uses. stcode can discover and call MCP tools through Python, so the agent can combine results and bring the relevant context into the task.

Connect your tools →
02

A second look when work gets stuck

An optional supervisor looks for repeated attempts and helps the agent reconsider its approach. Keep following the conversation and steer the work whenever you need to.

Configure stcode →
03

Agent-to-agent, across protocols

Give agents roles and let them coordinate handoffs. Shared-workspace messaging is available today; broader agent-to-agent protocol support is planned.

Explore agent collaboration →
04

Traceable with Langfuse or Phoenix

Follow agent turns, model calls, tool activity, and token usage in your tracing dashboard. Choose whether to include conversation content, and use the history to understand a run.

Set up tracing →
Your workspace, your choice

Start in the terminal. Take it further.

Use your own provider credentials with OpenAI, Anthropic, or Google. Add skills for repeatable workflows and choose how you want to work.

stcode

Work locally

Open a project and start a conversation. Choose your model and approval mode from the terminal.

Start a session →

stcode --daemonless

Connect remotely

Keep the workspace on another machine or in a container, and follow its work from your terminal.

Connect a workspace →

from stcode.core.agent import Agent

Build with Python

Run tasks from your application, stream responses, and add tools for your own workflows.

Use the Python SDK →

Good to know

A few things before you start.

What do I need?

Python 3.10 or newer, a terminal, and API credentials for a supported model provider. The installation guide covers uv, pip, and running from source.

Can I choose what the agent is allowed to do?

Yes. Start with the default suggest mode to review edits and command execution, or use plan mode to explore before changing files. Choose an approval mode →

Where does my data go?

The agent works in the local or remote workspace you choose. Your configured model provider receives the context needed for the task. Connected tools may send data to their services. Tracing is optional, and recording conversation content is off by default. Review tracing options →

What does it cost?

stcode is open source under Apache-2.0. Model providers and connected services may charge for usage under your accounts. Use /token to review model usage in a session.

Can I return to a task later?

Yes. Use /sessions to reopen a saved conversation. The background service can keep working when you leave the terminal, while actions needing approval require a connected client. Learn about sessions →

Get started

Install it. Type.

Connect a model, open a project, and ask your first question.

uv tool install stcode
Installs stcode on your PATH in its own environment.