Artemis Documentation
Artemis lets you build mobile apps and websites by describing them in natural language. It uses AI to generate code, sets up a live preview, and deploys to your phone — all from a chat interface.
Installation
Install Artemis on your machine with a single command:
curl -fsSL https://artemis-app.live/install.sh | bash
Prerequisites
- Node.js 18+ — nodejs.org
- Git — for collaboration and version control
- An AI API key — Anthropic (Claude) or OpenAI
What the installer does
- Checks your system for prerequisites
- Installs OpenClaw (the AI gateway) if not present
- Sets up the Artemis backend (app scaffolding, server management)
- Configures a gateway with a secure token
- Optionally sets up a Cloudflare tunnel for remote access
- Prints connection details for the Artemis mobile app
Manual Setup
If you prefer to set things up manually:
# Install OpenClaw
npm install -g openclaw
# Configure your AI provider
openclaw config set anthropic.apiKey sk-ant-...
# Start the gateway
openclaw gateway start
# Clone the Artemis backend tools
git clone https://github.com/openclaw/artemis-backend ~/artemis-apps
cd ~/artemis-apps && npm install
Quick Start
- Install the Artemis app on your phone (iOS App Store / Android coming soon)
- Open the app and sign in
- Choose "Personal Hosted" and enter your gateway URL and token
- Tap "New App" and describe what you want to build
- Watch the AI build your app in real-time
- Open the preview link on your phone
Project Files
Artemis uses .artemis.json files to define project configuration. Place this file at the root of any project to make it importable into Artemis.
Schema
{
"name": "My App",
"slug": "my-app",
"type": "expo | website | node",
"version": "1.0.0",
"description": "A brief description",
"deployment": {
"platform": "artemis-cloud | self-hosted",
"url": "https://...",
"env": { "API_KEY": "..." }
},
"git": {
"remote": "https://github.com/user/repo",
"branch": "main",
"autoSync": true
},
"dependencies": {
"cli": ["expo-cli"],
"system": ["node>=18", "git"]
},
"codebase": {
"entry": "App.js",
"srcDir": "src/",
"buildCmd": "npm run build",
"startCmd": "npm start",
"testCmd": "npm test"
},
"artemis": {
"model": "claude-sonnet-4-20250514",
"agentInstructions": "Custom AI instructions...",
"context": ["README.md", "ARCHITECTURE.md"]
}
}
Fields
| Field | Type | Description |
|---|---|---|
name | string | Display name of the project |
slug | string | URL-safe identifier (auto-generated if omitted) |
type | enum | expo, website, or node |
deployment | object | Deployment configuration |
git | object | Git repository settings |
codebase | object | Build/start/test commands |
artemis | object | AI agent configuration |
Self-Hosting Guide
Running Artemis on your own machine gives you full control over your data and infrastructure.
Requirements
- CPU: 2+ cores recommended
- RAM: 4GB minimum (each app uses ~200-400MB)
- Disk: 10GB+ for app storage
- Network: Stable internet for AI API calls and tunneling
Remote Access
To access your Artemis instance from your phone when away from home, set up a tunnel:
# Using Cloudflare Tunnel (recommended)
cloudflared tunnel --url http://localhost:18789
# The tunnel URL is your gateway URL in the app
Collaboration via Git
Self-hosted instances use Git for collaboration. When you share an app, collaborators clone the repo and run it on their own Artemis instance.
Collaboration
Share your apps with others by inviting collaborators. They can view, modify, and run your apps on their own devices.
Cloud-Hosted
Use the built-in invite system — share a link and collaborators get instant access.
Self-Hosted
Push your app to a Git repo and share the repository URL. Collaborators import it via the project import feature.
Architecture
Artemis is a multi-layer system connecting your phone to an AI-powered development environment.
Artemis App
Cloudflare / ngrok
OpenClaw
Claude / GPT
Expo / Vite
Data Flow
- You describe an app in the Artemis mobile app
- The message travels via WebSocket through a tunnel to the OpenClaw gateway
- The gateway routes it to an AI agent (Claude or GPT)
- The agent scaffolds the app, writes code, and starts a dev server
- A tunnel URL is returned for live preview on your phone
Components
| Component | Port | Description |
|---|---|---|
| OpenClaw Gateway | 18789 | WebSocket gateway, AI routing, session management |
| Artemis Manager | 3100 | App lifecycle API (create, start, stop, delete) |
| Expo Dev Servers | 8085-8099 | Live preview servers for mobile apps |
| Vite Dev Servers | 3001-3020 | Live preview servers for websites |
Manager API
The Artemis Manager runs on port 3100 and provides a REST API for app lifecycle management.
Endpoints
/health
Health check. Returns {"status":"ok"}.
/apps
List all apps with status and resource usage.
/apps
Create a new app. Body: {"name":"my-app","type":"expo"}
/apps/:slug
Get status for a specific app.
/apps/:slug/start
Start an app. Returns tunnel URL for preview.
/apps/:slug/stop
Stop a running app and free resources.
/apps/:slug
Delete an app (stops container, removes files).
Configuration
Artemis uses OpenClaw for its gateway configuration. Key settings:
{
"gateway": {
"port": 18789,
"token": "your-secure-token"
},
"anthropic": {
"apiKey": "sk-ant-..."
},
"tools": {
"exec": {
"timeoutSec": 120
}
}
}
tools.exec.timeoutSec to at least 120 seconds. The default of 5 seconds will kill app builds mid-process.
FAQ
What can I build with Artemis?
Mobile apps (via Expo/React Native) and websites (via Vite/React). Anything from simple calculators to complex multi-screen apps with APIs, maps, cameras, and more.
Do I need coding experience?
No. Just describe what you want in plain English. The AI handles all the code.
Can I export my code?
Yes. Every app is a standard Expo or Vite project. You can download, modify, and deploy it anywhere.
How much does the AI cost?
Cloud-hosted: included in your plan. Self-hosted: you pay your AI provider directly (typically $0.01–0.10 per app build).
Can I publish to the App Store?
Yes! Artemis generates standard Expo projects that can be built with EAS Build and submitted to the App Store or Google Play.
Troubleshooting
App build stalls at "Starting Expo..."
Check that tools.exec.timeoutSec is set to 120+ in your OpenClaw config. The default 5s kills long-running processes.
Can't connect from phone
Make sure your tunnel is running (cloudflared tunnel --url http://localhost:18789) and the URL in the app matches.
Metro bundler stuck at 46%
If using Docker, bind mounts can cause I/O issues. Use bare processes instead, or ensure your Docker storage driver supports fast I/O.