Multi-agent business development workspace with:
- a Python backend in
server/python - a Next.js frontend in
client/nextjs - AWS integrations through
boto3andawscli
.
├── client/nextjs # Next.js frontend
└── server/python # FastAPI backend and agent workflow
Install these tools before starting:
- Python
3.13or later uv- Node.js
18+or newer - AWS CLI (
aws)
Verify the tools are available:
uv --version
python3 --version
node --version
pnpm --version
aws --versionThe backend uses AWS through boto3, so make sure your AWS credentials and region are configured before starting the server.
Run this command after installing the necessary packages(shown below using uv package manager)
aws configureThis will usually prompt you for:
AWS Access Key IDAWS Secret Access KeyDefault region nameDefault output format
To confirm the active identity:
aws sts get-caller-identityIf you prefer environment variables instead of aws configure, export them in your shell:
export AWS_ACCESS_KEY_ID="your-access-key-id"
export AWS_SECRET_ACCESS_KEY="your-secret-access-key"
export AWS_DEFAULT_REGION="your-aws-region"If you use temporary credentials, also export:
export AWS_SESSION_TOKEN="your-session-token"The Python backend loads variables from a .env file. Create one inside server/python.
Path:
server/python/.env
Example:
MISTRAL_API_KEY=your-mistral-api-key
AWS_ACCESS_KEY_ID=your-access-key-id
AWS_SECRET_ACCESS_KEY=your-secret-access-key
AWS_DEFAULT_REGION=your-aws-region
# Optional when using temporary AWS credentials
AWS_SESSION_TOKEN=your-session-tokenNotes:
MISTRAL_API_KEYis required by the agent model setup.- AWS variables can come either from
.env, exported shell variables, or your configured AWS CLI profile.
From the project root:
cd server/pythonCreate the virtual environment:
uv venvActivate it:
source .venv/bin/activateInstall dependencies from pyproject.toml and uv.lock:
uv syncAfter the virtual environment is activated and dependencies are installed, start the FastAPI server:
uv run python hello.pyThe backend starts locally at:
http://localhost:8080
Open a new terminal from the project root and install the frontend dependencies:
cd client/nextjs
pnpm installStart the frontend development server:
pnpm devThe frontend runs locally at:
http://localhost:3000
Validate AWS access from the backend environment:
cd server/python
source .venv/bin/activate
uv run python IAM_check.py