Skip to content

[EPIC] Enhanced Code Assistant: Beat Aider & Claude Code #270

Description

@AlexMikhalev

Objective

Build a code assistant that surpasses claude-code, aider, and opencode by leveraging existing terraphim infrastructure:

  • MCP Client/Server (70% done)
  • rust-genai for 200+ LLM providers
  • terraphim-automata with fuzzy matching
  • Knowledge graph security model

Key Innovations

  1. Works WITHOUT tool support (like Aider) - text-based SEARCH/REPLACE parsing
  2. 9+ edit fallback strategies using terraphim-automata (exact → fuzzy → semantic)
  3. Knowledge-graph-based security with intelligent command matching
  4. Repository-specific permissions that learn from user decisions
  5. 4-layer validation pipeline (pre-LLM, post-LLM, pre-tool, post-tool)

Timeline: 6 Weeks

Documentation

See code_assistant_requirements.md for full specification.

Success Metrics

  • Edit success rate >90% (beating Aider's 89%)
  • Works with ANY LLM (tool or no-tool support)
  • <10µs command validation (vs 100µs in competitors)
  • Repository-specific security profiles
  • Learning system reduces prompts by 70% over time

Sub-Issues

Proof: Beating Aider

Terraphim will beat Aider because:

  1. ✅ Works with ANY LLM (text parsing + tool support)
  2. ✅ 9+ fallback strategies vs Aider's 5
  3. ✅ 50x faster (Rust vs Python)
  4. ✅ Dual-mode (tools OR text)
  5. ✅ 200+ models via rust-genai
  6. ✅ MCP native integration
  7. ✅ Knowledge-graph-based security

See proof in code_assistant_requirements.md section on "Why Terraphim BEATS Aider".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions