from agentneo import AgentNeo, Tracer# Initializeneo_session =AgentNeo(session_name="my_session")neo_session.create_project(project_name="my_project")# Start tracingtracer =Tracer(session=neo_session)tracer.start()
Using Decorators
LLM Tracing
@tracer.trace_llm("text_generation")asyncdefgenerate_text(prompt): response =await llm.generate(prompt)return response# Usagetext =awaitgenerate_text("Tell me a story")