minimalist ai agent
Project description
maxs
minimalist ai agent that learns from your conversations
quick start
pipx install maxs
maxs
setup your ai provider
option 1: local
curl -fsSL https://ollama.ai/install.sh | sh
ollama pull qwen3:4b
maxs
option 2: cloud providers
# anthropic
export ANTHROPIC_API_KEY="your-key"
MODEL_PROVIDER=anthropic maxs
# openai
export OPENAI_API_KEY="your-key"
MODEL_PROVIDER=openai maxs
# other providers: bedrock, github, litellm, llamaapi, mistral
what makes maxs special
🧠 remembers everything
- sees your recent shell commands (bash/zsh history)
- remembers past conversations across sessions
- learns from your conversation patterns
🛠️ powerful built-in tools
- execute shell commands
- scrape websites and parse html
- run background tasks
- network communication
- nested ai workflows
🌐 team awareness (optional)
when configured with aws, multiple maxs instances can share context:
- local development + github actions + production servers
- team members see each other's work
- coordinated automation across environments
basic usage
# ask questions
maxs "what files are in this directory?"
# execute shell commands
maxs "!ls -la"
maxs "!git status"
# analyze and process
maxs "analyze the log file and find errors"
maxs "format all python files in this project"
# web tasks
maxs "scrape news from hacker news"
# automation
maxs "monitor the system logs in background"
built-in tools
default tools (always available)
tool | what it does | example |
---|---|---|
bash | run shell commands safely | check disk space |
environment | manage settings | show all environment variables |
tcp | network communication | start a web server on port 8080 |
scraper | get data from websites | scrape product prices from amazon |
use_agent | use different ai models for specific tasks | use gpt-4 to write documentation |
tasks | run things in background | monitor logs continuously |
optional tools (enable when needed)
tool | what it does | how to enable |
---|---|---|
use_computer | control mouse/keyboard, take screenshots | STRANDS_TOOLS="bash,environment,tcp,scraper,use_agent,tasks,use_computer" maxs |
dialog | create interactive forms | STRANDS_TOOLS="bash,environment,tcp,scraper,use_agent,tasks,dialog" maxs |
event_bridge | share context with other maxs instances | STRANDS_TOOLS="bash,environment,tcp,scraper,use_agent,tasks,event_bridge" maxs |
smart features
conversation memory
maxs automatically remembers:
# session 1
maxs "i'm working on user authentication"
# session 2 (later)
maxs "how's the auth work going?"
# maxs remembers the previous conversation
shell integration
# maxs sees your recent commands
$ git clone https://github.com/user/repo
$ cd repo
$ maxs "analyze this codebase"
# maxs knows you just cloned a repo and can analyze it
multi-model workflows
maxs "use claude for creative writing and gpt-4 for code review"
# automatically switches between models for different tasks
team collaboration (advanced)
first, enable team features:
# enable event_bridge tool
export STRANDS_TOOLS="bash,environment,tcp,scraper,use_agent,tasks,event_bridge"
maxs
when multiple people use maxs with shared aws setup:
# developer 1 (local)
maxs "implementing payment processing"
# developer 2 (sees context from dev 1)
maxs "i see you're working on payments, let me test the api"
# ci/cd pipeline (sees both contexts)
maxs "payment feature tested successfully, deploying to staging"
how to enable team mode:
- enable event_bridge tool (see above)
- set up aws credentials (
aws configure
) - one person runs:
maxs "setup event bridge for team collaboration"
- team members use same aws account
- everyone's maxs instances share context automatically
configuration
basic settings
# use different ai provider
MODEL_PROVIDER=anthropic maxs
MODEL_PROVIDER=openai maxs
# use specific model
STRANDS_MODEL_ID=claude-sonnet-4-20250514 maxs
# remember more/less history
MAXS_LAST_MESSAGE_COUNT=50 maxs # default: 100
# enable all tools
STRANDS_TOOLS="ALL" maxs
# enable specific tools only
STRANDS_TOOLS="bash,scraper,use_computer" maxs
team settings (advanced)
# first enable event_bridge
export STRANDS_TOOLS="bash,environment,tcp,scraper,use_agent,tasks,event_bridge"
# aws region for team features
AWS_REGION=us-west-2
# custom team event bus name
MAXS_EVENT_TOPIC=my-team-maxs
# how many team messages to include
MAXS_DISTRIBUTED_EVENT_COUNT=25
custom tools
drop a python file in ./tools/
directory:
# ./tools/calculator.py
from strands import tool
@tool
def calculate_tip(bill: float, tip_percent: float = 18.0) -> dict:
tip = bill * (tip_percent / 100)
total = bill + tip
return {
"status": "success",
"content": [{"text": f"Bill: ${bill:.2f}\nTip: ${tip:.2f}\nTotal: ${total:.2f}"}]
}
then use it:
maxs "calculate tip for a $50 bill"
examples
development workflow
maxs "!git status" # check repo status
maxs "analyze code quality issues" # review code
maxs "!pytest -v" # run tests
maxs "format all python files" # clean up code
maxs "!git add . && git commit -m 'refactor'" # commit changes
system administration
maxs "check system health" # disk, memory, processes
maxs "monitor nginx logs for errors" # background log monitoring
maxs "!systemctl restart nginx" # restart services
content and research
maxs "scrape latest tech news" # gather information
maxs "summarize the main trends" # analyze content
automation
maxs "backup important files to cloud" # file management
maxs "monitor website uptime every 5 minutes" # background monitoring
maxs "send alert if disk usage > 90%" # conditional actions
computer interaction (requires use_computer tool)
# enable computer control
export STRANDS_TOOLS="bash,environment,tcp,scraper,use_agent,tasks,use_computer"
maxs "take screenshot of monitoring dashboard" # visual check
maxs "click the save button" # mouse control
installation options
standard installation
pipx install maxs
development installation
git clone https://github.com/cagataycali/maxs
cd maxs
pip install -e .
binary distribution
pip install maxs[binary]
pyinstaller --onefile --name maxs -m maxs.main
# creates standalone ./dist/maxs binary
data and privacy
local storage
- conversations saved in
/tmp/.maxs/
- shell history integration (read-only)
- no data sent to external services (except your chosen ai provider)
team mode (optional)
- uses aws eventbridge for team communication
- only shares conversation summaries, not full messages
- you control the aws account and data
- requires explicit enablement of event_bridge tool
troubleshooting
common issues
# ollama not responding
ollama serve
maxs
# tool permissions
BYPASS_TOOL_CONSENT=true maxs
# reset conversation history
rm -rf /tmp/.maxs/
maxs
# enable all tools if something is missing
STRANDS_TOOLS="ALL" maxs
getting help
maxs "show available tools"
maxs "help with configuration"
maxs "explain how team mode works"
license
mit - use it however you want
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maxs-0.10.0.tar.gz
(78.8 kB
view details)
Built Distribution
maxs-0.10.0-py3-none-any.whl
(85.4 kB
view details)
File details
Details for the file maxs-0.10.0.tar.gz
.
File metadata
- Download URL: maxs-0.10.0.tar.gz
- Upload date:
- Size: 78.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8f77212be7c65a2c2e91d577bf82974d75202e331464d96c06465574df0798c1
|
|
MD5 |
7daf3f2c7e5266d39c48d2cc545e72e3
|
|
BLAKE2b-256 |
dd04e1a2b5df0788820494815f33a82be1b9f362dd89c74a5ef1e4c60642d3d6
|
File details
Details for the file maxs-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: maxs-0.10.0-py3-none-any.whl
- Upload date:
- Size: 85.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2ff6f0d1cd4939b69dc13f7b789c32a1cf0a97557c763b90fe5f4f074ad038fc
|
|
MD5 |
9bca4b3b2e8749fdc963d25d58d602b6
|
|
BLAKE2b-256 |
2a080a34f479cc25b62ae00012b76ed0f12bb6d1b0383db1b2f8628d87bcb8a6
|