これを投げてみる:
"""
application:
name: Smart Agents
description: >
A sleek, stylish, and professional prototype app that uses LangChain to implement
a multi-agent system powered by GPT-4o-mini. The app helps users solve problems
by orchestrating specialized AI agents and providing synthesized solutions.
Designed for testing on React Native Expo with Managed Workflow, without database or deployment.
goals:
- Build a prototype app using React Native Expo (Managed Workflow).
- Implement a functional LangChain-based multi-agent system.
- Ensure seamless user experience with modern, professional UI/UX.
- Focus on functionality without persistence or deployment.
platform:
frontend:
framework: React Native Expo
managed_workflow: true
backend:
framework: FastAPI (for local API simulation)
ai_library: LangChain
llm_provider: OpenAI (GPT-4o-mini)
target_platforms:
- iOS
- Android
- Web (via Expo Web)
features:
- user_input:
description: Accept user problems through a clean, user-friendly interface.
example: "How can I start a successful online shop?"
- agent_selection:
description: Use LangChain to select three specialized AI agents relevant to the problem.
- solution_generation:
description: Each selected agent generates an independent solution proposal.
- solution_synthesis:
description: Orchestrator AI synthesizes these solutions into a final comprehensive response.
- result_display:
description: Show the synthesized solution in a sleek results section.
ui_design:
style: sleek, stylish, modern, professional
ux_principles:
- simple_navigation: Clear flow for user actions.
- friendly_prompts: Easy-to-understand text and icons.
- accessibility: Optimized for usability on all devices.
dependencies:
expo: latest
react-native: latest
langchain: latest
fastapi: latest
openai: latest
steps:
- setup_environment:
description: Initialize the project and install dependencies.
commands:
- "npx expo init SmartAgents --template blank"
- "cd SmartAgents"
- "npm install react-native-web react-native-gesture-handler"
- "pip install fastapi uvicorn langchain openai"
- frontend_development:
description: Develop the user interface in React Native Expo.
files:
- "App.js"
tasks:
- "Create a text input field for user problem submission."
- "Design a 'Submit' button with a professional look."
- "Display results in a scrollable and responsive layout."
- backend_development:
description: Set up a FastAPI backend to simulate LangChain functionality.
files:
- "
main.py"
tasks:
- "Implement POST endpoint '/solve' to handle user input."
- "Use LangChain with GPT-4o-mini to simulate agent workflows."
- "Return a synthesized response to the frontend."
- integration:
description: Connect frontend and backend with HTTP requests.
tasks:
- "Set up fetch requests in React Native."
- "Ensure smooth data flow between frontend and backend."
- testing_and_simulation:
description: Test the app on Expo simulators for all target platforms.
commands:
- "npx expo start"
tasks:
- "Verify functional UI/UX."
- "Test multi-agent system response accuracy."
- "Ensure no crashes or errors during navigation."
testing:
manual_tests:
- "Input diverse problems to test agent selection accuracy."
- "Verify clear and concise results displayed in the UI."
- "Check responsiveness across iOS, Android, and Web."
future_extensions:
- deploy:
description: Prepare the app for deployment to App Stores.
- add_features:
description: Include advanced features like database integration or RAG.
- enhance_ui:
description: Refine design and add animations for better engagement.
"""
😽