Djinn-Agent is a lightweight, terminal-based tool designed for seamless interaction with Claude's cutting-edge computer-use capabilities—now optimized exclusively for terminal environments. Djinn-Agent enables efficient, command-line-driven workflows, excluding GUI-based actions to focus solely on terminal execution. Tailored for developers looking to integrate Claude’s functionality directly into their command line, Djinn-Agent is both intuitive and efficient.
- Direct CLI Access: Interact with Claude directly from your terminal for a streamlined experience.
- Terminal-Only Computer Use Capabilities: Leverages Claude’s ability to execute terminal commands, specifically excluding GUI operations, for robust CLI automation.
- Customizable for Development: With simple setup and configuration options, you can easily tweak Djinn-Agent to fit your project's needs.
- Seamless Integration: Designed to integrate smoothly with Claude’s API, making advanced AI-powered actions straightforward.
Check out the video demo to see Djinn-Agent in action, where it identifies the largest file in the current directory and generates a concise summary of its contents.
To get started, install Djinn-Agent via pip
:
pip install djinn-agent
Once installed, you’ll need to set up an environment variable for authentication with Claude’s API:
export ANTHROPIC_API_KEY="your_api_key_here"
Now you can start using Djinn-Agent directly from your terminal with:
djinn-agent
If you’re looking to work on or extend Djinn-Agent, follow these steps:
-
Clone the Repository:
git clone [email protected]:sumleo/djinn-agent.git cd djinn-agent
-
Run the Setup Script:
To set up your development environment, execute:
./setup.sh
-
Set the API Key:
Add the
ANTHROPIC_API_KEY
environment variable:export ANTHROPIC_API_KEY="your_api_key_here"
-
Start Djinn-Agent:
After setup, you’re ready to launch Djinn-Agent and begin development!
Special thanks to the Anthropic Quickstarts repository for providing demo code that inspired and powered parts of Djinn-Agent.
Djinn-Agent is your companion for harnessing the power of Claude’s computer-use capabilities directly from the terminal. With a focus on terminal-only operations, Djinn-Agent is perfect for automating tasks, developing AI workflows, and enhancing productivity through the command line.