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

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.2
File Size Uploaded Provenance Actions
launchdarkly_ai_vercel_agents-1.0.2.tar.gz 25.2 kB Without provenance Details for launchdarkly_ai_vercel_agents-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 41.0 kB

Release files / launchdarkly_ai_vercel_agents-1.0.2.tar.gz

Download URL launchdarkly_ai_vercel_agents-1.0.2.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
27fbbad21806828e4ec3269a42ea8ba87692c838f361932e94513cde8dfbf882
BLAKE2b-256 checksum
How to use checksums
66f606c2e545920c6b80d6fc05afcf8aa7a20af79ee70fe97f11bf4b2c28d26a
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.2-py3-none-any.whl

Download URL launchdarkly_ai_vercel_agents-1.0.2-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b4a3521ba0da759260c5742380dcf03d197355db940bfb49758137429f4d26b
BLAKE2b-256 checksum
How to use checksums
2b16d78c01636b3cc0e327160015b7b5bed668c2e71c07f6bd3e5498567542eb
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.2

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