Skip to content

Commit ded838e

Browse files
committed
feat: v0.2.0 - Restructure project and add MCP server
- Consolidate orchestrator_api into arkitect.orchestrator - Remove redundant arkitect_backend - Implement MCP server with task management tools - Add core, agents, and api module stubs - Update dependencies (mcp, grpcio, psutil) - Add CHANGELOG.md and README_MCP.md
1 parent 6b5aa89 commit ded838e

80 files changed

Lines changed: 7194 additions & 1303 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# CHANGELOG
2+
3+
## [0.2.0] - 2025-11-28
4+
5+
### Added
6+
- **MCP Server Integration**: Implemented Model Context Protocol server in `arkitect/mcp/server.py`
7+
- `list_tasks`: List and filter orchestrator tasks
8+
- `create_task`: Create new tasks programmatically
9+
- `get_metrics`: Retrieve system performance metrics
10+
- `get_task_details`: Get detailed task information
11+
- **Consolidated Project Structure**: Merged `orchestrator_api` into `arkitect/orchestrator`
12+
- **Core Module Stubs**: Created stub implementations for `core`, `agents`, and `api` modules
13+
- **Documentation**: Added `README_MCP.md` with MCP server usage instructions
14+
15+
### Changed
16+
- **Restructured Python Package**: Moved orchestrator logic from standalone `orchestrator_api` to `arkitect.orchestrator`
17+
- **Updated Dependencies**: Added `mcp`, `grpcio`, and `psutil` to `pyproject.toml`
18+
19+
### Removed
20+
- **Redundant Backend**: Removed `arkitect_backend` directory (functionality consolidated into main package)
21+
22+
### Fixed
23+
- Import errors by creating missing module files
24+
- Package structure for proper Python imports
25+
26+
## [0.1.0] - Initial Release
27+
- Initial project structure
28+
- Rust core with quantum processing simulation
29+
- FastAPI orchestrator
30+
- Task mesh architecture

README_MCP.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Arkitect MCP Server
2+
3+
This module provides a Model Context Protocol (MCP) server for the Arkitect platform, allowing AI agents to interact with the orchestrator.
4+
5+
## Features
6+
7+
- **List Tasks**: View active tasks with filtering.
8+
- **Create Task**: Submit new tasks to the orchestrator.
9+
- **Get Metrics**: Retrieve system performance metrics.
10+
- **Get Task Details**: View detailed information about a specific task.
11+
12+
## Installation
13+
14+
Ensure you have installed the project dependencies:
15+
16+
```bash
17+
pip install -e .
18+
```
19+
20+
## Running the Server
21+
22+
You can run the MCP server using the `mcp` CLI or directly via Python:
23+
24+
```bash
25+
# Using Python directly
26+
python -m arkitect.mcp.server
27+
```
28+
29+
## Tools Available
30+
31+
- `list_tasks(status=None, priority=None)`
32+
- `create_task(name, description=None, priority="medium", layer="default")`
33+
- `get_metrics()`
34+
- `get_task_details(task_id)`

arkitect/agents/base.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
class BaseAgent:
3+
"""Base Agent Class."""
4+
def __init__(self, id, quantum_core=None, symbiotic_engine=None):
5+
self.id = id

arkitect/agents/evolutionary.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
from .base import BaseAgent
3+
4+
class EvolutionaryAgent(BaseAgent):
5+
"""Agent with evolutionary capabilities."""
6+
pass

arkitect/agents/governance.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
from .base import BaseAgent
3+
4+
class MetaGovernanceAgent(BaseAgent):
5+
"""Agent for meta-governance."""
6+
pass

arkitect/api/app.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
def create_app():
3+
"""Create FastAPI app."""
4+
from fastapi import FastAPI
5+
return FastAPI(title="Arkitect API")

arkitect/api/server.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
class APIServer:
3+
"""API Server wrapper."""
4+
def __init__(self):
5+
pass
6+
7+
def run(self):
8+
pass

arkitect/core/consciousness.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
class ConsciousnessLayer:
3+
"""Artificial Consciousness Layer."""
4+
def __init__(self):
5+
self.level = "Basic"
6+
7+
def evolve(self):
8+
self.level = "Cognitive"
9+
return self.level

arkitect/core/quantum.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
class QuantumCore:
3+
"""Simulated Quantum Core for Arkitect."""
4+
def __init__(self):
5+
pass
6+
7+
def process(self, data):
8+
return {"quantum_state": "superposition", "result": data}

arkitect/core/symbiotic.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
class SymbioticEngine:
3+
"""Symbiotic Engine for Agent Collaboration."""
4+
def __init__(self):
5+
pass
6+
7+
def establish_connection(self, agent_id):
8+
return True

0 commit comments

Comments
 (0)