Thinking gets a URL.

Save knowledge from any AI tool as pages at clean URLs.
Search and reuse from anywhere via API or MCP.

basepage.io/simonbc/fastapi-streaming
FastAPI Streaming Responses
claude-code Apr 15, 2026 public

StreamingResponse wraps an async generator. The key insight: you yield bytes, not strings...

async def generate():
    async for chunk in llm.stream(prompt):
        yield f"data: {chunk}\n\n"

return StreamingResponse(generate())
Save from anywhere Web editor, REST API, or MCP.
Search and reuse Full-text search. AI agents find what you saved.
Everything gets a URL Clean links. Private by default, public when ready.