Skip to main content

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:

  1. enable event_bridge tool (see above)
  2. set up aws credentials (aws configure)
  3. one person runs: maxs "setup event bridge for team collaboration"
  4. team members use same aws account
  5. 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


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.11.0.tar.gz (92.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maxs-0.11.0-py3-none-any.whl (101.2 kB view details)

Uploaded Python 3

File details

Details for the file maxs-0.11.0.tar.gz.

File metadata

  • Download URL: maxs-0.11.0.tar.gz
  • Upload date:
  • Size: 92.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for maxs-0.11.0.tar.gz
Algorithm Hash digest
SHA256 c54d1cd25147867425863af1d02f79ca07ac0d67f0ab0d27139609ee02b0a2dc
MD5 07dfc9b4d10ca85432313f310b8a74eb
BLAKE2b-256 11a37ab0267c5504190465c1e37b85f728cad1d12dfe3ef12ff06378c7810fd9

See more details on using hashes here.

File details

Details for the file maxs-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: maxs-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 101.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for maxs-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02e481172ece59b57f4309468eec89e9deb98c37e4325a7b5d663e7d46e794a6
MD5 e6ce33dd25fd7c8401707845eb7d3846
BLAKE2b-256 f1a8816adbec051eb0065069e57d352839f8c2580ad11cd54f3e8ca379d8c9d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page