# Install from PyPI
pip install data-ai
# Or install from source
git clone https://github.com/badhope/DATA-AI.git
cd DATA-AI
pip install -e ".[all]"
# Run the CLI
data-ai- Global Models: OpenAI GPT-4, Anthropic Claude, Google Gemini, Azure OpenAI, AWS Bedrock
- Chinese Models: DeepSeek, Qwen, Zhipu AI, Baichuan, Moonshot, SiliconFlow
- Local Models: Ollama, vLLM, LM Studio
| Component | Description |
|---|---|
| Intent Recognition | 24+ intent types with intelligent routing |
| Sequential Thinking | Multi-step reasoning with hypothesis generation |
| Skill System | Auto-extraction, progressive disclosure (L0/L1/L2) |
| Code Knowledge Graph | Multi-language parsing, dependency tracking |
| Closed-Loop Learning | Execute β Evaluate β Extract β Retrieve |
| Category | Tools |
|---|---|
| File Operations | Read, write, search, replace, batch operations |
| Code Execution | Python sandbox, Bash, Node.js |
| Browser | Navigation, click, screenshot, form filling |
| Search | DuckDuckGo, multi-engine aggregation |
| Documents | PDF, Word, Excel, PPT, Markdown, HTML |
| Data Analysis | Pandas, Matplotlib, Plotly |
- Document Loaders: PDF, Word, Markdown, HTML, TXT
- Text Splitting: Recursive character, token-based
- Vector Stores: In-memory, FAISS, ChromaDB, LanceDB
- Retrieval: Similarity search, MMR diversity
- Session Memory: Multi-session management
- Semantic Memory: Vector storage, similarity search
- Self-Learning: Pattern recognition, preference learning
- Closed-Loop: Continuous improvement from interactions
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β DATA-AI CLI β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β β Intent β β Reasoning β β Skill β β
β β Recognition β β Engine β β System β β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β β Code KG β β Memory β β Tool β β
β β (CKG) β β Closed-Loop β βOrchestrator β β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
β β Streaming β β Polish β β Sandbox β β
β β Output β β Engine β β Security β β
β βββββββββββββββ βββββββββββββββ βββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Multi-Agent Collaboration Layer β
β (Coordinator + Communication + Consensus + Workflow) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Installation Guide
- Configuration Guide
- Model Providers
- Architecture Overview
- API Reference
- Contributing Guide
from data_ai import create_client
# Create a client
client = create_client()
# Execute a task
response = client.execute("Analyze the sales data in data.csv")from data_ai.core import IntentRecognizer, IntentRouter
# Recognize intent
recognizer = IntentRecognizer()
intent = recognizer.recognize("Search for Python tutorials")
# Route to appropriate handler
router = IntentRouter()
result = router.route(intent)from data_ai.core.agent import CollaborationSession, AgentRole
# Create collaboration session
session = CollaborationSession()
session.register_agent("coder", AgentRole.WORKER)
session.register_agent("reviewer", AgentRole.REVIEWER)
# Execute collaborative task
result = session.execute("Implement a sorting algorithm")- Sandboxed Execution: Isolated environments for code execution
- Permission System: Fine-grained access control
- Resource Limits: CPU, memory, time constraints
- Policy Management: Strict, moderate, permissive presets
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by Hermes Agent, Trae, Codex CLI
- Built with LangChain and LangGraph
β Star us on GitHub if you find this project helpful!