NAME

Langertha::Engine::TSystems - T-Systems AI Foundation Services (LLM Hub)

VERSION

version 0.503

SYNOPSIS

use Langertha::Engine::TSystems;

my $tsi = Langertha::Engine::TSystems->new(
    api_key => $ENV{LANGERTHA_TSYSTEMS_API_KEY},
    model   => 'gpt-oss-120b',
);

print $tsi->simple_chat('Hello from AIFS!');

my $vector = $tsi->simple_embedding('embed me');

DESCRIPTION

Provides access to T-Systems' AI Foundation Services (formerly LLM Hub), an OpenAI-compatible aggregator hosted in Germany / the EU. Composes Langertha::Role::OpenAICompatible with the AIFS endpoint (https://llm-server.llmhub.t-systems.net/v2) and Bearer auth.

T-Systems AIFS exposes 30+ open-source and proprietary models behind a single OpenAI-compatible API. Models hosted on T-Cloud are processed exclusively in Germany (Llama 3.3, Qwen3-Next 80B, Mistral Small 4, gpt-oss-120b, Gemma 4, plus the BGE-M3 / text-embedding-bge-m3 and Jina embeddings); EU-hosted hyperscaler models are processed within the EU and now include current frontier models — GPT-5.2 / GPT-5, Claude Sonnet 4.6 / Haiku 4.5, and Gemini 3 Pro / Flash. This makes AIFS a sovereign-EU route to otherwise non-EU frontier models. GDPR-compliant.

Get a trial API key at https://apikey.llmhub.t-systems.net/ and set LANGERTHA_TSYSTEMS_API_KEY in your environment.

"embedding_dimensions" in Langertha::Role::Embedding is not sent (it carps once): AIFS does not document a dimensions field for its embedding models, and Langertha cannot verify it without a key.

THIS API IS WORK IN PROGRESS

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.

IRC

Join #langertha on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.