A framework for building stable AI agents.
pip install stableagents
# Clone the repository
git clone https://github.com/yourusername/stableagents.git
cd stableagents
# Install with Poetry
poetry install
# Interactive mode
stableagents interactive
# Memory operations
stableagents memory add short_term test_key "test value"
stableagents memory get short_term test_key
# Computer control with natural language
stableagents control open calculator
stableagents control search for python documentation
stableagents control list .
from stableagents import StableAgents
# Create an agent
agent = StableAgents()
# Add to memory
agent.add_to_memory("short_term", "key", "value")
# Get from memory
value = agent.get_from_memory("short_term", "key")
# Control your computer with natural language
result = agent.control_computer("open calculator")
print(result)
StableAgents includes functionality to control your computer using natural language commands:
Example commands:
open calculator
browse github.com
search for python documentation
create file example.txt
list .
find *.py in .
move example.txt to backup/example.txt
copy file.txt to file_copy.txt
delete example.txt
execute echo "Hello World"