Skip to content

Epic: agent hot path optimization #621

@bug-ops

Description

@bug-ops

Summary

Core agent loop has SQLite contention (no WAL), O(n) token scans per tool iteration, per-chunk allocations, and unnecessary string copies in hot paths.

Child Issues

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical prioritycoreepicMilestone-level tracking issueperformancePerformance optimization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions