MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / main

Function main

examples/02_simple_agent.py:193–208  ·  view source on GitHub ↗

Run all demos.

()

Source from the content-addressed store, hash-verified

191
192
193async def main():
194 """Run all demos."""
195 print("=" * 60)
196 print("Simple Agent Usage Examples")
197 print("=" * 60)
198 print("\nThese examples show how to create an agent and give it tasks.")
199 print("The agent uses LLM to decide which tools to call.\n")
200
201 # Run demos
202 await demo_file_creation()
203 print("\n" * 2)
204 await demo_bash_task()
205
206 print("\n" + "=" * 60)
207 print("All demos completed! ✅")
208 print("=" * 60)
209
210
211if __name__ == "__main__":

Callers 1

02_simple_agent.pyFile · 0.70

Calls 2

demo_file_creationFunction · 0.85
demo_bash_taskFunction · 0.85

Tested by

no test coverage detected