{"library":"atomic-agents","install":[{"cmd":"pip install atomic-agents","imports":["import instructor\nfrom openai import OpenAI\nfrom atomic_agents import AtomicAgent, AgentConfig, BasicChatInputSchema, BasicChatOutputSchema\nfrom atomic_agents.context import ChatHistory, SystemPromptGenerator\n\nclient = instructor.from_openai(OpenAI())\nhistory = ChatHistory()\n\nagent = AtomicAgent[BasicChatInputSchema, BasicChatOutputSchema](\n    config=AgentConfig(\n        client=client,\n        model='gpt-4o-mini',\n        history=history\n    )\n)\n\nresponse = agent.run(BasicChatInputSchema(chat_message='Hello!'))\nprint(response.chat_message)","# v2: run_async returns complete response\nresponse = await agent.run_async(BasicChatInputSchema(chat_message='Hello'))\nprint(response.chat_message)\n\n# v2: use run_async_stream for streaming\nasync for partial in agent.run_async_stream(BasicChatInputSchema(chat_message='Hello')):\n    print(partial)"]},{"cmd":"pip install atomic-agents openai instructor","imports":[]}]}