Skip to main content

launchdarkly-ai-vercel-agents

Wildcard LaunchDarkly AI agent handler built on the official Vercel ai.Agent runtime for Python.

Install

pip install "launchdarkly-ai-server[ld]" launchdarkly-ai-vercel-agents

Default routing is AI Gateway via a mapped creator/model id (for example, xAI + grok-4.5 becomes spacexai/grok-4.5). Already-qualified ids remain unchanged. Set AI_GATEWAY_API_KEY or Vercel OIDC. This package does not load a provider SDK from config.provider.name. Inject a model or model factory to call a provider directly.

All LaunchDarkly providers are handled explicitly. Anthropic, OpenAI, Azure, Gemini, Cohere, DeepSeek, Meta, Mistral, Perplexity, and Vertex map directly. Bedrock, Cortex, Cursor, Databricks, and Fireworks AI infer the creator from the model and fail locally if ambiguous. AI21 Labs and IBM Watson fail locally because Vercel's current catalog has no corresponding creator.

Use

from launchdarkly_ai_server import config
from launchdarkly_ai_vercel_agents import create_vercel_agents_handler

result = await config(
    key="my-agent-config",
    handler=create_vercel_agents_handler(),
).invoke("Help me", {"kind": "user", "key": "user-123"})

The package also exports vercel_graph() and to_vercel_agents() for LaunchDarkly and framework-native graph execution. The native adapter builds one ai.Agent per graph node and follows only a transfer_to_<target> tool that the current node actually selects.

This package advertises ("*", "agent"); register only one wildcard agent adapter in a handler pool.

Metadata

Release files for launchdarkly-ai-vercel-agents 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for launchdarkly-ai-vercel-agents 1.0.1
File Size Uploaded Provenance Actions
launchdarkly_ai_vercel_agents-1.0.1.tar.gz 25.0 kB Without provenance Details for launchdarkly_ai_vercel_agents-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for launchdarkly-ai-vercel-agents 1.0.1
File Interpreter ABI Platform Actions
launchdarkly_ai_vercel_agents-1.0.1-py3-none-any.whl Python 3 none any Details for launchdarkly_ai_vercel_agents-1.0.1-py3-none-any.whl

Total release size: 40.7 kB

Release files / launchdarkly_ai_vercel_agents-1.0.1.tar.gz

Download URL launchdarkly_ai_vercel_agents-1.0.1.tar.gz
Size 25.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8de9c64a238af78dc77939ae493ac02322f89a10dd8a9adae7de896286c457ae
BLAKE2b-256 checksum
How to use checksums
9cf324cbca1e5ae2c5701110761d0da8fb3a84f4a9231c350fceac9fa9e7d8bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / launchdarkly_ai_vercel_agents-1.0.1-py3-none-any.whl

Download URL launchdarkly_ai_vercel_agents-1.0.1-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4544ffb15816dd4749db70baba748582f705345b91184ae16623ee1081ac5204
BLAKE2b-256 checksum
How to use checksums
6caed0d7ddf1688f3ed3291559531b0728d6b69ec4a0dd3c4efc3261c3c64dd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for launchdarkly-ai-vercel-agents 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page