OpenAI LLM + embeddings provider for AgentForge — gpt-4o / o-series + text-embedding-3-*
Project description
agentforge-openai
OpenAI native LLM + embedding provider for AgentForge.
Implements both LLMClient and EmbeddingClient against
OpenAI's chat.completions.create() (gpt-4o / o-series) and
embeddings.create() (text-embedding-3-small / -large).
Install
pip install "agentforge-openai[openai]"
The bare pip install agentforge-openai install keeps the
package importable for tests; the production runner needs the
openai SDK, which the [openai] extra pulls in.
Use
from agentforge import Agent
from agentforge_openai import OpenAIClient, OpenAIEmbeddingClient
# Chat
agent = Agent(model="openai:gpt-4o-mini")
# Embeddings (direct construction)
emb = OpenAIEmbeddingClient.from_config(
model="text-embedding-3-small",
api_key="sk-...",
)
Capabilities
OpenAIClient.capabilities() declares: tools, json_mode,
streaming, vision (for gpt-4o* variants). Caching and
extended thinking are not surfaced (OpenAI handles caching
transparently; o-series internal reasoning is not exposed as a
budget-able knob through the public API today).
License
Apache-2.0. See LICENSE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentforge_openai-0.3.0.tar.gz.
File metadata
- Download URL: agentforge_openai-0.3.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
317888c82e5db6dec6b2e9f1a6086ac963e7d85018ebb661a48c32f087739379
|
|
| MD5 |
e254ec84f5fe6e734415ab36e300c8bc
|
|
| BLAKE2b-256 |
bc93d8c0433ad5120d7be46ce8cf9200b433c232ceb84c866a6ea050f9a45203
|
Provenance
The following attestation bundles were made for agentforge_openai-0.3.0.tar.gz:
Publisher:
release.yml on Scaffoldic/agentforge-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentforge_openai-0.3.0.tar.gz -
Subject digest:
317888c82e5db6dec6b2e9f1a6086ac963e7d85018ebb661a48c32f087739379 - Sigstore transparency entry: 1835372567
- Sigstore integration time:
-
Permalink:
Scaffoldic/agentforge-py@3648502744bcecfa7c4d1716ba2f77a61819049c -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/Scaffoldic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3648502744bcecfa7c4d1716ba2f77a61819049c -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentforge_openai-0.3.0-py3-none-any.whl.
File metadata
- Download URL: agentforge_openai-0.3.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
423725ca0148046ebe65a32e827fe4e6ef445f541f4b7089bdbbda182f37b7a7
|
|
| MD5 |
1f15f5266ecd23c36d09eed147d8c3a0
|
|
| BLAKE2b-256 |
12e459950b5b363bfe9f4ade5a37dbe39bc71b3bee7f1b95b4a043fe4fb7e245
|
Provenance
The following attestation bundles were made for agentforge_openai-0.3.0-py3-none-any.whl:
Publisher:
release.yml on Scaffoldic/agentforge-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentforge_openai-0.3.0-py3-none-any.whl -
Subject digest:
423725ca0148046ebe65a32e827fe4e6ef445f541f4b7089bdbbda182f37b7a7 - Sigstore transparency entry: 1835375090
- Sigstore integration time:
-
Permalink:
Scaffoldic/agentforge-py@3648502744bcecfa7c4d1716ba2f77a61819049c -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/Scaffoldic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3648502744bcecfa7c4d1716ba2f77a61819049c -
Trigger Event:
push
-
Statement type: