-
Notifications
You must be signed in to change notification settings - Fork 3
Home
MEP (Minimal Effective Prompt) Architecture - 90% less prompt, 100% better results.
Welcome to Sylphx Flow, the first production platform built on StarCoder2 tokenization for 70+ language hybrid search, combining curated knowledge, TF-IDF semantic search, and AI agent orchestration through the Model Context Protocol (MCP).
User: "I'm using TypeScript + React + Next.js,
project structure is src/app,
using shadcn/ui,
current time is 2025-10-30,
implement authentication with JWT..."
User: "implement authentication"
// AI automatically gets:
β
Project environment
β
Current time
β
Existing patterns (via codebase search)
β
Best practices (via knowledge base)
Result: 90% less prompt, 100% more accurate
First production use of StarCoder2 tokenization for search:
- 70+ Programming Languages - TypeScript to Assembly
- Hybrid Search - Search in any language, find code in any language
- Semantic Understanding - Find code by what it does
- Cross-Language - Understand concepts across languages
# Search in ANY language - finds same code!
flow codebase search "user login handling" # English
flow codebase search "θηη¨ζΆη»ε
₯ε
ιθΌ―" # Chinese
flow codebase search "γ¦γΌγΆγΌγγ°γ€γ³ε¦η" # Japanese
# All find the same code:
β
authenticateUser()
β
loginHandler
β
verifyCredentialsSetup once, use forever:
# 1. Initialize once
npx @sylphx/flow init
# 2. Use anywhere, anytime
npx @sylphx/flow run "your task"
# Or enter interactive mode
npx @sylphx/flow run
# Then type your prompt interactivelyWhy two commands?
- β Zero configuration - Set up once, never again
- β Zero maintenance - Everything auto-updates
- β Zero complexity - Just describe what you want
No custom knowledge support - intentionally:
- β Quality Guaranteed - Professionally curated
- β
Zero Maintenance - Auto-updated with
flow init - β Optimized Performance - Local tokenization + TF-IDF = <100ms search
Project-specific patterns? Use codebase search:
flow codebase search "our authentication pattern"
# AI finds YOUR actual patternsBuilt with FP principles:
- β Composition over Inheritance - Tools compose naturally
- β Pure Functions - Predictable, testable, parallel
- β Immutable Data - No side effects
- β Pipeline Architecture - Natural data flow
| Capability | What It Provides | Who Benefits |
|---|---|---|
| π Knowledge Base | Curated guidelines for React, Next.js, Node.js | AI assistants, developers |
| π Semantic Search | Find code by meaning, not keywords | Development teams |
| π€ Agent Framework | Orchestrated AI for complex tasks | Project managers, architects |
| β‘ Real-time Indexing | Always up-to-date search index | Large codebases |
| π§ CLI Tools | Command-line control | DevOps, power users |
- Installation & Setup - Get up and running in minutes
- CLI Commands - Complete command reference
- MEP Design Philosophy - β Why MEP changes everything
- Knowledge Base - Curated development guidelines
- Codebase Search - β StarCoder2 70+ language search
- Agent Framework - Orchestrated AI agents
- Technical Architecture - β StarCoder2 + Functional design
- Configuration - Customize your setup
- Contributing - Help improve Sylphx Flow
Two commands, infinite possibilities:
npx @sylphx/flow initDirect prompt:
# Just describe what you want
npx @sylphx/flow run "implement authentication"
npx @sylphx/flow run "review for security" --agent reviewerInteractive mode:
# Enter interactive Claude mode
npx @sylphx/flow run
# Then type your prompt naturally:
User: implement authentication
User: add password reset
User: write tests
# Keep chatting until done!That's it! AI automatically gets:
- β Your environment and time
- β Your existing code patterns
- β Best practices from knowledge base
- β Everything needed for accurate results
Zero extra prompting required.
- Installation & Setup - Install and configure
- CLI Commands - Learn basic commands
- Knowledge Base - Explore available guidelines
- MCP Integration - Connect your AI assistant
- Knowledge Base - How AI uses knowledge
- Codebase Search - Semantic search capabilities
- Architecture - System design and structure
- Configuration - Advanced customization
- Contributing - Contribute to the project
Your AI assistant has instant access to project patterns and architecture:
# AI searches knowledge base
knowledge_search("project architecture patterns")
# AI finds relevant code examples
codebase_search("authentication implementation")AI follows your team's standards automatically:
# Run code review with AI
flow run "review for security and performance" --agent reviewerOrchestrator breaks down and coordinates feature implementation:
# Orchestrator delegates to coder, reviewer, and writer
flow run "implement OAuth with tests and docs" --agent orchestratorFind code by what it does, not what it's called:
# Traditional search: Need exact keywords
grep -r "handlePayment"
# Semantic search: Describe what you're looking for
flow codebase search "payment processing logic"Developer β AI Assistant β knowledge_search("react best practices")
β
Knowledge Base (curated guidelines)
β
Returns: React patterns, hooks, state management
Developer β AI Assistant β codebase_search("authentication")
β
StarCoder2 Tokenization + TF-IDF (semantic understanding)
β
Returns: All auth-related code by meaning
Complex Task β Orchestrator β Break down into subtasks
β
Delegate to: Coder β Reviewer β Writer
β
Synthesize results β Deliver to user
When you run flow mcp start, AI assistants get these tools:
-
knowledge_search- Search guidelines and patterns -
knowledge_get- Get specific documents -
knowledge_list- List all resources
-
codebase_search- Semantic code search -
codebase_reindex- Update search index -
codebase_status- Check index status
-
time_get_current- Current timestamp -
time_format- Format times -
time_calculate- Time calculations
- React App - Components, hooks, state management
- Next.js App - App router, server components, data fetching
- Node.js API - Express, middleware, error handling
- SaaS Template - Multi-tenant patterns
- Tech Stack - Technology selection
- UI/UX - Design systems and accessibility
- Security - Auth, input validation, encryption
- Performance - Optimization, caching, monitoring
- Testing - Test strategies, coverage, integration
- Deployment - CI/CD, infrastructure, rollback
- SQL - Query patterns, indexing, migrations
Role: Task coordination and delegation
Use When: Complex tasks requiring multiple specialists
Example:
flow run "implement feature with tests and docs" --agent orchestratorRole: Code implementation and execution
Use When: Need to write or modify code
Example:
flow run "add user authentication" --agent coderRole: Code review and quality assurance
Use When: Need code review for security, performance, or best practices
Example:
flow run "review this PR" --agent reviewerRole: Documentation and technical writing
Use When: Need to create or update documentation
Example:
flow run "document the API endpoints" --agent writer"My AI assistants follow the same coding standards across all projects."
"AI understands my codebase by meaning, not just by keywords."
"Multiple AI agents work together on complex tasks."
"I have full control over what guidelines AI follows."
- Install Sylphx Flow - Get set up
- Learn CLI Commands - Master the basics
- Explore Knowledge Base - See what's available
- MCP Integration - Connect AI tools
- Configure Tools - Customize behavior
- Use Case Examples - Real-world scenarios
- Architecture Overview - Understand the system
- Extend Knowledge Base - Add your own guidelines
- Contribute - Help improve the project
- GitHub Repository - Source code and releases
- Issue Tracker - Report bugs or request features
- Discussions - Community discussion
- Current Version: 0.0.2
- Node.js Required: >= 18.0.0
- License: MIT
- Status: Active Development
Sylphx Flow isn't just another CLI tool or knowledge base. It's the missing infrastructure that transforms AI assistants from helpful tools into intelligent collaborators that understand your codebase, follow your standards, and coordinate complex tasks.
Transform your development workflow - Start with Installation & Setup.
Last Updated: 2025-10-30 | Edit this page | Report Issues