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 |
|---|---|---|
| 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" 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maxs-0.20.0.tar.gz.
File metadata
- Download URL: maxs-0.20.0.tar.gz
- Upload date:
- Size: 90.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6288df77899849f155a6e803efb47b1a9b87aa344645d7db6501e11aec83f14e
|
|
| MD5 |
6e4ed0a62cecd5535d2721bf061a2302
|
|
| BLAKE2b-256 |
53025be7fa4c47c60a7361b9c7ef773e5434d06e262db6431445e1252f66ad2c
|
File details
Details for the file maxs-0.20.0-py3-none-any.whl.
File metadata
- Download URL: maxs-0.20.0-py3-none-any.whl
- Upload date:
- Size: 95.3 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 |
e55cf6ec11d5cd933d3e1183757e275c6aa01ba9018a95b9a8b30060610526a4
|
|
| MD5 |
9eb8bd250e51b36ac84818ffcb0a02c4
|
|
| BLAKE2b-256 |
0831400b01276866b0b67896635b0c1436a629f6dac2b2a263b40643923f2310
|