agentao

Agentao - Quick Start Guide

Get up and running with Agentao in under 2 minutes!

1. Install

pip install agentao

2. Set Up Your API Key

echo "OPENAI_API_KEY=your-api-key-here" > .env

Or copy the example file if you have a source checkout:

cp .env.example .env
# Edit .env and add your API key

3. Run Agentao

agentao

4. Try It Out!

Once running, try these commands:

You: /help

Shows all available commands and features.

You: Read the file README.md

The agent will use the read_file tool to read and display the file.

You: Search for all Python files in this directory

The agent will use the glob tool to find all .py files.

You: /skills

Shows all available skills.

You: Remember that I prefer using uv for Python projects

Saves this preference to memory using the save_memory tool.

Common Commands

All commands start with /:

Note: Regular messages (without /) are sent to the AI agent.

Example Workflows

Working with Files

You: Create a new file called test.py with a hello world function
You: Read the file test.py
You: Replace the hello function with a greeting function that takes a name

Web Research

You: Search for Python async best practices
You: Fetch the content from the first result

Using Skills

You: Activate the pdf skill
You: Now help me merge multiple PDFs

Using Commands

You: /model              (show current model and available models)
You: /model gpt-4o       (switch to GPT-4o)
You: /skills             (list all skills)
You: /memory             (show memories)
You: /status             (show status and current model)
You: /clear              (clear history)

Code Analysis

You: Find all TODO comments in Python files
You: Search for function definitions in the utils module
You: Use the codebase investigator to analyze the project structure

Tips

  1. Be specific: The more specific your request, the better the agent can help you.

  2. Use tools naturally: Just ask in natural language - the agent will figure out which tools to use.

  3. Check memory: Use the /memory command to see what the agent has remembered about your preferences.

  4. Activate skills: For specialized tasks (PDFs, spreadsheets, etc.), activate the relevant skill first.

  5. Multi-turn conversations: The agent remembers context, so you can build on previous responses.

  6. Commands vs messages: Start with / for commands, anything else is sent to the AI agent.

Troubleshooting

Problem: command not found: agentao Solution: Make sure the install completed: pip install agentao; or check that your Python scripts directory is on your PATH.

Problem: API key error Solution: Make sure .env file exists and contains a valid OPENAI_API_KEY.

Problem: Tool execution fails Solution: Check file permissions and paths. Use absolute paths if relative paths don’t work.

Next Steps

Enjoy using Agentao!