Skip to content
Esc
↑↓navigate↵open⌘Jpreview
Start
On this page

Welcome to Autohand

Start with Autohand Code in the browser, terminal, editor, or on mobile. Choose an outcome, compare plans, and run a safe first coding task.

Autohand Code is an AI coding workspace for the browser, terminal, editor, and phone. Start in the browser with no local installation, or choose the surface that fits how you work.

Work in a desktop application

Autohand Code Desktop is available for macOS, Windows, and Linux. Open a local project, choose a coding agent, inspect its diffs, and run your checks in the same workspace. Install the app or follow the first-task walkthrough.

Choose how you want to start

Start with the outcome, then use Web, CLI, editor, mobile, or the SDK to reach it.

Delegate work in the tools you already use

Start with a repository task, steer the agent, and inspect the result before accepting any change.

Choose a surface

Web, terminal, editor, or mobile.

Open a repository

Open the repository you want Autohand to understand.

Describe the outcome

Describe what you want and review each proposed change.

Start in Autohand Dev: choose a repository and start from any modern browser. Start in your browser · Read the Autohand Dev guide · Compare every surface

Embed the coding agent in your own system

Create an API key, choose a host language, and stream prompts, events, approvals, and results from your application.

Create your API key

Generate a one-time key in the Autohand Console, then set it in the server environment.

export AUTOHAND_API_KEY="your-api-key"

Install the SDK for your host language

npm i @autohandai/agent-sdk
pip install autohand-sdk
go get github.com/autohandai/agent-sdk-go
ai.autohand:agent-sdk-java:1.0.0-SNAPSHOT
Add AgentSDK to Package.swift
cargo add autohand-sdk --git https://github.com/autohandai/code-agent-sdk-rust
bundle add autohand_sdk --github autohandai/code-agent-sdk-ruby
dotnet add package Autohand.CodeAgentSdk
FetchContent: autohandai/code-agent-sdk-cpp

Start a runtime and send the first prompt

import { AutohandSDK } from "@autohandai/agent-sdk";

const apiKey = process.env.AUTOHAND_API_KEY;
if (!apiKey) throw new Error("AUTOHAND_API_KEY is required");

const sdk = new AutohandSDK({ cwd: ".", apiKey, model: "fantail" });
await sdk.start();
await sdk.prompt({ message: "Review the current diff." });
import os
from autohand_sdk import AutohandSDK

async with AutohandSDK(
    cwd=".",
    api_key=os.environ["AUTOHAND_API_KEY"],
    model="fantail",
) as sdk:
    await sdk.prompt("Review the current diff.")
sdk := autohand.NewSDK(&autohand.Config{
    CWD: ".",
    APIKey: os.Getenv("AUTOHAND_API_KEY"),
    Model: "fantail",
})
sdk.Start(ctx)
sdk.StreamPrompt(ctx, &autohand.PromptParams{Message: "Review the current diff."})
if (System.getenv("AUTOHAND_API_KEY") == null) {
    throw new IllegalStateException("AUTOHAND_API_KEY is required");
}

AutohandSDK sdk = new AutohandSDK();
sdk.start();
sdk.setModel("fantail");
sdk.streamPrompt(
    new PromptParams("Review the current diff."),
    event -> System.out.println(event)
);
let apiKey = ProcessInfo.processInfo.environment["AUTOHAND_API_KEY"]!
let provider = OpenAIProvider(
    apiKey: apiKey,
    baseURL: URL(string: "https://api.autohand.ai/v1")!
)

let agent = Agent(
    name: "Reviewer",
    instructions: "Review the current diff.",
    model: ModelID("fantail"),
    provider: provider
)
let result = try await Runner.run(
    agent: agent,
    prompt: "Find risky changes."
)
std::env::var("AUTOHAND_API_KEY")
    .expect("AUTOHAND_API_KEY is required");

let config = Config::from_env()
    .with_cwd(".")
    .with_model("fantail");

let mut sdk = AutohandSdk::new(config);
sdk.start().await?;
sdk.prompt("Review the current diff.").await?;
require "autohand_sdk"

AutohandSDK.configure do |config|
  config.env_vars = {
    "AUTOHAND_API_KEY" => ENV.fetch("AUTOHAND_API_KEY")
  }
end

AutohandSDK::Client.open(cwd: ".", model: "fantail") do |sdk|
  puts sdk.prompt("Review the current diff.")
end
_ = Environment.GetEnvironmentVariable("AUTOHAND_API_KEY")
    ?? throw new InvalidOperationException("AUTOHAND_API_KEY is required");

var options = new AutohandOptions
{
    WorkingDirectory = ".",
    Model = "fantail",
};

await using var sdk = new AutohandSdk(options);
await sdk.StartAsync();
await sdk.PromptAsync("Review the current diff.");
if (std::getenv("AUTOHAND_API_KEY") == nullptr) {
    throw std::runtime_error("AUTOHAND_API_KEY is required");
}

auto config = autohand::Config::from_environment()
    .with_cwd(".")
    .with_model("fantail");

autohand::AutohandSdk sdk(config);
sdk.start();
sdk.prompt("Review the current diff.");

Fantail is the fast default for focused edits, review, and short coding loops. Use Moa for deeper context across architecture, migrations, and repository-wide work. Compare Autohand models · Open the SDK quickstart

Add trusted capabilities for your team

Package reusable tools, skills, agents, or reviewed runtime behavior without mixing every capability into one extension model.

Choose the smallest layer

Choose the smallest extension layer that fits.

Define scope

Define its scope, permissions, and lifecycle.

Validate locally

Validate locally before distributing it to a team.

Choose an extension model

Explore the docs

Move from concepts to repeatable practice, or jump directly to the details you need.

Learn with Autohand Code Academy

Autohand Code Academy has 17 free, self-paced courses on Autohand Code. Each one ends with a quiz and a certificate. Sign in with your Autohand account and choose Start course.

Browse all courses

Know the platform

The goal picker above chooses your starting path. This map shows how the broader Autohand product family fits together.

Product What it does
Autohand Code The coding agent for terminal, editor, headless, and automated repository work.
Code Agent SDK Typed libraries for embedding Autohand agents in tools, services, and workflows.
Slack A conversational surface for working with Autohand agents from team channels.

Last updated on

Was this helpful?

Send Feedback

Help us improve this documentation page. Your feedback is valuable.

We'll only contact you if we need clarification