#python#agent#agentic#agentic_ai#agents#agents_sdk#ai#ai_agents#aiagentframework#genai#genai_chatbot#llm#llms#multi_agent#multi_agent_systems#multi_agents#multi_agents_collaboration
The Agent Development Kit (ADK) is an open-source Python toolkit that helps you easily build, test, and deploy smart AI agents, from simple helpers to complex multi-agent systems. It lets you write agent logic in Python, use many built-in or custom tools, and organize multiple agents to work together. You can deploy agents anywhere, including Google Cloud, and evaluate their performance with built-in tools. ADK supports flexible workflows and works with various AI models, not just Google’s. This means you get full control and flexibility to create powerful AI applications that fit your needs, speeding up development and making it easier to manage AI projects.
https://github.com/google/adk-python
🚀 Вышел стабильный JavaScript движок от Google для Android
Новая стабильная библиотека Jetpack JavaScript Engine позволит разработчикам выполнять JS код в изолированной и ограниченной среде.
class MainActivity : ComponentActivity() {
// Теперь nullable, без lateinit
private var jsSandbox: JavaScriptSandbox? = null
private var jsIsolate: JavaScriptIsolate? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!JavaScriptSandbox.isSupported()) {
Log.e("JS", "JavaScriptSandbox не поддерживается")
return
}
lifecycleScope.launch {
// Создаём и сохраняем в nullable-поле
jsSandbox = JavaScriptSandbox
.createConnectedInstanceAsync(applicationContext)
.await()
jsIsolate = jsSandbox?.createIsolate()
// При выполнении гарантируем, что jsIsolate != null
val result: String = jsIsolate
?.evaluateJavaScriptAsync(JS_SCRIPT_SCRING)
?.await()
?: "Ошибка: isolate не инициализирован"
Log.d("JS", "Результат выполнения: $result")
}
}
override fun onDestroy() {
super.onDestroy()
// Закрываем только если не null
jsIsolate?.close()
jsSandbox?.close()
}
}
#jetpack#js