MyAIBOX (AI็พๅฎ็ฎฑ) is a comprehensive Gen-AI application suite built with FastAPI and React. It provides access to various AI capabilities including AI Agent, multimodal chat, text processing, summarization, image/document recognition, and image creation.
The application integrates multiple GenAI models (Bedrock, Anthropic, OpenAI, Gemini, directly or through a gateway such as agentgateway), with sign-in through Myners SSO and conversation storage in DynamoDB. It features a modular architecture with a React frontend communicating via AG-UI Protocol (SSE streaming).
๐ What's New in v3.10
- LLM providers: Settings โ Providers holds each endpoint and its credentials (AWS, or an API key / Secrets Manager secret); a model names its provider and its API, so a gateway such as agentgateway is one provider entry
- APIs: Bedrock Converse / InvokeModel / Bidirectional Stream, Anthropic Messages, OpenAI Responses / Chat Completions, Gemini; Bedrock Converse models can use the flex tier
- Models: Claude, GPT-6, Grok 4.7, GLM 5.3, Kimi K3.1, Nova 2 Lite and Stability go through agentgateway; Kimi K3 โ K3.1
- Upgrading: run
uv syncandmy-aibox build; models needproviderandapi; theBEDROCK_*,GEMINI_SECRET_IDandOPENAI_SECRET_IDvariables are gone. See CHANGELOG.md.
- Chat ๐ฌ โ Unified conversational AI: pick an agent (Assistant, Q&A persona, etc.), each with its own tools, skills, system prompt, and workspace
- Text ๐ โ Proofreading, rewriting, reduction, expansion, multi-language support
- Summary ๐ฐ โ Document and text summarization
- Talk ๐๏ธ โ Real-time voice conversation with a LiveAgent (
/talk/:agentId) - Asking ๐ง โ Research-style deep Q&A: voice or text input, follow-up threads, per-question reasoning
- Vision ๐ โ Image analysis, document understanding (PDF), multi-model support
- Draw ๐จ โ AI image generation and editing with prompt optimization, style/ratio/seed options
- Settings โ โ Sessions, agents, module configuration, LLM providers, model registry, MCP server management
Supported input formats: jpg/jpeg, png, gif, webp, pdf, csv, doc/docx, xls/xlsx, txt, md, mp4, webm, mov
my-aibox/
โโโ app.py # FastAPI + uvicorn entry point
โโโ backend/ # Backend Python modules
โ โโโ api/ # REST + SSE endpoints (chat, text, summary, asking, vision, draw, settings, upload)
โ โโโ core/ # Config, service layer, DynamoDB sessions
โ โโโ common/ # Auth, logger, CLI, provider cache, async stream
โ โโโ genai/ # LLM providers (Bedrock/Gemini/OpenAI), agents, tools
โ โโโ utils/ # AWS + Bedrock helpers
โ โโโ tests/ # pytest unit + integration
โโโ frontend/ # React SPA (Vite + TypeScript)
โ โโโ src/ # components / pages / api / styles
โ โโโ assets/ # UI static assets (avatars, icons)
โโโ storage/ # Runtime data (gitignored)
โ โโโ uploads/ # User-uploaded files
โ โโโ generated/ # Generated images / videos
โโโ logs/ # Application logs (gitignored)
โโโ deploy/ # Deployment artifacts
โ โโโ my-aibox.service # systemd user unit template
โ โโโ build-push.sh # build & push multi-arch image to ECR
โ โโโ full-stack/ # Dockerfile + EKS reference (examples/)
โโโ docs/ # README screenshots, etc.
โโโ pyproject.toml
โโโ CHANGELOG.md # Release history
โโโ README.md
| Type | Configuration | Examples |
|---|---|---|
| Strands Tools | Per-agent toggle | calculator, current_time, file_write |
| MCP Tools | Settings โ MCP Server | exa-server, core-mcp-server |
| Legacy Tools | Per-agent toggle | get_weather, search_wikipedia |
| Skills | Per-agent toggle (from ~/.agents/skills/) |
Anthropic-style skills loaded via Strands AgentSkills plugin |
MCP server types: HTTP, stdio, SSE. stdio servers run commands on the host, so adding one requires your user sub (see /api/auth/me) in ADMIN_SUBS (when ADMIN_SUBS is set, all MCP changes are admin-only).
- Install dependencies:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync- Configure environment:
aws configure
cp .env.example .env
# Edit .env: AWS region, SSO, DynamoDB, API keys- Build frontend:
my-aibox build- Run:
uv run python app.py| Path | Description |
|---|---|
/ |
React SPA (default โ /chat/assistant) |
/login |
Login page |
/chat/:agentId |
Chat with the selected agent (e.g. /chat/assistant, /chat/family_doctor) |
/talk/:agentId |
Voice conversation (default /talk/english-coach) |
/text, /summary, /asking, /vision, /draw |
Tool modules |
/settings/session, /settings/agents, /settings/modules, /settings/models, /settings/mcp |
Settings pages |
/api/* |
Backend API |
my-aibox install # set up the systemd user service (one-time)
my-aibox run # run in the foreground (skips systemd)
my-aibox start|stop|restart # manage the systemd user service
my-aibox status # show service status
my-aibox logs [-f] # tail journalctl logs
my-aibox build # build frontend (syncs version)
my-aibox check # lint (ruff) + run unit tests
my-aibox test # run pytest (default: tests/unit)
# use `my-aibox test -m integration` for real-service testsThe image in deploy/full-stack/Dockerfile is thin: it ships uv + git only, and the start script git pull the latest code at pod startup. So most code changes do not require a rebuild โ just kubectl rollout restart.
deploy/build-push.sh # build & push multi-arch (amd64 + arm64) to ECR
kubectl rollout restart deployment my-aibox # roll pods, picks up latest commit + uv syncdeploy/full-stack/examples/ contains reference IAM role/policy and a k8s manifest with our values baked in โ copy them as a starting point, do not kubectl apply directly.
MIT License - see LICENSE file for details





