About This Architecture
Elpis is a Rust-based terminal agent architecture that integrates a local LLM (Ollama) with command execution, memory management, and safety guardrails to enable intelligent shell automation. The system flows from developer terminal input through a Rust shell interface to a command handler, then to an agent orchestrator that coordinates memory, embeddings, and tool access. The architecture demonstrates how to build autonomous agents with local inference, vector-backed memory, and controlled tool execution—ideal for developers seeking privacy-preserving, offline-capable AI assistants. Fork this diagram on Diagrams.so to customize the tool connectors, swap LLM providers, or extend the memory layer for your own agent implementation. The design prioritizes safety through explicit guardrail enforcement and MCP tool connectors, making it suitable for production automation workflows.