Agent-JAE/packages/web-ui/example
JAE 903540fa95
Some checks are pending
CI / build-check-test (push) Waiting to run
feat: add all major features - Venice web UI, CLI tools, web-ui enhancements
CLI (coding-agent):
- web-search.ts: DuckDuckGo web search tool
- web-fetch.ts: Fetch and read web pages
- image-gen.ts: Venice AI image generation
- memory.ts: In-session memory store/recall
- browser.ts: Playwright headless browser tool
- tools/index.ts: Register all new tools
- model-resolver.ts: Venice as default provider

Web UI:
- VeniceModelBrowser.ts: Model picker with category tags
- ProvidersModelsTab.ts: Venice API key + model browser
- ProviderKeyInput.ts: Venice key validation
- ModelSelector.ts: Updated model selector
- SettingsDialog.ts: Settings wired up
- tools/index.ts: Export new tools
- utils/model-discovery.ts: Venice model fetching
- utils/format.ts: Formatting helpers
- example/main.ts: Wire up new tools in example app

jae-ai:
- env-api-keys.ts: VENICE_API_KEY mapping
- types.ts: venice in KnownProvider
- oauth/venice.ts: Venice OAuth/API key provider
- oauth/index.ts: Register Venice provider
2026-03-25 18:32:28 +00:00
..
src feat: add all major features - Venice web UI, CLI tools, web-ui enhancements 2026-03-25 18:32:28 +00:00
.gitignore Initial commit: Agent JAE CLI - AI coding assistant 2026-03-23 09:17:58 +01:00
index.html Initial commit: Agent JAE CLI - AI coding assistant 2026-03-23 09:17:58 +01:00
package.json Initial commit: Agent JAE CLI - AI coding assistant 2026-03-23 09:17:58 +01:00
README.md Initial commit: Agent JAE CLI - AI coding assistant 2026-03-23 09:17:58 +01:00
tsconfig.json Initial commit: Agent JAE CLI - AI coding assistant 2026-03-23 09:17:58 +01:00
vite.config.ts Initial commit: Agent JAE CLI - AI coding assistant 2026-03-23 09:17:58 +01:00

Pi Web UI - Example

This is a minimal example showing how to use @jaeswift/jae-web-ui in a web application.

Setup

npm install

Development

npm run dev

Open http://localhost:5173 in your browser.

What's Included

This example demonstrates:

  • ChatPanel - The main chat interface component
  • System Prompt - Custom configuration for the AI assistant
  • Tools - JavaScript REPL and artifacts tool

Configuration

API Keys

The example uses Direct Mode by default, which means it calls AI provider APIs directly from the browser.

To use the chat:

  1. Click the settings icon (⚙️) in the chat interface
  2. Click "Manage API Keys"
  3. Add your API key for your preferred provider:

API keys are stored in your browser's localStorage and never sent to any server except the AI provider's API.

Project Structure

example/
├── src/
│   ├── main.ts       # Main application entry point
│   └── app.css       # Tailwind CSS configuration
├── index.html        # HTML entry point
├── package.json      # Dependencies
├── vite.config.ts    # Vite configuration
└── tsconfig.json     # TypeScript configuration

Learn More