Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计异常

letta-configuration莱塔配置

Agent Skill

letta-configuration 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

870

周安装

37

GitHub Stars

93

下载量

305
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:letta-configuration(莱塔配置)
来源仓库:https://github.com/letta-ai/skills
仓库路径:skills/letta-configuration
安装命令:
npx skills add https://github.com/letta-ai/skills --skill letta-configuration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/letta-ai/skills --skill letta-configuration

简介

letta-configuration 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否触发联网或文件操作。
  • 建议结合原始 README 和仓库内容核验具体用法和功能边界。

SKILL.md

Letta Configuration

Complete guide for configuring models on agents and providers on servers.

When to Use This Skill

Agent-level (model configuration):

  • Creating agents with specific model configurations
  • Adjusting model settings (temperature, max tokens, context window)
  • Configuring provider-specific features (OpenAI reasoning, Anthropic thinking)
  • Changing models on existing agents

Server-level (provider configuration):

  • Setting up BYOK (bring your own key) providers
  • Configuring self-hosted deployments with environment variables
  • Validating provider credentials
  • Setting up custom OpenAI-compatible endpoints

Not covered here: Model selection advice (which model to choose) - see agent-development skill.


Part 1: Model Configuration (Agent-Level)

Model Handles

Models use a provider/model-name format:

ProviderHandle PrefixExample
OpenAIopenai/openai/gpt-4o, openai/gpt-4o-mini
Anthropicanthropic/anthropic/claude-sonnet-4-5-20250929
Google AIgoogle_ai/google_ai/gemini-2.0-flash
Azure OpenAIazure/azure/gpt-4o
AWS Bedrockbedrock/bedrock/anthropic.claude-3-5-sonnet
Groqgroq/groq/llama-3.3-70b-versatile
Togethertogether/together/meta-llama/Llama-3-70b
OpenRouteropenrouter/openrouter/anthropic/claude-3.5-sonnet
Ollama (local)ollama/ollama/llama3.2

Basic Model Configuration

from letta_client import Letta

client = Letta(api_key="your-api-key")

agent = client.agents.create(
    model="openai/gpt-4o",
    model_settings={
        "provider_type": "openai",  # Required - must match model provider
        "temperature": 0.7,
        "max_output_tokens": 4096,
    },
    context_window_limit=128000
)

Common Settings

SettingTypeDescription
provider_typestringRequired. Must match model provider (openai, anthropic, google_ai, etc.)
temperaturefloatControls randomness (0.0-2.0). Lower = more deterministic.
max_output_tokensintMaximum tokens in the response.

Changing an Agent's Model

client.agents.update(
    agent_id=agent.id,
    model="anthropic/claude-sonnet-4-5-20250929",
    model_settings={"provider_type": "anthropic", "temperature": 0.5},
    context_window_limit=64000
)

Note: Agents retain memory and tools when changing models.

Provider-Specific Settings

For OpenAI reasoning models and Anthropic extended thinking, see references/provider-settings.md.


Part 2: Provider Configuration (Server-Level)

Quick Start

# Add provider via API
python scripts/setup_provider.py --type openai --api-key sk-...

# Generate .env for Docker
python scripts/generate_env.py --providers openai,anthropic,ollama

# Validate credentials
python scripts/validate_provider.py --provider-id provider-xxx

Add BYOK Provider

# Via REST API
curl -X POST http://localhost:8283/v1/providers \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My OpenAI",
    "provider_type": "openai",
    "api_key": "sk-your-key-here"
  }'

Supported Provider Types

openai, anthropic, azure, google_ai, google_vertex, ollama, groq, deepseek, xai, together, mistral, cerebras, bedrock, vllm, sglang, hugging_face, lmstudio_openai

For detailed configuration of each provider, see:

  • references/common_providers.md - OpenAI, Anthropic, Azure, Google
  • references/self_hosted_providers.md - Ollama, vLLM, LM Studio
  • references/all_providers.md - Complete reference
  • references/environment_variables.md - Docker/self-hosted setup

Anti-Hallucination Checklist

Before configuring:

  • Model handle uses correct provider/model-name format
  • model_settings includes required provider_type field
  • context_window_limit is set at agent level, not in model_settings
  • Provider-specific settings use correct nested structure
  • For self-hosted: embedding model is specified
  • Temperature is within valid range (0.0-2.0)

Scripts

Model configuration:

  • scripts/basic_config.py - Basic model configuration
  • scripts/basic_config.ts - TypeScript equivalent
  • scripts/change_model.py - Changing models on existing agents
  • scripts/provider_specific.py - OpenAI reasoning, Anthropic thinking

Provider configuration:

  • scripts/setup_provider.py - Add providers via REST API
  • scripts/validate_provider.py - Check provider credentials
  • scripts/generate_env.py - Generate.env for Docker

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.79%
按下载量换算103

Claude

29.07%
按下载量换算89

Cursor

17.56%
按下载量换算54

Gemini CLI

9.88%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills