docs.rs failed to build miyabi-agent-business-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
miyabi-agent-business
14 specialized AI agents for business strategy, marketing, and operations in the Miyabi framework.
π Overview
miyabi-agent-business provides a comprehensive suite of 14 AI-powered business agents that cover the entire startup lifecycle, from ideation and strategy to marketing execution and customer operations. Each agent leverages LLM capabilities (via miyabi-llm) to generate data-driven insights, strategic plans, and actionable recommendations.
Key Capabilities:
- π End-to-End Business Automation: From self-analysis to scaling strategies
- π§ LLM-Powered Decision Making: GPT-OSS-20B integration for intelligent insights
- π Data-Driven Strategies: Market research, competitor analysis, and analytics
- π― Target Audience Optimization: Persona development and funnel design
- π Growth Focus: Marketing, sales, CRM, and analytics for sustainable growth
- πΌ Professional-Grade Output: JSON-structured reports ready for implementation
π€ 14 Agents Overview
π― Strategy Agents (6)
| Agent | Purpose | Output |
|---|---|---|
| AIEntrepreneurAgent | 8-phase comprehensive business plan | Business plan, funding strategy, financial projections |
| ProductConceptAgent | Product concept and business model design | USP, revenue model, business model canvas |
| ProductDesignAgent | Service detail design and technical stack | 6-month roadmap, MVP definition, tech stack |
| FunnelDesignAgent | Customer journey optimization (θͺη₯βθ³Όε ₯βLTV) | Conversion funnel, touchpoint mapping |
| PersonaAgent | Target customer persona creation (3-5 personas) | Detailed personas, customer journey maps |
| SelfAnalysisAgent | Career, skills, and achievements analysis | Skill matrix, career trajectory, strengths |
π’ Marketing Agents (5)
| Agent | Purpose | Output |
|---|---|---|
| MarketResearchAgent | Market trend analysis (20+ competitors) | TAM/SAM/SOM, competitor landscape, trends |
| MarketingAgent | Marketing strategy (Ads, SEO, SNS) | Go-to-market plan, budget allocation |
| ContentCreationAgent | Content production (blog, video, tutorials) | Editorial calendar, content themes |
| SNSStrategyAgent | Social media strategy (Twitter/Instagram/LinkedIn) | Posting calendar, engagement tactics |
| YouTubeAgent | YouTube channel optimization (13 workflows) | Content plan, SEO strategy, monetization |
πΌ Operations Agents (3)
| Agent | Purpose | Output |
|---|---|---|
| SalesAgent | Sales process optimization (LeadβCustomer) | Sales funnel, conversion tactics |
| CRMAgent | Customer relationship management (LTV maximization) | Customer success plan, churn reduction |
| AnalyticsAgent | Data analysis and PDCA cycle | KPI dashboards, growth metrics, A/B test plans |
π Features
LLM Integration
- Multi-Provider Fallback: LAN β Tailscale β Groq API (resilient)
- Structured JSON Output: All agents return JSON-formatted responses
- Contextual Prompts: Task-specific prompt templates for each agent
- Conversation History: Multi-turn conversations for iterative refinement
Business Strategy
- 8-Phase Business Planning: Market analysis β Financial projections β Funding strategy
- Competitive Intelligence: Analyze 20+ competitors with SWOT analysis
- Revenue Modeling: Subscription, freemium, transaction-based models
- Risk Assessment: Identify and mitigate business risks
Marketing Automation
- Multi-Channel Strategy: SEO, PPC, social media, content marketing
- Audience Segmentation: Behavioral, demographic, and psychographic targeting
- Content Calendar: 6-month editorial calendar with themes and KPIs
- Performance Tracking: CAC, LTV, NRR, churn rate monitoring
π¦ Installation
Add to your Cargo.toml:
[]
= "0.1.0"
Or install the CLI:
π§ Usage
AIEntrepreneurAgent Example
use AIEntrepreneurAgent;
use BaseAgent;
use ;
async
YouTubeAgent Example
use YouTubeAgent;
use BaseAgent;
use ;
async
MarketResearchAgent Example
use MarketResearchAgent;
use BaseAgent;
use ;
async
π Agent Output Formats
All agents return structured JSON for easy integration:
AIEntrepreneurAgent Output
PersonaAgent Output
ποΈ Architecture
LLM Interaction Flow
Task β Agent β LLMContext
β
LLMConversation
β
LLMPromptTemplate
β
GPTOSSProvider (Fallback Chain)
βββ Mac Mini LAN (primary)
βββ Mac Mini Tailscale (backup)
βββ Groq API (fallback)
β
JSON Response
β
Structured Business Data
Common Agent Pattern
async
π§ͺ Testing
# Run all tests
# Test specific agent
# Integration tests (requires LLM access)
GROQ_API_KEY=xxx
π Dependencies
- Core:
miyabi-agent-core,miyabi-types,miyabi-core - LLM:
miyabi-llm(GPT-OSS-20B integration) - Runtime:
tokio,async-trait - Serialization:
serde,serde_json - Utilities:
chrono,thiserror,tracing
π Related Crates
miyabi-llm- LLM abstraction layer (GPT-OSS-20B, Groq, vLLM, Ollama)miyabi-agent-coordinator- Task orchestrationmiyabi-agent-codegen- AI-powered code generationmiyabi-types- Shared type definitionsmiyabi-agent-core- Base agent traits
π― Use Cases
Startup Founders
- Self-Analysis: Identify strengths and gaps
- Market Research: Validate product-market fit
- Business Planning: Comprehensive 8-phase plan
- Funding Strategy: Pitch deck and financial projections
Product Managers
- Product Concept: Define USP and value proposition
- Persona Development: Deep customer understanding
- Funnel Design: Optimize conversion rates
- Content Strategy: Plan editorial calendar
Marketing Teams
- Go-to-Market: Launch strategy and channel mix
- Content Creation: 6-month content roadmap
- Social Media: Multi-platform posting calendar
- Analytics: Track CAC, LTV, NRR, churn
Sales & CS Teams
- Sales Process: Optimize lead-to-customer conversion
- CRM Strategy: Maximize customer lifetime value
- Churn Reduction: Proactive customer success
- Upselling: Identify expansion opportunities
π€ Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
π License
Licensed under the MIT License. See LICENSE for details.
π Version History
- v0.1.0 (2025-10-25): Initial release
- 14 business agents (6 strategy, 5 marketing, 3 operations)
- LLM integration via
miyabi-llm - JSON-structured output for all agents
- Multi-provider fallback (LAN β Tailscale β Groq)
Part of the Miyabi Framework - Autonomous AI Development Platform