Skip to content

[Feature]: Agentic feedback loop #139

@cjlryan

Description

@cjlryan

Feature Description

Instead of just streaming logging, a "capture_log_event" tool that waits for a specified phrase or statement to appear in the log, then returns the surrounding logs to the agent to form an agentic feedback loop would be super useful.

Use Cases

  • Building any app

Example Interactions

You: Make [some feature], use logging to check it works.

AI: Making feature...

func someFeature() {
     print("Something broke...")
}

AI: Checking logs...

Tool Call:

capture_log_event(process: "SomeProcess", phrase: "Something broke...", max_logs_to_include: 10)

Tool Result:

Everything's fine
Something bad happens
Something broke...

AI: Hmm, that didn't work, trying [something else]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions