Skip to content

prettywiredbuilds/stateless-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Stateless Agent

A basic Python agent built with the Anthropic SDK that processes each user message independently, with no conversation history retained between turns. Each message sent to the model is treated as a fresh conversation — the agent has no memory of prior exchanges.

Prerequisites

Install the required package:

pip install anthropic

Set your API key as an environment variable:

export ANTHROPIC_API_KEY="your-api-key-here"

Run the Sample

python chat.py

Once running, type a message and press Enter to get a response. Type quit to exit.

Issues & Questions

If you run into any problems or have questions, please file an issue.

About

A basic Python agent built with the Anthropic SDK that processes each user message independently, with no conversation history retained between turns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages