Skip to content

docs(auxen): add Auxen chat model integration pages (Python + JS)#4146

Open
Samp2Alex wants to merge 3 commits into
langchain-ai:mainfrom
auxen-ai:auxen-integration
Open

docs(auxen): add Auxen chat model integration pages (Python + JS)#4146
Samp2Alex wants to merge 3 commits into
langchain-ai:mainfrom
auxen-ai:auxen-integration

Conversation

@Samp2Alex
Copy link
Copy Markdown

@Samp2Alex Samp2Alex commented May 22, 2026

Adds chat-model integration pages for Auxen in both the Python and JavaScript integration sections. Auxen serves per-customer dedicated LLM endpoints (Llama 3.1/3.2, Qwen 2.5, Mistral, Gemma 2, Mixtral, Phi-3, Command R) with an OpenAI-compatible `/v1/chat/completions` surface, billed per-minute of GPU runtime rather than per-token.

Since Auxen instances implement the OpenAI wire format directly, both integrations use `ChatOpenAI` with a custom base URL and per-instance bearer token — no dedicated partner package is required. The pages position the integration accordingly: they live alongside other chat completions API endpoints documented on the existing chat integration indexes.

Changes

  • Python: `src/oss/python/integrations/chat/auxen.mdx` (new) + card entry on the chat integrations index, alphabetically between `Anthropic` and `AzureAIOpenAIApiChatModel`.
  • JavaScript: `src/oss/javascript/integrations/chat/auxen.mdx` (new) + card entry on the JS chat integrations index, alphabetically between `Arcjet Redact` and `Azure OpenAI`.

Companion PRs

Open to feedback on whether either page should be reshaped, or whether the team would prefer Auxen documented as a sub-section under the existing "Chat Completions API" header rather than its own dedicated page.

AI agent (Claude) assisted in drafting this PR.

Adds a chat-model integration page for Auxen, which serves per-customer
dedicated LLM endpoints with an OpenAI-compatible /v1/chat/completions
surface. Since Auxen instances implement the OpenAI wire format directly,
the integration uses ChatOpenAI with a per-instance base_url and bearer
token — no dedicated partner package is required.

The page covers credentials, instantiation, invocation, streaming, tool
calling, chaining, and the open-source model catalog. Also adds an
alphabetical card entry to the "All chat models" grid on the chat
integrations index.

AI agent (Claude) assisted in drafting this content.
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for opening a docs PR, Samp2Alex! When it's ready for review, please add the relevant reviewers:

  • @mdrxy (Python integrations)

@github-actions github-actions Bot added langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects external User is not a member of langchain-ai labels May 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

❌ Import check failed

This PR contains imports from langchain_core that should be imported from langchain instead.

Detailed issues
Analyzing diff for import issues...
 Found 1 import issues:

File: src/oss/python/integrations/chat/auxen.mdx
Line: 110
Issue: Import from langchain.tools instead of langchain_core.tools
Current:   from langchain_core.tools import tool
Suggested: from langchain.tools import tool
--------------------------------------------------------------------------------

 Found 1 import issues that need to be fixed.

Why this is a problem

The langchain package re-exports many modules and classes from langchain_core. When possible, imports should use langchain instead of langchain_core for:

  • Better user experience (single import source)
  • Consistency across documentation
  • Reduced cognitive load for users

How to fix

Replace the imports as suggested above. For example:

  • from langchain_core.messages import HumanMessage
  • from langchain.messages import HumanMessage

🤖 Automated check

This check is based on the latest analysis of langchain re-exports from langchain_core.

Mirrors the Python integration. Auxen serves per-customer dedicated LLM
endpoints with an OpenAI-compatible /v1/chat/completions surface, so the
integration uses ChatOpenAI from @langchain/openai with a custom
configuration.baseURL and apiKey — no dedicated partner package is
required.

The page covers credentials, instantiation, invocation, streaming, tool
calling, chaining, and the open-source model catalog. Also adds an
alphabetical card entry to the "All chat models" grid on the JS chat
integrations index.

Companion to the Python page added in the same series.

AI agent (Claude) assisted in drafting this content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external User is not a member of langchain-ai javascript langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant