This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/pkg/agent
Levi Neely e4c379ab94 agent: replace naive compaction with structured LLM-driven summarization
- Structured compaction prompt asking for progress, decisions, next steps
- Flatten tool call/result sequences to plain text before compaction
- Preserve recent user messages (up to ~20k tokens) in compacted history
- Inject summary as handoff message for the resuming LLM
- Persist pre-compaction snapshots as append-only JSONL for long-term memory
2026-04-10 18:56:17 +02:00
..
core.go agent: replace naive compaction with structured LLM-driven summarization 2026-04-10 18:56:17 +02:00
hooks.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
loop.go Unify tool servers: dissolve builtin/MCP distinction 2026-04-09 23:51:10 +02:00
session.go agent: replace naive compaction with structured LLM-driven summarization 2026-04-10 18:56:17 +02:00
signals.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
signals_unix.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
signals_windows.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
state.go refactor: promote backend/config to pkg/, extract TUI to ollie-tui 2026-04-09 22:05:35 +02:00
types.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00