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

Built distribution (wheel)

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

Total release size: 38.6 kB

Release files / launchdarkly_ai_vercel_agents-0.2.0.tar.gz

Download URL launchdarkly_ai_vercel_agents-0.2.0.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
94d3b8ed1e98cfeb1e8d8621bf6ab6b019f5a3c5f4c93843b5bcafea60b98921
BLAKE2b-256 checksum
How to use checksums
0530b7232feb44c09ef616b410803c99757f312949d3702e1a9849cf7d7999bb
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.2.0-py3-none-any.whl

Download URL launchdarkly_ai_vercel_agents-0.2.0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d28e40947826cc592b6c75e439faa81312cfb85b7072c30c30b2322f07ee716b
BLAKE2b-256 checksum
How to use checksums
4c6ef88ea1ced4d82237659aa51ee385d4fe50f2739143382f6e4c0b219e0d55
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.2.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