Machina
A self-hosted multi-agent AI harness
2026PythonTypeScriptPostgreSQLRAG

A self-hosted AI agent harness that runs in the terminal. The idea it's built on: a harness is a state-management system, not a prompt-engineering one. So context is a budgeted projection rebuilt per request, memory is extracted and scored to survive restarts, and every tool call binds approval to a digest of the exact action. It routes work across whatever models your accounts can reach, delegates to agents in parallel, and runs as a terminal UI, CLI, HTTP API and MCP server off your own PostgreSQL.