@@ -31,6 +31,7 @@ Powered by **LangChain**, **LangGraph**, and **LangSmith**, Nexus provides a per
3131- 🛠️ ** Powerful Built-in Tools** - File operations, shell commands, and code analysis.
3232- 👤 ** Human-in-the-Loop** - Secure approval workflows (` y/n/d ` ) for tool execution.
3333- 🛡️ ** Operational Modes** - Security-focused CODE, ARCHITECT, and ASK modes.
34+ - 📉 ** Real-time Metrics** - Track taken usage, latency, and cost per request.
3435- 📉 ** Intelligent Guidance** - Context-aware mode switch suggestions and agent-initiated transitions.
3536
3637- 🚀 ** Production-Ready** - Built with modern best practices, type safety, and structured logging.
@@ -159,7 +160,7 @@ While in chat mode, you can use the following slash commands:
159160- ` /help ` - Show all available commands.
160161- ` /mode <name> ` - Switch between ` code ` , ` architect ` , and ` ask ` .
161162- ` /config ` - View configuration and the active operational mode.
162-
163+ - ` /metrics ` - View session usage statistics.
163164- ` /mcps ` - List active MCP servers and their tools.
164165- ` /about ` - Show application information.
165166
@@ -206,15 +207,20 @@ nexus/
206207│ │ ├── nodes.py # Agent reasoning & approval nodes
207208│ │ ├── state.py # State schema
208209│ │ ├── modes.py # Mode definitions & configs
210+ │ │ ├── metrics.py # Usage tracking & analytics
209211│ │ ├── restrictions.py # Tool restriction logic
210212│ │ └── approval.py # Interactive approval workflow
211213│ │
214+ │ ├── commands/ # Modular Slash Commands
215+ │ │ ├── base.py # Command base class
216+ │ │ ├── core.py # Core command implementations
217+ │ │ └── registry.py # Command registry
218+ │ │
212219│ ├── tools/ # Tool definitions
213220│ │ ├── mcp.py # MCP client & configuration handler
214221│ │ ├── file_ops.py # Built-in file tools
215222│ │ ├── shell.py # Built-in shell tools
216223│ │ └── mode.py # Mode management tools
217-
218224│ │
219225│ ├── config/ # Configuration
220226│ │ ├── settings.py # Pydantic settings
0 commit comments