Skip to content

[BUG] - Logs not showing up for custom python agent #14

@AndriyNovykov

Description

@AndriyNovykov

Describe the bug
I'm trying to monitor agents other that Claude Code, Codex, or Gemini CLI. Specifically, I'm trying to monitor gpt-researcher which doesn't use an agent framework but is instead custom built. gpt-researcher is written in python so we are already able to monitor it using agentsight but we aren't picking up any logs besides some process and file IO. For example, no network traffic is getting picked up even though this agent is reaching out to the OpenAI and Tavily APIs.

I'd like to also be able to use agentsight with custom built agents.

To Reproduce

  1. Run agentsight via Docker.
docker run \
--privileged \
--network=host \
--pid=host \
-v /sys:/sys:ro \
 -v /var/log/agentsight:/logs \
ghcr.io/eunomia-bpf/agentsight:latest record --comm python --log-file /logs/record.log
  1. Install and run gpt-researcher.

Expected behavior
Here are the logs from trying to monitor gpt-researcher using agentsight.
record.log

Screenshots

Image

Desktop (please complete the following information):

  • OS: Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-86-generic x86_64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions