AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Litestar Ai Serving

skill-litestar-org-litestar-skills-litestar-ai-serving · by litestar-org

Auto-activate for Google ADK, LlmAgent, Runner, SQLSpecSessionService, Vertex AI, SSE agent chats, tool calls, or Litestar model workflows. Not for offline ML training.

No reviews yet
0 installs
33 views
0.0% view→install

Install

$ agentstack add skill-litestar-org-litestar-skills-litestar-ai-serving

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-litestar-org-litestar-skills-litestar-ai-serving)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Litestar Ai Serving? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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

  • AI serving patterns: [ai-serving.md](references/ai-serving.md)
  • Pair with [sqlspec](../sqlspec/SKILL.md) for ADK session stores.
  • Pair with [litestar-realtime](../litestar-realtime/SKILL.md) for streaming or event fan-out.

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.

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.

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.

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)

References Index

  • [ai-serving.md](references/ai-serving.md)

Official References

  • - Litestar documentation
  • - Litestar API reference

Shared Styleguide Baseline

  • [General](../litestar-styleguide/references/general.md)
  • [Python](../litestar-styleguide/references/python.md)
  • [Litestar](../litestar-styleguide/references/litestar.md)

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.