Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

resolve: merge conflicts from CI deployment fixes

Ramon Perez04353a289c0c
diff --cc website/src/content/docs/local-server/api-server.mdx
index b06347da4,5a8470473..c4ac4c32d
--- a/website/src/content/docs/local-server/api-server.mdx
+++ b/website/src/content/docs/local-server/api-server.mdx
@@@ -4,47 -4,54 +4,47 @@@ description: Run Jan's OpenAI-compatibl
keywords:
[
Jan,
- Customizable Intelligence, LLM,
- local AI,
- privacy focus,
- free and open source,
- private and offline,
- conversational AI,
- no-subscription fee,
- large language models,
- Jan Extensions,
- Extensions,
+ local AI server,
+ OpenAI API,
+ local API,
+ self-hosted AI,
+ offline AI,
+ privacy-focused AI,
+ API integration,
+ local LLM server,
+ llama.cpp,
+ CORS,
+ API key
]
---
+import { Aside, Steps } from '@astrojs/starlight/components';
-import { Aside } from '@astrojs/starlight/components';
-import { Steps } from '@astrojs/starlight/components';
-import { Tabs, TabItem } from '@astrojs/starlight/components';
+Jan provides a built-in, OpenAI-compatible API server that runs entirely on your computer,
+powered by `llama.cpp`. Use it as a drop-in replacement for cloud APIs to build private,
+offline-capable AI applications.
+![Jan's Local API Server Settings UI](../../../assets/api-server-ui.png)
-Configure and start Jan's built-in API server.
+## Quick Start
-## Prerequisites
+### 1. Start the Server
-- Jan installed and running
-- At least one AI model downloaded or configured (see [Model Management](/docs/manage-models))
+1. Navigate to **Settings** > **Local API Server**.
+2. Enter a custom **API Key** (e.g., `secret-key-123`). This is required for all requests.
+3. Click **Start Server**.
-For an overview of Jan Local Server, see the [Local Server introduction](./index).
+The server is ready when the logs show `JAN API listening at http://12.0.0.1:1337`.
-<br/>
-![Local API Server](../../../assets/api-server.png)
-<br/>
+### 2. Load a model with cURL
-## Start Server
-
-1. Navigate to **Local API Server**
-2. Add an API Key (can be anything)
-3. Configure settings (see [Server Configuration](#server-configuration) below)
-4. Click **Start Server**
-5. Wait for confirmation: `JAN API listening at: http://127.0.0.1:1337`
-
-![Local API Server](../../../assets/api-server2.png)
-
-## Test Server
-
-1. Click **API Playground**
-2. Select a model
-3. Send a test request
+```sh
+curl http://127.0.0.1:1337/v1/models/start -H "Content-Type: application/json" \
- -H "Authorization: Bearer hey" \
++ -H "Authorization: Bearer secret-key-123" \
+ -d '{"model": "gemma3:12b"}'
+```
-## API Usage
+### 3. Test with cURL
+Open a terminal and make a request. Replace `YOUR_MODEL_ID` with the ID of an available model in Jan.
```bash
curl http://127.0.0.1:1337/v1/chat/completions \
diff --cc website/src/content/products/tools/browseruse.mdx
index da9a0fcf1,824639ae3..0363df1b9
--- a/website/src/content/products/tools/browseruse.mdx
+++ b/website/src/content/products/tools/browseruse.mdx
@@@ -3,12 -3,9 +3,7 @@@ title: BrowserUs
description: Native browser automation for Jan, enabling AI to interact with the web on your behalf.
sidebar:
order: 3
-banner:
- content: 'In Development: This tool is planned and not yet available.'
---
- import { Aside } from '@astrojs/starlight/components';
-
- <Aside type="caution" title="In Development">
- This tool is planned and not yet available.
- </Aside>
## Let Jan Use Your Browser
@@@ -16,11 -13,22 +11,22 @@@
Think of it as an integrated, privacy-first automation layer that turns Jan from a conversational AI into a powerful agent for action.
+ :::note
+ **This tool is not yet available.** We are designing `BrowserUse` to be a core component of Jan's agentic capabilities.
+ :::
+
+ ### Inspired by the Best
+
+ While tools like [Browser Use](https://docs.browser-use.com/introduction) exist for developers, Jan's `BrowserUse` will be a built-in, user-friendly feature. No complex setup required—just grant permission and let Jan handle the rest.
+
### Built on MCP
- The tool will be implemented as a native **Model Context Protocol (MCP)** server within Jan, ensuring secure and standardized communication between the AI model and the browser.
+
+ The tool will be implemented as a native **Model Context Protocol (MCP)** server within Jan, ensuring secure and standardized communication between the AI model and the browser. This allows for powerful, auditable, and secure web interactions.
### Planned Core Features:
- - **Secure Sessions** in an isolated, sandboxed environment.
- - **Natural Language Control** (e.g., 'Book a flight...')
- - **Visual Understanding** to interpret page content.
- - **User in the Loop** for critical actions.
+ - **Secure Sessions**: All browsing activity happens in an isolated, sandboxed environment.
+ - **Natural Language Control**: Simply tell Jan what you want to do (e.g., "Book a flight," "Research this topic and summarize the top 5 findings," "Apply for this job for me").
+ - **Visual Understanding**: Jan will be able to see and interpret the content on pages, not just the underlying code.
+ - **User in the Loop**: Always ask for permission before taking critical actions like submitting forms or making purchases.
+
----
++---