Token导航 LogoToken导航TokenDH.com
Apehost Tamarin Ui logo
AI代理未说明官方级别未说明来源级核验

Apehost Tamarin Ui

MCP Server

Tamarin 是一个功能丰富的聊天界面,设计用于通过 LM Studio 与本地语言模型交互,提供AI代理能力、工具执行和实时流式响应。

工具数

4

提示词数

0

GitHub Stars

0

资源数

0
TypeScript聊天界面AI代理

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

JungleM0nkey

提供方

JungleM0nkey

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

![Next.js](https://nextjs.org/) ![TypeScript](https://www.typescriptlang.org/) ![React](https://react.dev/) ![Tailwind CSS](https://tailwindcss.com/) ![License](LICENSE)

通过以下方式为本地LLM提供现代聊天UI LM工作室,具有代理功能、工具执行和流式响应。

特性入门指南配置建筑发展

概述

Tamarin是一个功能丰富的聊天界面,旨在通过LM Studio与本地语言模型配合使用。它采用Next.js构建,具有独特的深色/琥珀色配色方案,超越了简单的聊天,提供了具有工具执行、多服务器支持和实时流媒体的AI代理功能。

\[!提示\] Tamarin与本地LM Studio实例完全脱机工作-不需要云API密钥。

特性

  • 流媒体响应 --实时令牌流式传输,提供即时反馈
  • AI代理 --具有可定制行为的预构建代理预设(研究员、程序员、分析师、一般助理)
  • 工具执行 --内置工具,包括网络搜索、计算器和日期时间实用程序
  • 多服务器支持 --同时连接到多个LM Studio实例
  • 持续对话 --本地保存的对话及其完整历史记录
  • Markdown和代码突出显示 --完全的markdown支持,语法高亮显示和一键代码复制
  • 生成设置 --微调温度、最大令牌、top-p和系统提示
  • 深色主题 --优化的深色用户界面,带有琥珀色调,可舒适延长使用时间

入门指南

先决条件

  • 20或更晚
  • LM工作室 在加载模型的情况下运行

安装

  1. 克隆存储库:
   git clone https://github.com/JungleM0nkey/apehost-tamarin-ui.git
   cd apehost-tamarin-ui
  1. 安装依赖项:
   npm install
  1. 启动开发服务器:
   npm run dev
  1. 打开 http://localhost:3000 在您的浏览器中。

LM工作室设置

  1. 打开LM Studio并加载模型
  2. 导航到 本地服务器 标签
  3. 点击 启动服务器 (默认端口:1234)
  4. Tamarin将自动检测可用型号

配置

环境变量

复制 .env.local.example.env.local 并根据需要进行定制:

# LM Studio Servers Configuration
# Format: "name1|url1,name2|url2"
LMSTUDIO_SERVERS="Local|http://localhost:1234/v1"

# Rate Limiting (requests per minute per IP)
RATE_LIMIT_RPM=60

生成设置

设置默认值说明
温度0.7控制随机性(0-2)
最大令牌2048最大响应长度
Top-P0.95核采样阈值
系统提示可定制型号说明

代理预设

Tamarin包括几个预配置的AI代理:

代理描述工具
研究助理专注于研究和分析网络搜索,DateTime
编程助手软件开发和调试计算器,DateTime
数据分析师数据分析和计算计算器,DateTime
一般助理各种任务的多功能助手所有工具

建筑

src/
├── app/                    # Next.js App Router
│   ├── api/               # API routes
│   │   ├── agents/        # Agent management & execution
│   │   ├── chat/          # Chat completion endpoint
│   │   ├── servers/       # Server management
│   │   └── tools/         # Tool registry endpoint
│   └── page.tsx           # Main chat interface
├── components/
│   ├── chat/              # Chat UI (messages, input, tools)
│   ├── sidebar/           # Navigation & settings
│   └── ui/                # Reusable UI components (shadcn)
├── hooks/                 # React hooks
├── lib/
│   ├── agents/            # Agent presets
│   ├── schemas/           # Zod validation schemas
│   ├── services/          # Core services
│   │   ├── agent-orchestrator.ts  # Agent execution loop
│   │   ├── lmstudio-service.ts    # LM Studio client
│   │   ├── server-manager.ts      # Multi-server management
│   │   └── tool-registry.ts       # Tool registration
│   └── tools/             # Built-in tools
└── store/                 # Zustand state management

关键组件

  • 代理协调器 --通过规划和工具执行管理代理执行循环
  • LM工作室服务 -服务器端API客户端,具有重试逻辑和流式传输支持
  • 工具注册表 --用于注册和执行工具的可插拔系统
  • 服务器管理器 --处理多个LM Studio服务器配置

发展

可用脚本

npm run dev      # Start development server with Turbopack
npm run build    # Build for production
npm run start    # Start production server
npm run lint     # Run ESLint

技术栈

技术目的
Next.js 16带有App Router的React框架
反应19UI库
TypeScript 5类型安全
顺风CSS 4造型
状态国家管理
黄道带架构验证
shadcn/uiUI组件

添加自定义工具

在中注册新工具 src/lib/tools/:

import { defineTool } from "@/lib/services/tool-registry";

defineTool(
  "my_tool",
  "Description of what the tool does",
  {
    input: { type: "string", description: "Input parameter", required: true },
  },
  async (args) => {
    // Tool implementation
    return { result: "Tool output" };
  }
);

资源

______________________________________________________________________

Built with the ApeHost dark/amber theme

目录标签

目录标签

TypeScript聊天界面AI代理本地语言模型本地部署工具执行实时流式响应

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP