Repository navigation
v1.4.0 - Agent Identity v1
Agent Identity v1
This release introduces Agent Identity as a first-class concept, enabling agents to exist as persistent entities with stable identifiers, lifecycle management, and owned memory across executions.
Key Features
Persistent Identity Model
- Stable
agent_id(UUID) that persists across executions - Lifecycle states:
created→active→dormant→retired(no hard deletes) - Agent capabilities and metadata storage
- Full audit trail for all identity lifecycle events
Agent-Scoped Memory
- Memory namespaces owned by agents with
agentIdparameter includeSharedoption to access shared memory- Memory isolation between agents
REST API
New endpoints at /api/v1/identities:
- Create, list, get, update identities
- Lifecycle operations: activate, deactivate, retire
- Audit trail retrieval
MCP Tools
8 new tools for identity management:
identity_create,identity_get,identity_list,identity_updateidentity_activate,identity_deactivate,identity_retire,identity_audit
Spawner Integration
identityIdoption to spawn with existing identitycreateIdentityoption for ephemeral identities- Stopping an agent transitions its identity to
dormant
Example Usage
# Create identity via REST
curl -X POST /api/v1/identities \
-d '{"agentType":"coder","displayName":"main-coder"}'
# Spawn agent with identity
curl -X POST /api/v1/agents \
-d '{"type":"coder","identityId":"<uuid>"}'
# Store agent-scoped memory
aistack memory store -k learning -c "I learned X" --agent-id <uuid>Test Coverage
- 7 new test files with 90%+ coverage on identity code
- All 1728 tests passing
Full Changelog: v1.3.1...v1.4.0