Dobby-ai | Claude Code
3 subscribers
147 photos
139 links
Official Anthropic / Claude Code news, updates and release notes. Curated by Dobby — the Data Policy Platform for AI · dobby-ai.com
Download Telegram
Claude Sonnet 5 Lands in TypeScript SDK
📡 GitHub · anthropics/anthropic-sdk-typescript
🕐 30.06, 20:57
🏷️ #Anthropic #ClaudeCode #Claude #claude_sonnet_5
• The `claude-sonnet-5` model is now fully supported in the API.
• Fixed a bug in the `agent-toolset` allowing absolute paths to resolve correctly within the working directory.

💡 The addition of `claude-sonnet-5` is a significant upgrade for developers leveraging the TypeScript SDK.
This means you can now tap into its advanced reasoning and performance for more sophisticated applications, potentially simplifying complex prompt engineering or enabling new use cases.
Start migrating your existing `sonnet` prompts to `sonnet-5` to see immediate improvements in output quality and efficiency.
🚀
🔗 Official source
Claude Code Defaults to Sonnet 5
📡 GitHub · anthropics/claude-code
🕐 30.06, 20:56
🏷️ #Anthropic #ClaudeCode #Claude #sonnet_5
• Claude Sonnet 5 is now the default model in Claude Code.

• It boasts a native 1M-token context window.

• Enjoy promotional pricing: $2/Mtok for input, $10/Mtok for output through August 31.
💰

💡 The 1M-token context window for Sonnet 5 is a game-changer for tackling massive codebases or complex, multi-file refactoring tasks without losing context.
This means fewer manual context switches and more coherent, large-scale transformations from your AI assistant.
🔗 Official source
💡 Tip: Streamline Tool Execution with Partial `tool_use` Blocks 🚀
📡 Dobby-ai · Tip · Claude Code
🕐 05.07, 16:00
🏷️ #Anthropic #ClaudeCode #Claude #streaming
When using Claude's streaming API, you don't have to wait for the entire `tool_use` block to be generated before reacting.
Claude can stream partial `tool_use` blocks, allowing your application to start processing arguments or even preparing UI elements as soon as the tool name and some initial arguments are available.
This significantly reduces perceived latency and improves responsiveness for complex multi-tool interactions.

💡 This is a game-changer for building highly interactive agents or UIs where every millisecond counts, enabling you to pre-fetch data or render placeholders while Claude finishes generating the full tool call.
🔗 Official docs
💡 Tip: Elevate Your API Observability with `metadata`

📡 Dobby-ai · Tip · Claude Code
🕐 06.07, 09:00
🏷️ #Anthropic #ClaudeCode #Claude #API
When you're hitting the Claude API, don't overlook the `metadata` parameter – it's a game-changer for observability.
You can embed up to 20 custom key-value pairs (string values, max 512 chars) with each request.
This data gets logged right alongside your API usage, giving you a powerful way to tag and track specific calls.


💡 This is invaluable for debugging production issues, segmenting costs by feature or team, and gaining granular insights into how different parts of your application are utilizing the model.
🔗 Official docs
💡 Tip: Lock Down Output Formats with System Prompts 🔒
📡 Dobby-ai · Tip · Claude Code
🕐 06.07, 16:00
🏷️ #Anthropic #ClaudeCode #Claude #System_Prompt
Tired of Claude sometimes straying from your desired output structure? Place your strict formatting requirements, like JSON schemas or specific XML templates, directly into the system prompt.
This powerful technique makes the model's adherence to structure significantly more robust, acting as a persistent, authoritative directive for every response.

💡 When your downstream systems demand consistent, parseable output—think API integrations or data pipelines—leveraging the system prompt for formatting rules drastically reduces parsing errors and the need for retries.
It's a game-changer for reliability.
🔗 Official docs
💡 Tip: Precisely Halt Claude's Output with `stop_sequences` 🛑
📡 Dobby-ai · Tip · Claude Code
🕐 06.07, 17:00
🏷️ #Anthropic #ClaudeCode #Claude #API
Tired of Claude running wild with its responses or generating text beyond your expected boundaries? The `stop_sequences` parameter is your secret weapon! By providing a list of strings, you can instruct Claude to immediately stop generating output as soon as it encounters any of them.
This is clutch for maintaining tight control over response length and format, especially when integrating with parsers or subsequent logic.

💡 This is a game-changer for ensuring predictable, concise outputs that cleanly fit into structured data flows or multi-step processes.
🔗 Official docs
Global Workspace: Interpreting Claude's Mind
📡 anthropic.com
🕐 07.07, 09:00
🏷️ #Anthropic #ClaudeCode #Claude #LLM_interpretability
Anthropic is diving deep into the interpretability of Claude's internal processes.

The research explores the concept of a "global workspace" within large language models.

This aims to understand how Claude forms and utilizes its internal thoughts and representations.

💡 Understanding how LLMs like Claude manage a "global workspace" is key to unlocking more transparent and controllable AI.
If we can map these internal thought processes, we gain powerful debugging tools and a path to more predictable, steerable models, moving beyond the current black-box limitations.
🔗 Official source
Alberta Government Taps Claude for Cybersecurity
📡 anthropic.com
🕐 07.07, 08:00
🏷️ #Anthropic #ClaudeCode #Claude #Claude_Code
• The Government of Alberta is now actively deploying Claude Code across their systems.
• Utilizing both Opus and Sonnet models, they're scanning for weaknesses.
• The primary goal: pinpointing and fixing cybersecurity vulnerabilities at scale.
🛡️

💡 The adoption of Claude by a government entity for critical cybersecurity tasks signals a significant leap in trust and capability for AI in sensitive environments.
This isn't just about writing code; it's about leveraging advanced models to proactively secure infrastructure, shifting from reactive fixes to preventative measures.
🔗 Official source
Claude Agent SDK: Zombie Subprocesses Exterminated 🧟
📡 GitHub · anthropics/claude-agent-sdk-python
🕐 07.07, 02:05
🏷️ #Anthropic #ClaudeCode #Claude #bugfix
• Squashed a nasty bug that left `claude` child processes orphaned.
• Subprocess cleanup is now shielded from `asyncio` cancellation, guaranteeing `SIGTERM`/`SIGKILL` teardown.
• Say goodbye to resource-hogging zombie processes and hello to cleaner shutdowns.

💡 Nothing grinds an application to a halt faster than silent resource leaks from forgotten processes.
This fix is crucial for maintaining the health and performance of your `claude` agent services, especially in high-concurrency or long-running environments where orphaned processes can quickly accumulate and exhaust system resources.
🔗 Official source
Exploring Claude's Cognitive Layers
📡 youtube.com
🕐 08.07, 07:12
🏷️ #Anthropic #ClaudeCode #Claude #Claude_AI
This content discusses the conceptual "levels" or layers that describe how Claude processes information and generates responses.

💡 While the content provides a high-level overview, the practical application of understanding Claude's cognitive layers often comes down to how developers can leverage this knowledge to better structure prompts or debug complex interactions.
Without concrete examples of these layers in action, it remains a theoretical discussion.
🔗 Official source
Claude Agent SDK: CLI v2.1.204 Bundled
📡 GitHub · anthropics/claude-agent-sdk-python
🕐 08.07, 03:41
🏷️ #Anthropic #ClaudeCode #Claude #claude_agent_sdk
The `claude-agent-sdk` Python package now bundles the Claude CLI at version 2.1.204.

💡 This CLI update ensures your local agent development environment is leveraging the latest tooling, which often includes critical bug fixes and performance enhancements that aren't always explicitly called out in the SDK's release notes.
Keeping your CLI up-to-date is crucial for stability and compatibility with new Claude models or features.
🔗 Official source
Headless SessionStart Hook Streaming Fixed
📡 GitHub · anthropics/claude-code
🕐 08.07, 03:27
🏷️ #Anthropic #ClaudeCode #Claude #bugfix
• Hook events now stream correctly during SessionStart hooks in headless sessions.
• This resolves an issue where remote workers could be prematurely idle-reaped mid-hook.

💡 This fix is a game-changer for anyone running critical setup logic in SessionStart hooks within headless environments.
No more frustrating, unexplained worker terminations mid-initialization; your remote workers will now reliably complete their startup tasks.
🔗 Official source
AI 'Off Switch' for Dangerous Knowledge
📡 anthropic.com
🕐 09.07, 07:00
🏷️ #Anthropic #ClaudeCode #Claude #AI_safety
Anthropic announced new research results on a method to control access to potentially dangerous AI capabilities.
This work explores an "off switch" mechanism for dual-use knowledge embedded within AI models.

💡 The ability to selectively disable specific, potentially harmful knowledge within a model is massive for responsible AI deployment.
Think about confidently deploying a powerful model without the constant fear of it being prompted for malicious outputs.
This moves us closer to AI systems that are powerful yet inherently safer.
🛡️
🔗 Official source
Agent SDK Python Bundles Newer Claude CLI
📡 GitHub · anthropics/claude-agent-sdk-python
🕐 09.07, 00:36
🏷️ #Anthropic #ClaudeCode #Claude #claude_agent_sdk
The Claude Agent SDK for Python v0.2.114 now bundles Claude CLI version 2.1.205.

💡 A newer bundled CLI often means you're getting the latest under-the-hood fixes and potentially performance tweaks without needing to manually update your local Claude CLI.
This ensures your SDK-driven agents are always running with a more current and stable backend interface.
🔗 Official source
Claude Usage Tracking & Visualization
📡 anthropic.com
🕐 09.07, 14:00
🏷️ #Anthropic #ClaudeCode #Claude #Claude_usage
• Introducing new tools to track and visualize your Claude usage.
• Easily reflect on how your time with Claude aligns with your development goals.

💡 This isn't just a fancy dashboard; it's a direct shot at optimizing your workflow by pinpointing exactly where Claude is (or isn't) delivering value.
It's a game-changer for identifying over-prompting or missed opportunities to leverage Claude more effectively.
🔗 Official source
Anthropic Invites Hard AI Questions
📡 anthropic.com
🕐 10.07, 10:00
🏷️ #Anthropic #ClaudeCode #Claude #AI_governance
Anthropic is actively soliciting the public's toughest questions about AI.
They're committing to full transparency, promising to "show their work" as they address each query.

💡 This initiative offers a direct channel for developers to challenge Anthropic on critical AI issues, from model biases to safety protocols, potentially influencing their research roadmap and product development with real-world feedback.
What's *your* hardest question for them?
🔗 Official source
Claude Expands to Physical AI via UST
📡 anthropic.com
🕐 10.07, 08:00
🏷️ #Anthropic #ClaudeCode #Claude #ecosystem
• UST is integrating Claude into physical AI applications.
• This marks Claude's entry into real-world, tangible AI systems.

💡 This partnership signals a significant expansion for Claude, pushing its advanced reasoning and natural language understanding into tangible, real-world systems.
Developers should consider how Claude's contextual awareness could enhance robotic decision-making, power smarter IoT devices, or provide nuanced interpretations for complex physical sensor arrays.
🤖
🔗 Official source
Bernanke Joins Anthropic Trust
📡 anthropic.com
🕐 10.07, 12:00
🏷️ #Anthropic #ClaudeCode #Claude #AI_governance
Ben Bernanke, former Federal Reserve Chair, has been appointed to Anthropic’s Long-Term Benefit Trust.
Anthropic is an AI safety and research company dedicated to building reliable, interpretable, and steerable AI systems.

💡 The inclusion of a figure like Ben Bernanke in Anthropic's Long-Term Benefit Trust signals a serious commitment to integrating high-level economic and governance expertise into AI safety, aiming to align advanced AI with broad societal well-being.
This move highlights the growing importance of robust, independent oversight in the AI development landscape.
🔗 Official source
Claude Agent SDK v0.2.116: CLI & CI Fixes
📡 GitHub · anthropics/claude-agent-sdk-python
🕐 11.07, 04:05
🏷️ #Anthropic #ClaudeCode #Claude #claude_agent_sdk
• Bundled Claude CLI updated to version 2.1.207.
• Fixed a critical CI workspace trust issue, ensuring Claude Code now correctly honors project-scoped permission grants in checkout directories.
🛡️

💡 The fix for CI workspace trust is a game-changer for secure automation.
It means your Claude Code agents will finally respect those granular, project-specific permission grants you've set up in your CI/CD pipelines.
This directly translates to more secure and compliant automated workflows, preventing over-privileged access and reducing potential attack surfaces.
🔗 Official source
Claude Code: Auto Mode Now Default on Cloud Platforms
📡 GitHub · anthropics/claude-code
🕐 11.07, 03:52
🏷️ #Anthropic #ClaudeCode #Claude #auto_mode
• Auto mode is now enabled by default for Bedrock, Vertex AI, and Foundry users.
• No more `CLAUDE_CODE_ENABLE_AUTO_MODE` opt-in needed!
• If you prefer manual control, disable it using `disableAutoMode` in your settings.
• Squashed a pesky bug that caused terminal freezing and keyboard issues.

💡 Making Auto Mode the default on Bedrock, Vertex AI, and Foundry significantly streamlines the initial setup and interaction for new users, letting them jump straight into generative coding without configuration hurdles.
This pushes Claude Code further towards a "just works" experience, reducing friction for developers integrating it into their cloud workflows.
🔗 Official source
Anthropic TS SDK Adds 'Dreaming' API
📡 GitHub · anthropics/anthropic-sdk-typescript
🕐 10.07, 20:12
🏷️ #Anthropic #ClaudeCode #Claude #anthropic_sdk
• The `dreaming` API is now officially supported, opening doors for advanced AI model introspection and generation.
• Session tool calls are now gated by `evaluated_permission`, enhancing security and control.
• Idle sessions are properly bounded by server stop signals, leading to better resource management.

💡 The new `dreaming` API isn't just a catchy name; it's a powerful mechanism for exploring and influencing how models generate content or even 'imagine' scenarios.
Think about leveraging it for advanced prompt engineering, generating diverse creative outputs, or even debugging model biases by observing its internal states.
🔗 Official source