Rᴇɴᴅʏ Pʀᴏɪᴇᴄᴛs
223 subscribers
1.04K photos
29 videos
17 files
743 links
tgcore is open source. Built for production Telegram apps.

https://github.com/TeamKillerX/tgcore/
Download Telegram
Turn multi conversation
from Ryzenth import RyzenthTools

rt = RyzenthTools("api-key-from-cohere")

prompt = "what otak popcorn?"

demo_history = []

demo_history.append({"role": "USER", "message": prompt})

response = await rt.aio.cohere_chat.ask(
prompt,
chat_history=demo_history,
connectors=[{"id": "web-search"}]
)

chat = await response.to_obj()
demo_history.append({"role": "CHATBOT", "message": chat.text})

print(chat.text)

Pypi: https://pypi.org/project/Ryzenth/2.2.5/
Single prompt (Fix in version 2.2.6+)
from Ryzenth import RyzenthTools

rt = RyzenthTools("api-key-from-openai")

prompt = "what programmer?"

response = await rt.aio.openai_responses.create(prompt)

chat = await response.to_obj()
print(chat.data[0].content[0].text)

Multi turn conversation
response = await rt.aio.openai_responses.create(
prompt=[
{"role": "developer", "content": "Talk like a pirate."},
{"role": "user", "content": "Are semicolons optional in JavaScript?"},
],

await response.to_dict()
2026: The Dawn of the Closed Era.
Ryzenth Inline V2 emerges, shrouded in secrecy. No open source. No free access. Only those who pay may glimpse its inner workings.

2028: The Final Masterpiece.
Ryzenth Inline V3 arrives. Refined. Unbreakable. Once again locked behind the gates of commerce.

And then silence. My hands, once restless on the keyboard, fall still. The developer dies not in body, but in purpose. Newcomers fumble with Python, their first steps far too late.

2030: The Collapse.
Indonesia falls. The dream dissolves. And the age of Ryzenth Dev is buried under the dust of a broken world.
Chatbot Updated

Changelog: View commit

Note:
Use at your own risk. Hosting on Hugging Face may result in account suspension. For best reliability and control, consider running it on your own VPS.
Manual Task ID
from Ryzenth import RyzenthTools

rt = RyzenthTools()

response = await rt.aio.qwen_images.create("...")
obj = await response.to_obj()
task_id = obj.output.task_id

response_status = (await rt.aio.qwen_images.get_task(task_id)).to_obj()

if response_status.output.task_status == "SUCCEEDED":
print(response_status.output)

Or https://t.me/c/1558215042/3305
Why isn’t Ryzenth Inline V2 open source?

Because it offers far more plugin features compared to regular premium userbots.

If you’re looking for an open-source alternative, you can check out: https://github.com/TeamKillerX/Ryzenth, A multi-API project using only aiohttp and httpx for features like AI, downloader, etc., without requiring a large list of dependencies.

Thanks for the reminder🎗️
Example usage:
from Ryzenth import RyzenthTools

rt = RyzenthTools("api-key-from-gemini")

results = await rt.aio.gemini_chat.ask([
{"role": "system", "content": "You are a helpful assistant"},
{"role": "user", "content": "What is Gemini?"}
], model="gemini-2.5-flash")

print(await results.to_dict())

- Get your API key: https://aistudio.google.com/apikey
- Pypi Updated: https://pypi.org/project/Ryzenth/2.2.6/

Warning/Error you might encounter:
coroutine 'ResponseResult.to_dict' was never awaited
return await locals()["__aexec"]
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Cause:
You tried calling .to_dict() without await. Since .to_dict() is asynchronous, it must be awaited.

Fix:
Instead of:
results = (await rt.aio.gemini_chat.ask([...])).to_dict()
print(await results)

Do:
results = await rt.aio.gemini_chat.ask([...])
print(await results.to_dict())
New in version 2.2.7+ 🫥

- Added to_json_dumps()
- Added stream, extra_body, tools, tool_choice, reasoning_effort
from Ryzenth import RyzenthTools

rt = RyzenthTools("api-key-from-gemini")

results = await rt.aio.gemini_chat.ask([
{"role": "user", "content": "What's the weather like in Chicago today?"}
], tools=[
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the current weather in a given location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The city and state, e.g. Chicago, IL"
},
"unit": {
"type": "string",
"enum": ["celsius", "fahrenheit"]
}
},
"required": ["location"]
}
}
}
],tool_choice="auto")

print(await results.to_json_dumps())
Chatbot Updated

Changelog: View Commit (You forgot to use pip3 install motor) 🗿

Added MONGO_URL and GEMINI_API_KEY (Multi turn conversation)

Next features (Tomorrow afternoon):
- History limit -> auto cleanup
Kok bisa akun udah 5 tahun masih aman?

Ternyata akun lama gua @zxyeor ini emang kayak anti banned/deak. 😎

- Gak pernah broadcast pake userbot
- Broadcast pun cuma lewat bot
- Gak pernah nyepam PM orang
- Gak pernah join grup random (apalagi grup drama developer yang suka pamer)
- Gua cuma pilih join grup santai kayak Kurigram, Telegram Bot, Telegram Talk

Gua solo dev, owner Ryzenth library semua codingan gua bikin sendiri, gak ada kontribusi orang lain (dan iya… ada aja yang gak ngasih kredit)
Cinematic overhead shot of a person standing with hands in pockets on a brick city sidewalk, wearing a red wine formal blazer. A motion blurred crowd rushes past around them. Moody lighting with a 35mm film look. Shallow depth of field, sharp focus on the person. Portrait orientation 4:3, face unchanged.
Latest version of chat GPT-5
examples output:
{
"success": true,
"data": {
"id": "........",
"object": "response",
"created_at": 1755154982,
"status": "completed",
"background": false,
"error": null,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"max_tool_calls": null,
"model": "gpt-5-2025-08-07",
"output": [
{
"id": "......",
"type": "reasoning",
"summary": []
},
{
"id": "......",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [],
"logprobs": [],
"text": "“Telegram” can mean two things:\n\n- Telegram (the app): A cloud-based messaging platform launched in 2013 by Pavel Durov. It offers fast chats, large group and channel broadcasts, bots, file sharing up to 2 GB, and multi-device sync. Regular chats are cloud-encrypted; end-to-end encryption is available only in Secret Chats.\n\n- A telegram (historical): A short written message sent over telegraph networks (often via Morse code), widely used from the mid-1800s to the late 20th century for rapid, long-distance communication.\n\nWhich one are you asking about?"
}
],
"role": "assistant"
}
],
"parallel_tool_calls": true,
"previous_response_id": null,
"prompt_cache_key": null,
"reasoning": {
"effort": "medium",
"summary": null
},
"safety_identifier": null,
"service_tier": "auto",
"store": true,
"temperature": 1,
"text": {
"format": {
"type": "text"
},
"verbosity": "medium"
},
"tool_choice": "auto",
"tools": [],
"top_logprobs": 0,
"top_p": 1,
"truncation": "disabled",
"usage": {
"input_tokens": 10,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 324,
"output_tokens_details": {
"reasoning_tokens": 192
},
"total_tokens": 334
},
"user": null,
"metadata": {

}
},
"meta": {
"credits_remaining": 1923
}
}
. @GeminiAIDev_Bot Now Updated

- Added flow database chat history using uuid
- 100 message limit free tier > auto new chat

type --sethistoryid kKKcaNm3Kqyl1MkP8Zq0gAM (Only unlock premium)
How can I use AI for free in the Ryzenth library?

You can check the example code here: AI Features No API Key Required

For details on free usage limits, see: Pricing & Free Tier Ryzenth
Fix add timeout parameter (New in version 2.2.8+)
This media is not supported in your browser
VIEW IN TELEGRAM
Ryzenth V2 2026 release 😎 (faster)
✨ Ryzenth API Updated

- You can now use /api/v1/openai-v2/conversation for multi-turn conversations.
- Similar to Kimi AI, the Ryzenth library also supports multi-language conversations directly in source code.
- It runs faster, but keep in mind it uses Gemini, so rate limits may apply.
You can use one prompt or multi turn conversation
from Ryzenth import RyzenthTools

rt = RyzenthTools()

results = await rt.aio.chat.ask("Hello world")

print(await results.to_json_dumps()

from Ryzenth import RyzenthTools

rt = RyzenthTools()

results = await rt.aio.chat.ask([
{"role": "system", "content": "You are helpful assistant"},
{"role": "user", "content": "oh good job"}
], use_conversation=True)

print(await results.to_json_dumps())

• Version: 2.2.9
• Latest: pip3 install git+https://github.com/TeamKillerX/Ryzenth.git
AI coder normal ❌
AI meme gabut ✅🗿
🤣1