MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / main

Function main

examples/xpander/coding_agent.py:168–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166if __name__ == "__main__":
167
168 async def main():
169 agent = MyAgent()
170 while True:
171 task = input("\nAsk Anything (Type exit to end) \nInput: ")
172 if task.lower() == "exit":
173 break
174 agent.agent_backend.add_task(input=task)
175 result = await agent.run(task)
176 print(f"\nResult: {result['result']}")
177
178 asyncio.run(main())

Callers 1

coding_agent.pyFile · 0.70

Calls 2

runMethod · 0.95
MyAgentClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…