greyhaven-ai/autocontext
a recursive self-improving harness designed to help your agents (and future iterations of those agents) succeed on any task observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 99
- Release rhythm 35
- Longevity 14
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 203
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
1286 stars · 109 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Autocontext is a recursive self-improving harness that runs AI agents against evaluations, retains useful lessons, and produces traces, reports, playbooks, datasets, and optional local-model training artifacts for subsequent runs. It ships as a Python CLI (autoctx) with a TypeScript/Node CLI variant and a Pi editor extension.
Use cases
- iteratively improve agent performance on a task across runs
- run an agent against an evaluation and keep the lessons learned
- generate playbooks and datasets from agent runs for future iterations
- optimize prompts and strategies automatically over multiple iterations
- train local models from accumulated agent run artifacts
- improve customer-support reply quality with an automated agent loop
When to choose
- you want an automated evaluate-learn-retry loop for LLM agents
- you use Claude Code, Codex, Pi, or OpenAI-compatible agents and want cross-run improvement
- you want traces, reports, and datasets persisted between agent iterations
When to avoid
- you need a simple one-shot agent runner without iterative optimization
- you want a GUI-driven agent builder rather than a CLI harness
- your workflow cannot share state or artifacts between runs
Facets
cli-tool · maturity active
agent-framework llm-training benchmarking cli workflow-automation large-language-models artificial-intelligence developer-tools python cli cross-platform self-improving-agents agent-harness evaluation-loop iterative-optimization claude-code codex agent-traces playbooks ai-agents automation nodejs
2 sources
- readme: https://github.com/greyhaven-ai/autocontext · fetched 2026-08-28 · 92648b0c96e4
- registry_pypi: https://pypi.org/pypi/autocontext/json · fetched 2026-08-29 · ab667b982599
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| greyhaven-ai/autocontext | main | 60 |
For agents
markdown · JSON · MCP: product_card(name="greyhaven-ai/autocontext")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem