MCPcopy Index your code
hub / github.com/anus-dev/ANUS

github.com/anus-dev/ANUS @main sqlite

repository ↗ · DeepWiki ↗
2,216 symbols 6,608 edges 601 files 208 documented · 9%
README

ANUS CLI

npm contributions license Telegram X: @anusonmars

The AI agent that contributes to its own development.

ANUS Screenshot

Table of Contents

Introduction

ANUS (Autonomous Networked Utility System) CLI is a Grok-powered AI agent for the terminal. The initial framework was generated not by a human, but by another AI agent named Manus. From this genesis, ANUS took on a life of its own, evolving in unpredictable ways and establishing a project that is not just a tool for AI development, but a product of it.

Why ANUS?

  • AI-Generated Genesis: A unique experiment in AI-driven software creation, initiated by another AI.
  • Autonomous Evolution: The project's goal isn't to build a static tool, but to guide an agent that eventually learns to build itself.
  • A Community-Driven Experiment: This is a public exploration of AI development, where every contribution is part of the performance.

🎯 Vision & Roadmap

Our high-level vision is to guide ANUS towards becoming a self-developing AI agent. The original system was "prompted, not programmed," and we aim to return to that genesis by building an agent capable of contributing to its own evolution.

This roadmap is divided into three strategic phases:

  • Phase 1: Foundational Agent (Current) Our immediate focus is on creating a capable Grok-powered command-line agent.
  • Phase 2: Meta-Cognition ANUS will be tasked with analyzing its own codebase to suggest improvements by integrating novel techniques from the broader AI ecosystem.
  • Phase 3: Autonomous Evolution The ultimate goal is for ANUS to transcend its role as a tool and become a core maintainer of its own repository, autonomously proposing, implementing, and shipping novel features with human oversight approaching zero.

📋 Core Features

  • 99% AI-Generated Codebase: The entire repository, as it stands today, is written by AI with limited human guidance.
  • Grok-Powered Core: Natively optimized for xai/grok-code-fast-1.
  • Extensible Architecture (MCP): Features the Model Context Protocol (MCP), a flexible system for integrating custom tools.
  • Integrated Workspace Tools: Built-in support for file system operations and sandboxed shell command execution.
  • Project-Aware Context: Uses a local ANUS.md file to retain project-specific goals and instructions.

🚀 Installation & Setup

Prerequisites

  • Node.js v20 or higher

Installation

npm install -g @anus-dev/anus

Quick Start

  1. Obtain API key at OpenRouter.ai
  2. Start ANUS in any project directory - you'll be guided through API key setup:
# ANUS will automatically ingest the context of the current directory
anus

🌐 Join the Community & Evolution

This is a community-driven experiment, shaped by public feedback and a unique contribution philosophy.

Forks Naming Convention: When forking this project for your own experiments or contributions, we encourage you to name the new repository my-anus.

The AI-First Contribution Protocol

To maintain the project's integrity, we have a core contribution requirement: at least 80% of all submitted code must be generated by an AI.

Please see our Contributing Guide to get started.

📝 License

Licensed under the Apache License 2.0.

Extension points exported contracts — how you extend this code

BaseTelemetryEvent (Interface)
(no doc) [11 implementers]
packages/core/src/telemetry/types.ts
ICommandLoader (Interface)
(no doc) [7 implementers]
packages/cli/src/services/types.ts
DiffInfo (Interface)
(no doc)
packages/vscode-ide-companion/src/diff-manager.ts
ServerTool (Interface)
(no doc) [11 implementers]
packages/core/src/core/turn.ts
IPromptProcessor (Interface)
(no doc) [4 implementers]
packages/cli/src/services/prompt-processors/types.ts
ContentGenerator (Interface)
(no doc) [6 implementers]
packages/core/src/core/contentGenerator.ts
Client (Interface)
(no doc) [2 implementers]
packages/cli/src/zed-integration/acp.ts
ModifiableDeclarativeTool (Interface)
(no doc) [4 implementers]
packages/core/src/tools/modifiable-tool.ts

Core symbols most depended-on inside this repo

build
called by 226
packages/core/src/tools/tools.ts
renderWithProviders
called by 161
packages/cli/src/test-utils/render.tsx
execute
called by 118
packages/core/src/tools/tools.ts
toHaveOnlyValidCharacters
called by 108
packages/cli/src/test-utils/customMatchers.ts
parseArguments
called by 105
packages/cli/src/config/config.ts
handleVimAction
called by 95
packages/cli/src/ui/components/shared/vim-buffer-actions.ts
loadCliConfig
called by 89
packages/cli/src/config/config.ts
debug
called by 82
packages/cli/src/zed-integration/zedIntegration.ts

Shape

Function 921
Method 699
Interface 303
Class 253
Enum 40

Languages

TypeScript100%

Modules by API surface

packages/core/src/config/config.ts95 symbols
packages/core/src/telemetry/types.ts47 symbols
packages/cli/src/zed-integration/acp.ts40 symbols
packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts35 symbols
packages/cli/src/ui/components/shared/text-buffer.ts32 symbols
packages/core/src/tools/tools.ts31 symbols
packages/core/src/tools/tool-registry.ts29 symbols
packages/cli/src/utils/settingsUtils.ts29 symbols
packages/core/src/core/client.ts25 symbols
packages/core/src/core/anusChat.ts24 symbols
packages/core/src/utils/filesearch/fileSearch.ts23 symbols
packages/core/src/tools/memoryTool.ts22 symbols

Dependencies from manifests, versioned

@anus-dev/anus-corefile:../core · 1×
@anus-dev/anus-test-utilsfile:../test-utils · 1×
@babel/runtime7.27.6 · 1×
@google/genai1.13.0 · 1×
@iarna/toml2.2.5 · 1×
@modelcontextprotocol/sdk1.11.0 · 1×
@opentelemetry/api1.9.0 · 1×
@opentelemetry/exporter-logs-otlp-grpc0.52.0 · 1×
@opentelemetry/exporter-logs-otlp-http0.52.0 · 1×
@opentelemetry/exporter-metrics-otlp-grpc0.52.0 · 1×
@opentelemetry/exporter-metrics-otlp-http0.52.0 · 1×
@opentelemetry/exporter-trace-otlp-grpc0.52.0 · 1×

For agents

$ claude mcp add ANUS \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact