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.
Start in your browser
The easiest first experience: choose a repository and start from any modern browser. No local installation or provider key is required.
Choose a surface
Compare Web, CLI, editor, mobile, and SDK, then pick the one 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
Open a repository
Describe the outcome
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-sdkpip install autohand-sdkgo get github.com/autohandai/agent-sdk-goai.autohand:agent-sdk-java:1.0.0-SNAPSHOTAdd AgentSDK to Package.swiftcargo add autohand-sdk --git https://github.com/autohandai/code-agent-sdk-rustbundle add autohand_sdk --github autohandai/code-agent-sdk-rubydotnet add package Autohand.CodeAgentSdkFetchContent: autohandai/code-agent-sdk-cppStart 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
Define scope
Validate locally
Explore the docs
Move from concepts to repeatable practice, or jump directly to the details you need.
Guides
Understand models, workflows, integrations, security, and operating patterns.
Tutorials
Follow complete builds for coding, automation, modernization, and agent teams.
Integrations
Connect work surfaces, agent protocols, cloud providers, and local model runtimes.
CLI reference
Find every command, option, mode, and configuration surface in one place.
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.
Autohand Code 101
Install the CLI, complete a real task, and learn to instruct, supervise and review an agent. 11 lessons.
Start the free course
Autohand Desktop 101
Install the preview, take a task from prompt to commit, and run agents in parallel worktrees. 13 lessons.
Start the free course
Autohand Dev 101
Point the agent at a repository, write tasks that can be checked, and review what comes back. 7 lessons.
Start the free course
AI fluency foundations
A plain-language introduction to language models, agents and the habits that keep work accurate. 9 lessons.
Start the free course
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. |