Durable people context, confirmed by you, reused forever.
CoStar is an open-core skill engine for durable relationship context. Think of it like a chief of staff that never forgets: it turns messy notes, meetings, transcripts, and history into people profiles, confirmed updates, briefs, roleplay simulations, graph views, and persistent markdown views.
If you are a developer or product builder, this repository gives you the skill core. If you are looking for the hosted consumer product, that lives in a separate UI layer built on top of CoStar.
CoStar is designed around a simple loop:
-
capture- accept single or batch inputs
- recall relevant existing context automatically
- show the user what was found and what needs review
-
profile- read, search, and patch person profiles
- support both cold-start and mature profiles
-
briefing- generate meeting prep from confirmed context
- surface implicit needs, key issues, consensus / non-consensus, key quotes, and attitude / intent reads
- keep it short enough to read before a conversation
-
memory(V0.3 release candidate)- keep source-backed atomic facts in one long-term memory store
- require review / commit before durable writes
- let briefing show which memory facts were used
- record user corrections as feedback, reflection candidates, and reusable extraction hints
- lint memory for stale commitments, zombie facts, conflicts, isolated entities, and knowledge gaps
CoStar now has host-model adapter bundles for Claude, Codex, and OpenClaw. In host-model mode, the host product supplies model reasoning and CoStar keeps the durable stores, schemas, review / commit flow, graph, view, and briefing contracts. This means users should not need a separate CoStar model API key.
Fast install checks:
node bin/costar.mjs host install claude
node bin/costar.mjs host doctor claude
node bin/costar.mjs host install codex --apply-skill
node bin/costar.mjs host doctor codex
node bin/costar.mjs host install openclaw
node bin/costar.mjs host doctor openclawSee support matrix and tester package for the current acceptance scope.
V0.3 adds an atomic memory layer under costar-core/memory/.
It is designed as the long-term fact source for CoStar, not a second data
world. Existing profile, graph, and view stores remain compatible read models,
while new source-backed facts go through memory candidates, user review, and
commit.
Useful commands:
npm run test:memory
node bin/costar.mjs memory lint --store costar-core/memory/runtime/stores/memory-store.jsonSee Memory V0.3 for the data model, migration boundary, briefing evidence trace, and release checks.
V0.3.2 narrows the default memory feedback loop: CoStar records review diffs, fact or artifact feedback, and feedback reports as stable quality signals. Reflection candidates and extraction hints remain experimental, disabled by default, and should not be treated as the default user workflow until enough review-diff evidence exists.
These skills are already included, but they are not the headline loop:
relationship-roleplayrelationship-graphrelationship-viewrelationship-ingestion
If you are a test user, start here:
If you want the fastest local setup, run the init wizard:
node bin/costar.mjs initThe wizard reads OPENAI_BASE_URL, OPENAI_MODEL, and OPENAI_API_KEY
from your environment when they are already set. Otherwise it will guide you
through the local model config step by step.
If you are a Chinese reader, see:
If you are using OpenClaw, the fastest path is:
- Read
integrations/openclaw/README.md - Run
node bin/costar.mjs host install openclaw - Run
node bin/costar.mjs host doctor openclaw
If you want to share CoStar with someone else, start with:
Once the repo is cloned, you can use the costar CLI:
node bin/costar.mjs --helpAvailable commands:
costar initcostar capturecostar ingestioncostar profilecostar briefingcostar roleplaycostar graphcostar viewcostar memory lintcostar doctor
costar_agent/
assets/branding/ Brand assets for GitHub and docs
bin/ CoStar CLI entrypoint
costar-core/ Shared stores, commits, host tools, and MCP bridge
costar-core/memory/ Atomic memory store, review, retrieval, and lint
examples/ Small public example stories
integrations/claude/ Claude host-model adapter bundle
integrations/codex/ Codex host-model skill adapter
integrations/openclaw/ OpenClaw host-model adapter and bootstrap helpers
relationship-ingestion/ Core extraction and review-resolution engine
relationship-capture/ User-facing ingestion orchestration layer
relationship-profile/ Durable profile read/update skill
relationship-briefing/ Brief generation from confirmed context
relationship-roleplay/ Structured simulated dialogue skill
relationship-graph/ Relationship graph and pathfinding skill
relationship-view/ Persistent markdown views and refresh logic
Do not commit:
relationship-ingestion/runtime/model-config.local.json- runtime run outputs
- memory runtime stores
- validation workspaces
- private real-data scenarios
Keep your own private data local unless you explicitly want to share a test case.
See ROADMAP.md for the current delivery plan and target dates.
