tingly-box

module
v1.261022.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MPL-2.0

README

Tingly Box Web UI Demo

Tingly Box

Quick Start • Features • Integration • Documentation • Issues

Go Version License Platform

Tingly Box connects any agent to any model — for you and your whole team, with built-in power-ups.

Key Features

  • Any Agent ⇄ Any Model
    • Unified endpoint for AI — bridge any providers, with protocols translated both ways
    • One-click config for Agents — Claude Code, OpenCode, Codex, Xcode, and more
    • Profiles for Claude Code — switch models for different scenarios
    • Both API keys and OAuth — use your existing quotas anywhere
    • Smart Routing — route across models and tokens by cost, speed, or custom policies
  • Team AI Management
    • Shared team endpoint with centrally managed model rules
    • Dedicated keys per member, with data isolated per user
    • Per-member usage tracking
  • Power-ups
    • Guardrails, MCP Gateway, and Usage Analytics
    • Image API — image generation and editing through the same gateway, with a built-in playground
    • Remote Control — drive agents via Telegram, Weixin, WeCom, Feishu, Lark, and DingTalk
  • Production-Ready
    • VModel (Virtual Model) — for testing, validation, and benchmarking
    • Harness-driven for robustness across protocols, routing, and clients
    • UX-first visual management of providers, models, team, and remote bots
    • Blazing fast — typically adds < 1ms of overhead

Preview

Tingly Box Web UI Demo

Quick Start

English | 中文 | Fault Record

Install

Install globally with npm (recommended)
npm install -g tingly-box@latest   # --registry=<mirror> works here too

tb start   # tb = tingly-box; runs in the background (--no-daemon for foreground)
tb open    # open the web UI

# update: reinstall, then restart to apply
npm install -g tingly-box@latest
tb restart

if any trouble, please check tingly-box output, or call for an issue to help.

Run with npx
# One command: fetch, restart the server in the background, migrate and open the web UI
# (a golang binary release; npx wraps the cli for convenience)
npx tingly-box@latest

# or -y for convenience
npx -y tingly-box@latest

# the binary for your platform comes from npm too (no GitHub download),
# so an npm mirror is all you need for CN (one of below)
npx --registry=https://registry.npmmirror.com -y tingly-box@latest
npx --registry=https://mirrors.huaweicloud.com/repository/npm/ -y tingly-box@latest
npx --registry=http://mirrors.tencent.com/npm/ -y tingly-box@latest
Install Node & NPX
# MacOS & Linux
## Install Node.js LTS via nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash

## Restart terminal or load nvm
source ~/.nvm/nvm.sh

## Install Node.js LTS
nvm install --lts

## Verify installation
node -v
npx -v
# Windows
## Powershell with Winget
winget install OpenJS.NodeJS.LTS

## Restart terminal, then verify installation
node -v
npx -v

## Or download and install Node.js LTS manually:
https://nodejs.org/en/download
From Docker (GitHub Host)
mkdir tingly-data
docker run -d \
  --name tingly-box \
  -p 12580:12580 \
  -v `pwd`/tingly-data:/home/tingly/.tingly-box \
  ghcr.io/tingly-dev/tingly-box

For Docker Compose (recommended for isolated env), building your own image, or troubleshooting — see the Docker Guide.

Integration Guide

Agent Integration - Claude Code / Claude Desktop / OpenCode / Codex / Xcode / VSCode / OpenClaw
  • Claude Code (support 1-click config)
  • OpenCode (support 1-click config)
  • Xcode (require manual config)
  • ……

Any application is ready to use.

We've provided detailed config guide in application

Agent Integration Demo

Team - Shared Model Deployment

Give your whole team one endpoint backed by centrally managed model rules. Each member gets a dedicated Team Key, and usage is tracked per user.

  1. Open Web UI like http://localhost:12580
  2. Navigate to Team, configure the model rules, then hand out keys via Team Keys
  3. Track per-user consumption under Dashboard → Team usage

Team Demo

Team Usage Demo

Image API

Route image generation and editing through the same gateway. Point any OpenAI-compatible image client at http://localhost:12580/tingly/imagegen and pick the upstream image models with rules, like any other scenario. Try prompts right away in Image → Playground.

Image Playground Demo

Image API Demo

DeepSeek Best Compatibility

DeepSeek is optimized for mainstream agent workflows, offering broad compatibility across protocol adapters, agent clients, extended context, vision, web search, and cache optimization.

Module Status What It Solves
Model List ✅ Supported Keeps the official model list up to date in real time
Protocol Adaptation ✅ Supported Supports official Anthropic/OpenAI APIs with bidirectional conversion
Reasoning Capability ✅ Supported Provides compatibility with Thinking workflows
Cache Hit Optimization ✅ Supported Improves cache hit rates for DeepSeek requests
Vision Proxy ✅ Supported Enables DeepSeek to understand and process images
Web Search ✅ Supported Calls official Web tools through the Anthropic endpoint
1M Context Window ✅ Supported Enables one-click setup for 1M context
Codex Adaptation ✅ Supported Ensures compatibility with mainstream agent workflows
Claude Code / Desktop Adaptation ✅ Supported Ensures compatibility with mainstream agent workflows

Supports one-click configuration where available. For applications that require manual setup, detailed in-app configuration guides are provided.

Any compatible application is ready to use.

Detailed configuration guides are available inside each application.

Remote Control Agent via IM Bots - TG / DingTalk / Feishu / Lark / Weixin / WeCom

Tingly Box now supports remote control through popular IM platforms. Interact with your AI agents remotely without direct server access.

Supported Platforms

  • ✅ Telegram
  • ✅ DingTalk
  • ✅ Feishu
  • ✅ Lark
  • ✅ Weixin
  • ✅ WeCom

Quick Setup

  1. Open Web UI like http://localhost:12580
  2. Navigate to Remote section
  3. Configure your preferred IM platform bot
  4. Start interacting with your agents remotely

Use Cases

  • Execute tasks and queries from your phone or any device
  • Team collaboration with shared agent access
  • Monitor and control agents while away from your workstation

Remote Control Demo

OpenAI SDK
from openai import OpenAI

client = OpenAI(
    api_key="your-tingly-model-token",
    base_url="http://localhost:12580/tingly/openai/v1"
)

response = client.chat.completions.create(
    model="tingly-gpt",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response)
Anthropic SDK
from anthropic import Anthropic

client = Anthropic(
    api_key="your-tingly-model-token",
    base_url="http://localhost:12580/tingly/anthropic"
)

response = client.messages.create(
    model="tingly",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response)

Tingly Box proxies requests transparently for SDKs and CLI tools.

Using OAuth Providers

You can also add OAuth providers (like Claude Code) and use your existing quota in any OpenAI-compatible tool:

# 1. Add Claude Code via OAuth in Web UI (http://localhost:12580)
# 2. Configure your tool with Tingly Box endpoint

Requests route through your OAuth-authorized provider, using your existing Claude Code quota instead of requiring a separate API key.

This works with any tool that supports OpenAI-compatible endpoints: Cherry Studio, VS Code extensions, or custom AI agents.

OAuth Provider Demo

Self-Hosted Model Servers - vLLM / SGLang / Ollama / LM Studio / LocalAI / Jan

Already running your own inference server? Tingly Box connects to it like any other provider and exposes it through the same unified gateway.

Supported out of the box

  • vLLM
  • SGLang
  • Ollama
  • LM Studio
  • LocalAI
  • Jan

Anything else that speaks an OpenAI/Anthropic-compatible API still works via Custom endpoint.

Quick Setup

  1. Open Web UI like http://localhost:12580
  2. Click Connect AI → pick your engine from the Self-hosted section (default URL and key are pre-filled)
  3. Test Connection, then save — it's now usable like any other provider
Web Management UI

Launch the web management interface:

npx tingly-box@latest

Then open http://localhost:12580 in your browser.

Dashboard

Documentation

User Manual – Installation, configuration, and operational guide

Docker Guide – Building, running, and troubleshooting the Docker images

Guardrails – Policy-based safety checks, built-in protections, and protected credential masking

MCP Web Tools – Local stdio MCP server for web_search / web_fetch

Contributing

By contributing to this repository, you agree that your contributions may be included in this project under the MPL-2.0 and may also be used by Tingly Inc. under separate commercial licensing terms.

See CONTRIBUTING.md and NOTICE for details.


We welcome contributions! Check the steps below to build from source code.

Contributing Guide — Build & Dev

Prerequisites

Tool Version Install
Go 1.26+ https://go.dev/doc/install
Node.js 20+ https://nodejs.org/
pnpm latest npm install -g pnpm
task latest go install github.com/go-task/task/v3/cmd/task@latest or https://taskfile.dev/installation/

Tip: you can also copy individual shell commands out of Taskfile.yml and run them directly if you prefer not to install task.

1. Clone and init submodules

git clone https://github.com/tingly-dev/tingly-box.git
cd tingly-box
git submodule update --init --recursive

2. Frontend development

The frontend is a React + Vite app located in frontend/. You can work on it independently of the Go backend.

Login token: the frontend requires an auth token to log in. When the backend starts it prints the full login URL (e.g. Web UI: http://localhost:12580/login/<token>). If you need to retrieve it later, run:

tingly-box token view auth --reveal

Mock mode – no running backend required, uses built-in fixture data:

task web:mock
# or directly:
cd frontend && pnpm install && pnpm dev:mock

Open http://localhost:9245 in your browser. Use the token obtained above to log in.

Dev mode – proxies API calls to a local backend (start the backend first, see step 3):

task web
# or directly:
cd frontend && pnpm install && pnpm dev

3. Backend development

Run the Go server (hot-reload via go run):

task start
# or directly:
go run ./cli/tingly-box --verbose start --debug --port 12580 --browser=false

Open http://localhost:12580 in your browser (serves the last built frontend bundle).

4. Full build (frontend + backend binary)

Builds the frontend, embeds it into the binary, then compiles Go:

task build

The output binary is written to ./build/tingly-box.

5. GUI binary (Wails) (optional)

The GUI build is not yet publicly released. Skip this step unless you are specifically working on the desktop app.

task wails:build

Other useful commands

task swagger        # Regenerate openapi.json from Go source
task codegen        # Regenerate frontend API client from openapi.json
task go:test        # Run Go unit tests

Support

Telegram Wechat
image image
https://t.me/+V1sqeajw1pYwMzU1 tingly-box

Early Contributors

Special badges are minted to recognize the contributions from following contributors:


image image image image image

Contributors

Contributors

License

This project is available under:

For commercial licensing inquiries, contact box@tingly.dev.


❤️ Support Tingly Box

If Tingly Box has been useful to you, consider supporting its development.

Donations are optional. A ⭐ on GitHub or a contribution is just as appreciated.

WeChat Pay Alipay
WeChat Pay Alipay

Directories

Path Synopsis
afk module
agentboot module
agentskills module
ai module
cli
harness command
Package main provides the CLI harness for protocol validation testing.
Package main provides the CLI harness for protocol validation testing.
tingly-box command
gui
wails3 module
imbot module
advisortest
Package advisortest provides shared helpers for building advisor MCP source configurations in tests.
Package advisortest provides shared helpers for building advisor MCP source configurations in tests.
app
catalog
claude_model_catalog.go is the per-vendor model capability catalog: what each model can do, declared once per model family, independent of which provider serves it.
claude_model_catalog.go is the per-vendor model capability catalog: what each model can do, declared once per model family, independent of which provider serves it.
command/tui
Package tui provides interactive terminal prompts for the tingly-box CLI.
Package tui provides interactive terminal prompts for the tingly-box CLI.
db
middleware
Package middleware provides the Gin middleware used by the tingly-box server: HTTP access logging, CORS, authentication, response compression, per-route rate limiting, and IO-deadline management for streaming routes.
Package middleware provides the Gin middleware used by the tingly-box server: HTTP access logging, CORS, authentication, response compression, per-route rate limiting, and IO-deadline management for streaming routes.
obs
Package obs provides a unified observability layer for Go applications, integrating structured logging, metrics, and distributed tracing via OpenTelemetry.
Package obs provides a unified observability layer for Go applications, integrating structured logging, metrics, and distributed tracing via OpenTelemetry.
otel
Package otel wires OpenTelemetry metrics and traces for LLM requests.
Package otel wires OpenTelemetry metrics and traces for LLM requests.
otel/exporter
Package exporter provides the OTLP exporters used by pkg/otel.
Package exporter provides the OTLP exporters used by pkg/otel.
otel/tracker
Package tracker records LLM token usage and request duration as OpenTelemetry metrics following the GenAI semantic conventions (https://github.com/open-telemetry/semantic-conventions-genai):
Package tracker records LLM token usage and request duration as OpenTelemetry metrics following the GenAI semantic conventions (https://github.com/open-telemetry/semantic-conventions-genai):
probe
Package probe contains the decoupled, server-independent half of the probe subsystem: request types, result/data types, in-memory cache, the E2E and Lightweight strategies, and pure helpers.
Package probe contains the decoupled, server-independent half of the probe subsystem: request types, result/data types, in-memory cache, the E2E and Lightweight strategies, and pure helpers.
protocol
Package protocol provides backward compatibility aliases to the public protocol package.
Package protocol provides backward compatibility aliases to the public protocol package.
protocol/assembler/streamemit
Package streamemit provides a decoupled emission layer on top of the Anthropic stream assemblers in internal/protocol/assembler.
Package streamemit provides a decoupled emission layer on top of the Anthropic stream assemblers in internal/protocol/assembler.
protocol/ids
Package ids mints the identifiers tingly-box puts on protocol objects it synthesizes on behalf of an upstream that speaks a different protocol: Responses API response and output item ids, Anthropic message ids, and a tool call id when the upstream omitted one.
Package ids mints the identifiers tingly-box puts on protocol objects it synthesizes on behalf of an upstream that speaks a different protocol: Responses API response and output item ids, Anthropic message ids, and a tool call id when the upstream omitted one.
protocol/metaid
Package metaid parses and builds the identifier Anthropic clients put in metadata.user_id.
Package metaid parses and builds the identifier Anthropic clients put in metadata.user_id.
protocol/stage
Package stage defines transport-independent protocol endpoints, ordered same-protocol stages, and the bidirectional bridges between protocols.
Package stage defines transport-independent protocol endpoints, ordered same-protocol stages, and the bidirectional bridges between protocols.
protocol/stage/anthropicbridge
Package anthropicbridge adapts Anthropic Beta calls to OpenAI Chat and OpenAI Responses while keeping the outward response in Anthropic Beta.
Package anthropicbridge adapts Anthropic Beta calls to OpenAI Chat and OpenAI Responses while keeping the outward response in Anthropic Beta.
protocol/stage/openaibridge
Package openaibridge adapts OpenAI calls to a target provider protocol while keeping the outward response in the exact OpenAI source protocol.
Package openaibridge adapts OpenAI calls to a target provider protocol while keeping the outward response in the exact OpenAI source protocol.
protocol/stage/responsesbridge
Package responsesbridge adapts OpenAI Responses calls to provider protocols while keeping the outward response in the Responses source protocol.
Package responsesbridge adapts OpenAI Responses calls to provider protocols while keeping the outward response in the Responses source protocol.
protocol/stage/sdkstream
Package sdkstream presents a Protocol Stage EventStream as the SDK stream types the existing client writers consume, so the client-facing output of a Stage pipeline goes through exactly the code that writes it today.
Package sdkstream presents a Protocol Stage EventStream as the SDK stream types the existing client writers consume, so the client-facing output of a Stage pipeline goes through exactly the code that writes it today.
protocol/stage/toolround
Package toolround is the Tool Round Stage: the single decision point for every tool call a model makes, on the Anthropic Beta protocol.
Package toolround is the Tool Round Stage: the single decision point for every tool call a model makes, on the Anthropic Beta protocol.
protocol/stage/upstream
Package upstream provides the terminal Protocol Stage endpoints: one per chain protocol, each forwarding a native request to the selected provider through the existing internal/forwarding functions.
Package upstream provides the terminal Protocol Stage endpoints: one per chain protocol, each forwarding a native request to the selected provider through the existing internal/forwarding functions.
protocol/stream
Package stream — prime.go
Package stream — prime.go
protocol/thinking
Package thinking holds the canonical thinking-effort ladder shared across the gateway.
Package thinking holds the canonical thinking-effort ladder shared across the gateway.
protocol/usage
Package usage centralizes token extraction and normalization logic for all supported provider protocols.
Package usage centralizes token extraction and normalization logic for all supported provider protocols.
protocolserver
Package aimodel hosts the AI Model API surface split out of internal/server: the LLM gateway routes (/tingly/:scenario/...) covering OpenAI/Anthropic compatible chat/completions/responses/messages/embeddings/images, MCP tool handling during model requests, protocol dispatch/transform/passthrough, failover/load-balance dispatch, guardrails runtime evaluation, and usage/token tracking.
Package aimodel hosts the AI Model API surface split out of internal/server: the LLM gateway routes (/tingly/:scenario/...) covering OpenAI/Anthropic compatible chat/completions/responses/messages/embeddings/images, MCP tool handling during model requests, protocol dispatch/transform/passthrough, failover/load-balance dispatch, guardrails runtime evaluation, and usage/token tracking.
protocoltest
Package protocoltest provides a framework for end-to-end validation of the model gateway's protocol transformation layer.
Package protocoltest provides a framework for end-to-end validation of the model gateway's protocol transformation layer.
recording/recordingtest
Package recordingtest provides shared test helpers for exercising internal/recording's AttachRecorderHooks/ProtocolRecorder wiring through the production *protocolserver.ProtocolHandler entry points.
Package recordingtest provides shared test helpers for exercising internal/recording's AttachRecorderHooks/ProtocolRecorder wiring through the production *protocolserver.ProtocolHandler entry points.
server/module
Package module defines the contract every HTTP module under internal/server/module implements, so the host server mounts all of them the same way instead of through per-module RegisterRoutes signatures.
Package module defines the contract every HTTP module under internal/server/module implements, so the host server mounts all of them the same way instead of through per-module RegisterRoutes signatures.
server/module/apierr
Package apierr provides the shared JSON error-response writers for module HTTP handlers, so packages that must avoid importing internal/server can depend on error-response formatting without reintroducing that cycle.
Package apierr provides the shared JSON error-response writers for module HTTP handlers, so packages that must avoid importing internal/server can depend on error-response formatting without reintroducing that cycle.
server/module/bind
Package bind holds the request-binding helper shared by module handlers.
Package bind holds the request-binding helper shared by module handlers.
server/module/debug
Package debug exposes runtime memory diagnostics for a running instance: a memstats snapshot and a pprof heap profile.
Package debug exposes runtime memory diagnostics for a running instance: a memstats snapshot and a pprof heap profile.
server/module/imagegen
Package imagegen exposes control-plane HTTP endpoints for the image generation scenario — separate from the OpenAI-compatible gateway routes under /tingly/imagegen, which only ever see requests/responses, never the local filesystem.
Package imagegen exposes control-plane HTTP endpoints for the image generation scenario — separate from the OpenAI-compatible gateway routes under /tingly/imagegen, which only ever see requests/responses, never the local filesystem.
server/module/imbot
wechat_qr.go implements the Weixin QR-login HTTP session flow.
wechat_qr.go implements the Weixin QR-login HTTP session flow.
server/module/info
Package versioncheck provides version lookup against the npm registry (with npmmirror as a China-mirror fallback) and semver-style comparison.
Package versioncheck provides version lookup against the npm registry (with npmmirror as a China-mirror fallback) and semver-style comparison.
server/module/notify
Package notify — bot interaction API.
Package notify — bot interaction API.
server/module/paginate
Package paginate parses the limit/offset query parameters shared by list endpoints.
Package paginate parses the limit/offset query parameters shared by list endpoints.
server/module/projects
Package projects mounts Projects (the projects/ module, see .design/projects.md) in Tingly Box: a Host that gives it model access through the gateway, and the routes behind the "projects" feature flag.
Package projects mounts Projects (the projects/ module, see .design/projects.md) in Tingly Box: a Host that gives it model access through the gateway, and the routes behind the "projects" feature flag.
server/module/provider
Package provider handles CRUD and model-management HTTP endpoints for AI provider configurations.
Package provider handles CRUD and model-management HTTP endpoints for AI provider configurations.
server/module/sharing
Package apitoken implements CRUD HTTP endpoints for shared API tokens.
Package apitoken implements CRUD HTTP endpoints for shared API tokens.
server/module/shortcut
Package shortcut exposes the /api/v1/shortcut HTTP endpoints that let the frontend create (or check for) the desktop / start-menu shortcut the CLI's `tingly-box shortcut` command already writes.
Package shortcut exposes the /api/v1/shortcut HTTP endpoints that let the frontend create (or check for) the desktop / start-menu shortcut the CLI's `tingly-box shortcut` command already writes.
server/module/uiprefs
Package uiprefs serves the UI-only preference store (config.UIPrefs): small per-instance settings the frontend keeps server-side so a browser tab and the desktop window see the same state.
Package uiprefs serves the UI-only preference store (config.UIPrefs): small per-instance settings the frontend keeps server-side so a browser tab and the desktop window see the same state.
server/module/virtualmodel
Package virtualmodel exposes management endpoints for the in-process virtual-model providers.
Package virtualmodel exposes management endpoints for the in-process virtual-model providers.
shortcut
Package shortcut creates desktop / start-menu shortcuts that launch Tingly Box with a double-click.
Package shortcut creates desktop / start-menu shortcuts that launch Tingly Box with a double-click.
typ
usecase
Package usecase holds application logic shared across every caller surface (CLI, TUI, Web handler, future GUI) for a given domain — Rule, Provider, Agent, Profile.
Package usecase holds application logic shared across every caller surface (CLI, TUI, Web handler, future GUI) for a given domain — Rule, Provider, Agent, Profile.
vision/imagegen
Package imagegen provides vendor adapters for the text-to-image surfaces that do NOT speak the OpenAI /images/generations contract.
Package imagegen provides vendor adapters for the text-to-image surfaces that do NOT speak the OpenAI /images/generations contract.
vision/visionproxy
Package vision holds the vision-channel vocabulary and the canonical probe image fixture shared by the probe subsystem, the protocol test harness (internal/protocoltest content_shapes), and future vision health checks.
Package vision holds the vision-channel vocabulary and the canonical probe image fixture shared by the probe subsystem, the protocol test harness (internal/protocoltest content_shapes), and future vision health checks.
worker/quotawindow
Package quotawindow sends one tiny model request per hour to every enabled OAuth provider.
Package quotawindow sends one tiny model request per hour to every enabled OAuth provider.
pkg
envsubst
Package envsubst expands ${VAR} and $VAR references in strings against a caller-supplied lookup.
Package envsubst expands ${VAR} and $VAR references in strings against a caller-supplied lookup.
fs
notify
Package notify provides a unified notification system for sending messages to various channels like webhooks, Slack, Discord, email, and system notifications.
Package notify provides a unified notification system for sending messages to various channels like webhooks, Slack, Discord, email, and system notifications.
notify/examples command
Example demonstrating the notification system usage
Example demonstrating the notification system usage
notify/internal/httpx
Package httpx provides shared HTTP helpers for notify providers.
Package httpx provides shared HTTP helpers for notify providers.
notify/provider/discord
Package discord provides a Discord notification provider
Package discord provides a Discord notification provider
notify/provider/email
Package email provides an SMTP email notification provider
Package email provides an SMTP email notification provider
notify/provider/slack
Package slack provides a Slack notification provider
Package slack provides a Slack notification provider
notify/provider/system
Package system provides desktop system notification provider using beeep
Package system provides desktop system notification provider using beeep
notify/provider/webhook
Package webhook provides an HTTP webhook notification provider
Package webhook provides an HTTP webhook notification provider
projects module
remote module
access
Package access defines the product authorization vocabulary shared by the bot runtime, persistence adapters, and control-plane APIs.
Package access defines the product authorization vocabulary shared by the bot runtime, persistence adapters, and control-plane APIs.
binding
Package binding describes which channel a scenario should use for a given event.
Package binding describes which channel a scenario should use for a given event.
channel
Package channel defines the human-facing side of the remote middle layer: a Channel is a surface (IM bot, web UI, CLI, …) that can deliver an interaction.Notification or interaction.Interaction to a human and (for interactive ones) collect a Reply.
Package channel defines the human-facing side of the remote middle layer: a Channel is a surface (IM bot, web UI, CLI, …) that can deliver an interaction.Notification or interaction.Interaction to a human and (for interactive ones) collect a Reply.
channel/autochannel
Package autochannel provides a non-IM Channel implementation for headless / CI / programmatic setups.
Package autochannel provides a non-IM Channel implementation for headless / CI / programmatic setups.
channel/imchannel
Package imchannel adapts an IM bot (one of the platforms in github.com/tingly-dev/tingly-box/imbot) into the internal/remote/channel.Channel contract.
Package imchannel adapts an IM bot (one of the platforms in github.com/tingly-dev/tingly-box/imbot) into the internal/remote/channel.Channel contract.
control
Package control is the host-facing assembly layer of the remote subsystem.
Package control is the host-facing assembly layer of the remote subsystem.
control/adapter
Package adapter is the host↔remote glue layer.
Package adapter is the host↔remote glue layer.
control/bot
PairingManager and related types live in imbot/core so that any imbot application can reuse the TOFU pairing mechanism independently of the remote-control service.
PairingManager and related types live in imbot/core so that any imbot application can reuse the TOFU pairing mechanism independently of the remote-control service.
control/feature
Package feature holds the remote-control chat features (action menu, bind flow, directory browser) that sit on top of imbot.
Package feature holds the remote-control chat features (action menu, bind flow, directory browser) that sit on top of imbot.
control/remoteagent
Package remoteagent implements the "remote_agent" bot purpose: controlling Claude Code (@cc) and the SmartGuide agent (@tb) from a chat.
Package remoteagent implements the "remote_agent" bot purpose: controlling Claude Code (@cc) and the SmartGuide agent (@tb) from a chat.
interaction
Package interaction defines the domain-neutral request / reply / result types that flow between scenarios (back-end content providers) and channels (human-facing surfaces) inside the remote middle layer.
Package interaction defines the domain-neutral request / reply / result types that flow between scenarios (back-end content providers) and channels (human-facing surfaces) inside the remote middle layer.
scenario
Package scenario defines the back-end plugin contract of the remote middle layer.
Package scenario defines the back-end plugin contract of the remote middle layer.
scenario/builtin/claudecode
Package claudecode implements the Claude Code hook scenario plugin.
Package claudecode implements the Claude Code hook scenario plugin.
sandbox module
swagger module
Package virtualmodel defines the protocol-agnostic primitives for virtual models.
Package virtualmodel defines the protocol-agnostic primitives for virtual models.
anthropic
Package anthropic provides Anthropic-protocol virtual models.
Package anthropic provides Anthropic-protocol virtual models.
benchmark
Package benchmark is the vmodel benchmark: a shared, real-world mock-provider foundation.
Package benchmark is the vmodel benchmark: a shared, real-world mock-provider foundation.
benchmark/check
Package check holds the protocol-neutral, reusable check logic for the vmodel benchmark: the RoundTripResult view of a single gateway round trip and the named Assertion library that operates on it.
Package check holds the protocol-neutral, reusable check logic for the vmodel benchmark: the RoundTripResult view of a single gateway round trip and the named Assertion library that operates on it.
benchmark/examples/client command
Stand-alone benchmark client driver: starts an in-process LocalServer (vmodel-backed) and drives it with the BenchmarkClient against both the OpenAI Chat and Anthropic Messages routes, printing a metrics summary.
Stand-alone benchmark client driver: starts an in-process LocalServer (vmodel-backed) and drives it with the BenchmarkClient against both the OpenAI Chat and Anthropic Messages routes, printing a metrics summary.
benchmark/examples/server command
Stand-alone benchmark mock server: starts a local HTTP server backed by the production virtualmodel registries (with their default mock models pre-registered) so external benchmark drivers can hit a realistic vmodel surface over loopback.
Stand-alone benchmark mock server: starts a local HTTP server backed by the production virtualmodel registries (with their default mock models pre-registered) so external benchmark drivers can hit a realistic vmodel surface over loopback.
benchmark/scenario
Package scenario holds the reusable mock-provider fixtures for the vmodel benchmark: named Scenarios, each carrying per-format MockResponseBuilders and a set of check.Assertions.
Package scenario holds the reusable mock-provider fixtures for the vmodel benchmark: named Scenarios, each carrying per-format MockResponseBuilders and a set of check.Assertions.
client
Package vmodelclient is the client side of the virtual-model server: how a provider record names it (the vmodel:// APIBase scheme), how that address is turned into a URL an SDK accepts, and the http.RoundTripper that reaches the private in-process listener.
Package vmodelclient is the client side of the virtual-model server: how a provider record names it (the vmodel:// APIBase scheme), how that address is turned into a URL an SDK accepts, and the http.RoundTripper that reaches the private in-process listener.
decision
Package decision holds virtual models for the decisions endpoint (POST {base}/decisions, see .design/decision-protocol.md): typed questions about a piece of state in, calibrated answers out.
Package decision holds virtual models for the decisions endpoint (POST {base}/decisions, see .design/decision-protocol.md): typed questions about a piece of state in, calibrated answers out.
openai
Package openai provides OpenAI-protocol virtual models.
Package openai provides OpenAI-protocol virtual models.
smartcompact
Package smartcompact provides conversation compression strategies and transformers for Anthropic requests, consumed by the virtual compact models (vmodel/anthropic: "compact-round-only", "compact-round-files", "claude-code-compact", "claude-code-strategy").
Package smartcompact provides conversation compression strategies and transformers for Anthropic requests, consumed by the virtual compact models (vmodel/anthropic: "compact-round-only", "compact-round-files", "claude-code-compact", "claude-code-strategy").
virtualserver
Package virtualserver provides the HTTP handler for virtual model endpoints.
Package virtualserver provides the HTTP handler for virtual model endpoints.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL