agentic_ai_basics

tool_use

Tool use (function calling) — giving Claude the ability to take actions, not just talk.

basic_agentic_tools.py

A task manager agent that uses tools to add, list, and complete tasks. Tasks persist to tasks.json in this folder. Type exit to end the conversation.

Concepts covered

Run

From the repo root:

pip install -r requirements.txt
export ANTHROPIC_API_KEY=your-key-here
python3 Core_Architecture/tool_use/basic_agentic_tools.py

Try prompts like:

You: Add a task to buy groceries, due tomorrow
You: What tasks do I have open?
You: Mark that task as done

Configuration

Edit the constants at the top of basic_agentic_tools.py:

See also