diff --git a/src/oss/python/integrations/providers/all_providers.mdx b/src/oss/python/integrations/providers/all_providers.mdx index acb1ff944..c3d69594c 100644 --- a/src/oss/python/integrations/providers/all_providers.mdx +++ b/src/oss/python/integrations/providers/all_providers.mdx @@ -2049,14 +2049,6 @@ Browse the complete collection of integrations available for Python. LangChain P Operating LLMs in production environment. - - Framework-agnostic declarative language by Oracle for defining agentic systems. Define agents and workflows in a portable JSON/YAML format that can be executed across different runtimes. - - + + Framework-agnostic language for portable agent definitions. + + float: + return a - b + +async def main(): + loader = AgentSpecLoader(tool_registry={"subtraction-tool": subtract}) + assistant = loader.load_json(agentspec_config) + + while True: + user_input = input("USER >> ") + if user_input == "exit": + break + result = await assistant.ainvoke( + input={"messages": [{"role": "user", "content": user_input}]}, + ) + print(f"AGENT >> {result['messages'][-1].content}") +``` \ No newline at end of file