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.0

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.0
File Size Uploaded Provenance Actions
launchdarkly_ai_vercel_agents-1.0.0.tar.gz 24.9 kB Without provenance Details for launchdarkly_ai_vercel_agents-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 40.5 kB

Release files / launchdarkly_ai_vercel_agents-1.0.0.tar.gz

Download URL launchdarkly_ai_vercel_agents-1.0.0.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e70eea7dfedfc94221b6b1746e217f85ad840454623d7b05450792204a0e6116
BLAKE2b-256 checksum
How to use checksums
d99dfc9dbce928c34c3f73771bf6babdc135c433a6358903f48e1c2f41f2ea31
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-1.0.0-py3-none-any.whl

Download URL launchdarkly_ai_vercel_agents-1.0.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89c3742935e922231d9e95b283961e53b9c4d1b9ac5e097ffd7ce7c9badeaf5f
BLAKE2b-256 checksum
How to use checksums
155bff56beaff42f5812aa19c92ed6080fd6d9d527d1fd0145b796e6ece4701d
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 1.0.0

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