Expand description
AI Studio HTTP handlers
This module provides HTTP endpoints for AI Studio features:
- API Architecture Critique
- System Generation
- Behavioral Simulation
Structs§
- AiStudio
State - State for AI Studio handlers
- ApiCritique
Request - Request body for API critique endpoint
- ApiCritique
Response - Response for API critique endpoint
- Apply
System Request - Request body for apply system design endpoint
- Apply
System Response - Response for apply system design endpoint
- Create
Agent Http Request - Request body for create agent endpoint
- Create
Agent Response - Response for create agent endpoint
- Freeze
Artifacts Request - Request body for freeze artifacts endpoint
- Freeze
Artifacts Response - Response for freeze artifacts endpoint
- Simulate
Behavior Http Request - Request body for simulate behavior endpoint
- System
Generation Http Request - Request body for system generation endpoint
- System
Generation Response - Response for system generation endpoint
Functions§
- ai_
studio_ router - Build AI Studio router
- api_
critique_ handler - Analyze an API schema and generate critique
- apply_
system_ handler - Apply system design (freeze artifacts if deterministic mode requires it)
- create_
agent_ handler - Create a new narrative agent
- freeze_
artifacts_ handler - Freeze specific artifacts manually
- generate_
system_ handler - Generate a complete system from natural language description
- simulate_
behavior_ handler - Simulate behavior based on current state