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 launchdarkly-server-sdk 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 0.1.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 0.1.1
File Size Uploaded Provenance Actions
launchdarkly_ai_vercel_agents-0.1.1.tar.gz 18.9 kB Without provenance Details for launchdarkly_ai_vercel_agents-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 32.5 kB

Release files / launchdarkly_ai_vercel_agents-0.1.1.tar.gz

Download URL launchdarkly_ai_vercel_agents-0.1.1.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aca46416b1ef5f9b33062e4b603d4b88d5cad4a97cde7016ab8cd945bbe6b4bf
BLAKE2b-256 checksum
How to use checksums
e7ea957dac71c6e0bd6576fc518ebb6f9226548ba9a3a3d3e536b6573caf0dd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL launchdarkly_ai_vercel_agents-0.1.1-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7287676f830e404300dc6bc10402d0d8b6c31daa5696204176995822bb1b812f
BLAKE2b-256 checksum
How to use checksums
9d4da5d905027a5192675ff7dcc66912a4fdd6f91cb542d752e92bdde9158682
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for launchdarkly-ai-vercel-agents 0.1.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