OpenSIN-AI Code ist die Python-basierte Agent Development Platform der OpenSIN-AI Organisation. Metadata-driven Architektur für schnellen Prototyping und Porting.
Teil des OpenSIN-AI Ökosystems: 175 Repos | 17 Teams | 92 Worker | 7 MCP Server
# Install the platform
pip install opensin-ai-code
# Create your first agent
opensin-ai agent create researcher --model gpt-4
# Test your agent
opensin-ai agent test researcher --prompt "What is AI?"
# Create a team
opensin-ai team create research-team --strategy sequential
# Execute a team task
opensin-ai team exec research-team --task "Research AI trends"pip install opensin-ai-codegit clone https://github.com/OpenSIN-AI/opensin-ai-code.git
cd opensin-ai-code
pip install -e .git clone https://github.com/OpenSIN-AI/opensin-ai-code.git
cd opensin-ai-code
pip install -e ".[dev]"| Package | Description | Status |
|---|---|---|
opensin-ai-core |
Core engine with QueryEngine, Hook System, Tool System, Permission System, Subagent System, MCP Client, Sandbox, Memory System | ✅ Stable |
opensin-ai-cli |
Command-line interface for managing agents and teams | ✅ Stable |
opensin-ai-sdk |
Python SDK for programmatic access (integrated) | ✅ Stable |
Async generator pattern with ReAct loop, token budget tracking, and automatic context compaction.
20+ hook events with 5 execution modes (shell, HTTP, function, agent, prompt) for powerful automation.
Rich tool interface with 8 built-in tools, deferred loading, and permission-aware filtering.
Multi-source permission rules with auto-mode classifier and bypass-immune safety checks.
Fork pattern with cache-identical prefixes, worktree isolation, and background-to-foreground transitions.
Multi-transport support (stdio, SSE, HTTP, WS, in-process) with OAuth authentication.
Secure code execution with filesystem/network rules and git escape prevention.
File-based memory with index and topic files, SIN.md auto-discovery, and session memory extraction.
OpenSIN-AI Code ist Teil des umfassendsten AI Agent Systems der Welt:
| Komponente | Repo | Zweck |
|---|---|---|
| OpenSIN Core | OpenSIN-AI/OpenSIN | Free Core Engine (Python, 310+ Pakete) |
| OpenSIN Backend | OpenSIN-AI/OpenSIN-backend | A2A Fleet Control Plane (SIN Solver) |
| OpenSIN-Code | OpenSIN-AI/OpenSIN-Code | Autonomes CLI + SDK |
| opensin-ai-cli | OpenSIN-AI/opensin-ai-cli | AI Coding Assistant in Rust |
| opensin-ai-platform | OpenSIN-AI/opensin-ai-platform | Plugin Ecosystem & GitHub Automation |
| 17 Teams | OpenSIN-overview | 92 Worker Agents |
| 7 MCP Server | OpenSIN-overview | Chrome Extension, Computer Use, Memory, Auth |
- Feature spec: OpenSIN-overview/docs/opensin-ai-agent-feature-spec.md
- Comparison guide: OpenSIN-documentation/docs/guide/opensin-ai-agent-features.md
- This repo is the Python agent development surface aligned with the OpenSIN-AI Agent roadmap.
Full documentation is available at docs.opensin.ai, with comprehensive coverage of:
# Clone the repository
git clone https://github.com/OpenSIN-AI/opensin-ai-code.git
cd opensin-ai-code
# Setup development environment
./scripts/setup.sh
# Run tests
./scripts/test.sh
# Start development server (for API mode)
opensin-ai server start# Run all tests
./scripts/test.sh
# Run specific test suites
python -m pytest src/core/ -v
python -m pytest src/cli/ -v
python -m pytest tests/integration/ -vWe welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- 2,138+ lines of Python code
- 66 Python files
- 26 subsystem packages
- 1 core platform
- Complete metadata-driven architecture
- Documentation: https://docs.opensin.ai
- GitHub: https://github.com/OpenSIN-AI/opensin-ai-code
- Discord: https://discord.gg/opensin-ai-code
- Issues: https://github.com/OpenSIN-AI/opensin-ai-code/issues
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
Built with ❤️ by the OpenSIN-AI Team