# unicity-aos/capsule-identity

System prompt builder. Assembles agent identity from workspace config and spark.toml. Part of Unicity AOS.

Repository: https://github.com/unicity-aos/capsule-identity
Canonical: https://ross.abutalabs.com/products/capsule-identity
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-07-02T04:13:02+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 91, longevity 12
- inputs: {"age_days": 170, "days_push": 62, "days_rel": 62, "gap_med": 17, "n_releases_24m": 2}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8504, forks 19 (observed 2026-08-28T04:10:23.173535+00:00)

## What it is
A Rust-based system prompt builder that assembles an AI agent's identity from workspace config (spark.toml) and persisted capsule KV state. It acts as the identity module ('/etc/profile') of Astrid OS, handling onboarding and publishing assembled prompts over an IPC event protocol.

## Use cases
- build system prompts for AI agents from config files
- persist and recover agent identity across sessions
- onboard users by collecting agent identity via LLM tool calls
- assemble identity and environment context into LLM prompts
- manage agent identity state with KV isolation

## When to choose
- you are building agents on Astrid OS or its capsule/IPC model
- you need structured, persistent agent identity with onboarding flows
- you want a Rust component that assembles system prompts from config and state

## When to avoid
- you need a general-purpose prompt library outside the Astrid OS ecosystem
- you want a standalone agent runtime rather than an identity/prompt module
- you need a framework-agnostic prompt builder with no IPC event dependencies

## Facets
- artifact type: library
- maturity: active
- function: agent-framework, prompt-engineering, configuration-management
- domain: large-language-models, developer-tools
- platform: rust, windows
- tags: system-prompt, agent-identity, event-driven, ipc, capsule, astrid-os, ai-agents, linux, macos

## Member repositories
- unicity-aos/capsule-identity (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:23.173535+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:26:42.621789+00:00, confidence not recorded.
  - readme: https://github.com/unicity-aos/capsule-identity (fetched 2026-08-28T04:10:23.173535+00:00, sha 9e0b887a7607)
- Data as of 2026-08-30T08:39:29.467469+00:00.
