Skillquality 0.45

litestar-ai-serving

Auto-activate for Google ADK, LlmAgent, Runner, SQLSpecSessionService, Vertex AI, agent chat endpoints, streaming AI responses, tool-calling endpoints, or Litestar-hosted model workflows. Use when serving AI agents or model-backed workflows from Litestar. Not for offline ML train

Price
free
Protocol
skill
Verified
no

What it does

Litestar AI Serving

Use this skill for HTTP-facing AI agent endpoints, Google ADK integration, session-backed conversations, and Litestar service boundaries around model workflows.

Code Style Rules

  • Keep agent orchestration behind service functions or providers.
  • Use typed request and response DTOs at the HTTP boundary.
  • Store multi-turn state through the project's database stack.
  • Stream only when the client contract needs incremental output.

Quick Reference

<workflow>

Workflow

  1. Define the HTTP contract before agent internals.
  2. Wire agent runners through DI.
  3. Persist session state through the chosen data stack.
  4. Test deterministic failure, timeout, and cancellation paths.
</workflow> <guardrails>

Guardrails

  • Do not expose raw agent internals as the API contract.
  • Do not block request workers with unbounded model calls.
  • Do not store prompts, tool outputs, or memory without a retention decision.
  • Do not skip authorization on agent endpoints.
</guardrails> <validation>

Validation Checkpoint

  • Request and response DTOs are explicit.
  • Session persistence is wired.
  • Timeouts and model failures are handled.
  • Auth policy matches the sensitivity of tools and data.
</validation> <example>

Example

@get("/chat/{session_id:str}")
async def chat(session_id: str, runner: Runner, body: ChatRequest) -> ChatResponse:
    result = await runner.run_async(session_id=session_id, new_message=body.message)
    return ChatResponse(message=result.final_response)
</example>

References Index

Official References

Shared Styleguide Baseline

Capabilities

skillsource-litestar-orgskill-litestar-ai-servingtopic-advanced-alchemytopic-agent-skillstopic-agentskillstopic-ai-agentstopic-claude-code-plugintopic-claude-code-skillstopic-gemini-cli-extensiontopic-htmxtopic-inertiatopic-litestartopic-mcptopic-python

Install

Quality

0.45/ 1.00

deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 7 github stars · SKILL.md body (2,216 chars)

Provenance

Indexed fromgithub
Enriched2026-05-18 19:13:53Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18

Agent access