agently-fastapi-service

star 3

FastAPI service wrappers for Agently Agent + TriggerFlow (POST, SSE, WebSocket).

AgentEra By AgentEra schedule Updated 2/1/2026

name: agently-fastapi-service description: FastAPI service wrappers for Agently Agent + TriggerFlow (POST, SSE, WebSocket).

Agently FastAPI Service Skill

Use this skill to expose Agently/TriggerFlow as HTTP and streaming APIs.

Key Patterns

  • POST endpoint for one-shot responses.
  • SSE endpoint for streaming deltas.
  • WebSocket endpoint for duplex streaming.

Pitfalls to Avoid (Lessons from NexusTodo)

  • Stream event types should be explicit (delta, action, execution, done, error).
  • Only send cards or final summaries in done to avoid duplicates in the UI.
  • Enforce identity + auth headers (Authorization, X-User-ID, X-Device-ID) on every request.
  • Prefer GET query params for SSE when payload is small; rely on sessionId for context.

References

  • examples/fastapi_triggerflow_service.py

Examples

See examples/run.sh for runnable commands.

Install via CLI
npx skills add https://github.com/AgentEra/Agently-NexusTodo --skill agently-fastapi-service
Repository Details
star Stars 3
call_split Forks 2
navigation Branch main
article Path SKILL.md
More from Creator