example.json
example.txt
@observe decorator to functions/methods that make up your agent. These will represent individual components in your agent.
```python title=main.py showLineNumbers={true} {1,3,7}
from deepeval.tracing import observe
@observe()
def your_ai_agent_tool():
return 'tool call result'
@observe()
def your_ai_agent(input):
tool_call_result = your_ai_agent_tool()
return 'Tool Call Result: ' + tool_call_result
your_ai_agent("Greetings, AI Agent.")
```
\[Confident AI Trace Log]{" "}
Successfully posted trace (...):{" "}
[https://app.confident.ai/\[](https://app.confident.ai/\[)...]