Drop Felix references; harness stands as a platform on its own
Removes every Felix mention from public-facing surfaces so the framework reads as a standalone agent platform rather than an extracted module. User-visible changes: - HTTP User-Agent on web_fetch / web_search: Felix/1.0 → harness/1.0 - bash tool path-substitution prefix: '[felix]' → '[harness]' - On-disk paths: <workspace>/.felix/ → <workspace>/.harness/ (todos.json + spill/ tree); tests updated in lockstep. - OTel trace attributes: felix.trace_id / felix.total_ms / felix.phase_count → harness.* equivalents. Doc-comment changes: - Examples (lta-agent, data-agent) lose 'non-Felix consumer' framing. - README drops the 'extracted from Felix' lede and the 'What was lifted from Felix' section, replaced with a 'Design' overview that points to developer.md. - Runtime / tool / compaction doc comments rewritten so behaviour notes describe what the harness does without naming the prior origin. - Test-fixture text 'you are felix' → 'you are an assistant'. Verified: zero 'felix' (case-insensitive) in tracked .go / .md files. All 16 packages build and pass tests.
This commit is contained in:
1 parent
8ed38d7b66
commit
123a233cb7
22 files changed
+107
-85
No files matched your search
@@ -1,9 +1,9 @@
|
||||
# harness
|
||||
|
||||
A reusable Go agentic harness extracted from [Felix](https://github.com/sausheong/felix).
|
||||
Implements the streaming agent loop, tool registry, session storage, compaction, and
|
||||
token budgeting that drive a multi-provider LLM agent. BYO concrete tools, BYO
|
||||
provider clients, BYO memory/knowledge-graph plugins.
|
||||
A reusable Go agentic platform for building LLM agents. Implements the
|
||||
streaming agent loop, tool registry, session storage, compaction, and
|
||||
token budgeting needed to run a multi-provider agent in production. BYO
|
||||
concrete tools, BYO provider clients, BYO memory/knowledge-graph plugins.
|
||||
|
||||
## Packages
|
||||
|
||||
@@ -74,13 +74,25 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
## What was lifted from Felix
|
||||
## Design
|
||||
|
||||
This module is a structural extraction of `internal/{agent,llm,tools,session,compaction,tokens}`.
|
||||
Behavior is preserved verbatim — same partition algorithm, same compaction triggers,
|
||||
same prompt cache stability rules, same token calibrator. Felix-specific pieces
|
||||
(HTTP gateway, JSON5 config, MCP client, bundled Ollama, knowledge-graph adapter,
|
||||
markdown skill loader, Telegram outbound, file-backed memory) stay in Felix.
|
||||
The harness is intentionally minimal. Every agent gets:
|
||||
|
||||
- A streaming think-act loop with parallel tool dispatch
|
||||
- A pluggable LLM provider interface (Anthropic, OpenAI, Gemini, Qwen
|
||||
built in; bring your own to add more)
|
||||
- Append-only session storage with optional JSONL persistence
|
||||
- Three-stage summarize-and-splice compaction with prompt-cache-stable
|
||||
prefixes
|
||||
- A token budget calibrator that learns the chars→tokens ratio per
|
||||
session
|
||||
|
||||
Everything else — skills, long-term memory, knowledge graphs,
|
||||
permission policies, subagent dispatch, on-disk session stores — is an
|
||||
optional plug-point. Pass `nil` and it disappears.
|
||||
|
||||
See [`developer.md`](./developer.md) for a step-by-step guide to
|
||||
building agents on top of harness.
|
||||
|
||||
## Status
|
||||
|
||||
|
||||
Reference in new issue
Block a user