Spaces:
Build error
Build error
Commit ·
88e38ed
1
Parent(s): fb4eade
Remove OSS_PR_STRATEGY.md from public repo
Browse files- OSS_PR_STRATEGY.md +0 -46
OSS_PR_STRATEGY.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
| 1 |
-
# Headroom OSS PR Strategy
|
| 2 |
-
|
| 3 |
-
## Goal
|
| 4 |
-
Contribute to popular LangChain ecosystem repos to demonstrate Headroom's value and drive adoption.
|
| 5 |
-
|
| 6 |
-
## Target Repos (Ranked by Priority)
|
| 7 |
-
|
| 8 |
-
### Priority 1: `langchain-ai/how_to_fix_your_context`
|
| 9 |
-
- **What**: LangChain's official repo of context management techniques
|
| 10 |
-
- **PR**: Add `06-context-compression.ipynb` notebook showing Headroom as technique #6
|
| 11 |
-
- **Why accept**: They're curating techniques, not competing. Compression is genuinely different from pruning/summarization.
|
| 12 |
-
- **Status**: IN PROGRESS
|
| 13 |
-
|
| 14 |
-
### Priority 2: `langchain-ai/langgraph` docs/cookbook
|
| 15 |
-
- **What**: Core LangGraph framework
|
| 16 |
-
- **PR**: Add `compress_tool_messages` pre-model hook example
|
| 17 |
-
- **Issues it addresses**: #3717 (ToolMessage overflow), #11405 (agent token limit), #2140 (127K tokens from plugin)
|
| 18 |
-
- **Status**: DONE — `compress_tool_messages()` and `create_compress_tool_messages_node()` in `headroom/integrations/langchain/langgraph.py`
|
| 19 |
-
|
| 20 |
-
### Priority 3: `langchain-ai/deepagents` (~17K stars)
|
| 21 |
-
- **What**: LangChain's coding agent (like Claude Code but OSS)
|
| 22 |
-
- **PR**: Integrate Headroom as compression backend (they already claim "automatic compression")
|
| 23 |
-
- **Status**: TODO
|
| 24 |
-
|
| 25 |
-
### Priority 4: `langchain-ai/open-swe`
|
| 26 |
-
- **What**: Async coding agent that resolves GitHub issues
|
| 27 |
-
- **PR**: Add optional Headroom compression for long-running tasks
|
| 28 |
-
- **Status**: TODO
|
| 29 |
-
|
| 30 |
-
### Priority 5: `assafelovic/gpt-researcher`
|
| 31 |
-
- **What**: Autonomous research agent (explicitly cites token limits as motivation)
|
| 32 |
-
- **PR**: Add Headroom to compress scraped web content before synthesis
|
| 33 |
-
- **Status**: TODO
|
| 34 |
-
|
| 35 |
-
### Priority 6: `langchain-core` — `compress_messages` utility
|
| 36 |
-
- **What**: Core LangChain library
|
| 37 |
-
- **PR**: Add `compress_messages()` alongside `trim_messages()`
|
| 38 |
-
- **Status**: TODO (hardest to land, highest impact)
|
| 39 |
-
|
| 40 |
-
## Key Links
|
| 41 |
-
- [how_to_fix_your_context](https://github.com/langchain-ai/how_to_fix_your_context)
|
| 42 |
-
- [LangGraph Issue #3717](https://github.com/langchain-ai/langgraph/issues/3717)
|
| 43 |
-
- [LangChain Issue #11405](https://github.com/langchain-ai/langchain/issues/11405)
|
| 44 |
-
- [deepagents](https://github.com/langchain-ai/deepagents)
|
| 45 |
-
- [open-swe](https://github.com/langchain-ai/open-swe)
|
| 46 |
-
- [gpt-researcher](https://github.com/assafelovic/gpt-researcher)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|