MNKY Agents Demo
MNKY Agents Demo is a Python FastAPI application that demonstrates agent interaction patterns and provides a testing environment for the MOOD MNKY agent framework. This application serves as a reference implementation and development tool for agent-based features.Overview
The MNKY Agents Demo provides a lightweight, Python-based implementation of agent interactions, making it easy to test agent capabilities, experiment with prompts, and develop agent features without the complexity of the full Next.js ecosystem.Key Features
- FastAPI Framework: Modern Python web framework for API development
- Agent Integration: Demonstrates integration with MOOD, CODE, and SAGE agents
- Testing Environment: Isolated environment for agent development
- Docker Support: Containerized deployment for easy setup
- API Endpoints: RESTful API for agent interactions
Architecture
Technology Stack
- Framework: FastAPI (Python)
- API: RESTful API with OpenAPI documentation
- Containerization: Docker and Docker Compose
- Deployment: Docker containers, cloud platforms
Application Structure
Getting Started
Prerequisites
- Python 3.9+
- Docker and Docker Compose (optional)
- Environment variables configured
Setup
-
Navigate to application directory:
-
Install dependencies:
-
Configure environment variables:
Create
.env: -
Run application:
- Access API: http://localhost:8000
- API Docs: http://localhost:8000/docs
Docker Setup
API Endpoints
Agent Interactions
POST /api/agents/mood- Interact with MOOD MNKY agentPOST /api/agents/code- Interact with CODE MNKY agentPOST /api/agents/sage- Interact with SAGE MNKY agent
Health & Status
GET /health- Health check endpointGET /status- Application status
Development
Running Tests
Code Quality
Docker Deployment
Build Image
Run Container
Related Resources
- Agent Framework - Agent development guide
- API Documentation - API reference
- Python Development - Python setup guide