Skip to content
kalyna.pro

kalyna.pro

AI-Driven Developer

  • AI & Automation
    • Docker
  • Design Patterns
    • Creational
    • Structural
    • Behavioral
    • SOLID
  • MySQL
  • Blog
  • Privacy Policy

Claude API

Streaming Responses with Claude API in Python (2026)

June 12, 2026 by Калина Сергій
Streaming Responses with Claude API in Python (2026)

Complete guide to streaming with the Claude API in Python: text_stream, the raw event protocol, async streaming, error handling, and a FastAPI endpoint that streams to the browser via SSE.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial

Claude Prompt Caching: How to Cut API Costs (2026)

June 12, 2026 by Калина Сергій
Claude Prompt Caching: How to Cut API Costs (2026)

How Claude’s prompt caching works: cache breakpoints, pricing for cache writes vs reads, the 1-hour extended TTL, and real cost-savings examples for RAG apps and agents.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial

Claude API Function Calling: Complete Guide to Tool Use (2026)

June 12, 2026 by Калина Сергій
Claude API Function Calling: Complete Guide to Tool Use (2026)

Master Claude’s tool use API: define tools with JSON Schema, handle multi-step and parallel tool calls, force tool choice, stream tool inputs, and build a complete multi-tool agent.

Categories AI & Automation Tags AI Agent, Anthropic, Claude API, Python, Tutorial

Claude vs GPT-4: Which AI API Is Better for Developers? (2026)

June 11, 2026June 5, 2026 by Калина Сергій
Claude vs GPT-4: Which AI API Is Better for Developers? (2026)

Hands-on comparison of Claude vs GPT-4 APIs: models, pricing, context windows, prompt caching, tool use, and code generation quality. Which AI API should you choose for your application?

Categories AI & Automation Tags Anthropic, Claude API, LLM, Tutorial

LLM Application Development: A Complete Developer’s Guide (2026)

June 11, 2026June 5, 2026 by Калина Сергій
LLM Application Development: A Complete Developer's Guide (2026)

Complete guide to LLM application development: prompts, context management, RAG, tool use, streaming, prompt caching, structured output, and production best practices with Python and Claude API.

Categories AI & Automation Tags Claude API, LLM, Python, Tutorial

Claude API Tutorial: Complete Beginner’s Guide (Python, 2026)

June 11, 2026May 25, 2026 by Калина Сергій
Claude API Tutorial: Complete Beginner's Guide (Python, 2026)

Step-by-step Claude API tutorial: authentication, text generation, streaming, vision, tool use — build your first AI app with the Anthropic Python SDK.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial

How to Build a RAG Chatbot with Python

June 11, 2026May 13, 2026 by Калина Сергій
How to Build a RAG Chatbot with Python

Build a RAG chatbot from scratch using Python, ChromaDB, and Claude. Load documents, create a vector index, retrieve relevant chunks, and generate grounded answers.

Categories AI & Automation Tags Claude API, LLM, RAG, Tutorial

How to Get Your Anthropic Claude API Key

June 11, 2026May 13, 2026 by Калина Сергій
How to Get Your Anthropic Claude API Key

Step-by-step guide to getting an Anthropic API key: account setup, key creation, secure storage, rate limits, and pricing overview.

Categories AI & Automation Tags Anthropic, Claude API, Tutorial

Claude API Node.js & TypeScript Tutorial: @anthropic-ai/sdk, Streaming & Prompt Caching (2026)

June 12, 2026May 8, 2026 by Калина Сергій
How to Use Claude API with Node.js

Complete guide to @anthropic-ai/sdk for Node.js and TypeScript: messages.create, streaming responses, prompt caching with cache_control (ephemeral), multi-turn conversations, and error handling. Working code examples for every step.

Categories AI & Automation Tags Anthropic, Claude API, Tutorial
Older posts
Page1 Page2 Next →
Serhii Kalyna
Serhii Kalyna
Senior Dev · AI & Automation

18+ years building web apps. Now focused on AI development and LLM integrations — sharing what actually works in production.

About me ↗Contact
  • AI & Automation
  • Behavioral Design Patterns
  • Blog
  • Creational Patterns
  • Design Patterns
  • Docker
  • GIT
  • Linux
  • MySQL
  • SOLID Principles
  • Structural Design Patterns
© 2025 Блог Сергія Калини