conversation-state-management - DB-persisted conversation state for stateless AI agents
Implement DB-persisted conversation state for stateless AI agent servers
Tags
Updated: 2026-03-26Capabilities
Typical Inputs
Typical Outputs
What this skill does
- design conversation data models
- create conversation
- load conversation
- append message
- enforce message role ordering
- fetch conversation history
- resume conversation
- delete conversation
Inputs
- Neon PostgreSQL database
- user credentials
- user ID
- conversation title
- system prompt
- message content
- message role
Outputs
- conversation records
- message records
- conversation list
- conversation history
Requirements
- Python with SQLModel/Pydantic
- PostgreSQL database
- authenticated endpoints
- stateless server architecture
