newsence
來源篩選

Show HN: CIE – Open-source Code Intelligence Engine for AI Coding Assistants

Hacker News

The 'Show HN' post introduces CIE (Code Intelligence Engine), an open-source project designed to provide AI coding assistants with a deep understanding of codebases through semantic search and call graph analysis.

newsence

Show HN:CIE – 開源程式碼智慧引擎,專為 AI 編碼助手打造

Hacker News
大約 1 個月前

AI 生成摘要

這篇「Show HN」貼文介紹了 CIE(程式碼智慧引擎),一個開源專案,旨在透過語義搜尋和呼叫圖分析,讓 AI 編碼助手能深入理解程式碼庫。

GitHub - kraklabs/cie

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

To see all available qualifiers, see our documentation.

License

Licenses found

kraklabs/cie

Folders and files

Latest commit

History

Repository files navigation

CIE - Code Intelligence Engine

Give your AI assistant deep understanding of your codebase

Image Image Image Image Image

Quick Start •
Features •
Documentation •
Support

CIE indexes your codebase and provides semantic search, call graph analysis, and AI-powered code understanding through the Model Context Protocol (MCP).

Why CIE?

Installation

Prerequisites: Docker and Docker Compose

Features

Semantic Code Search

Find code by meaning, not keywords:

Example output:

Call Graph Analysis

Trace how execution reaches any function:

Example output:

HTTP Endpoint Discovery

List all API endpoints automatically:

Example output:

Multi-Language Support

Supports Go, Python, JavaScript, TypeScript, and more through Tree-sitter parsers.

Quick Start

1. Install the CLI

Homebrew (macOS/Linux):

Script:

Manual download:
Download from GitHub Releases

2. Index Your Repository

Example output:

Common Issues

"Connection refused" - Ensure infrastructure is running: cie start
"CIE_BASE_URL not set" - The CLI should detect it if cie init was run correctly, but you can export it manually: export CIE_BASE_URL=http://localhost:9090

Infrastructure Management

MCP Server Mode

CIE can run as an MCP server for integration with Claude Code:

Configure in your Claude Code settings:

Configuration

CIE uses a YAML configuration file (.cie/project.yaml):

Note: The llm section is optional. Without it, cie_analyze returns raw analysis data. With it configured, you get synthesized narrative summaries.

MCP Tools

When running as an MCP server, CIE provides 20+ tools organized by category:

Navigation & Search

Call Graph Analysis

Code Understanding

HTTP/API Discovery

Security & Verification

System

For detailed documentation of each tool with examples, see Tools Reference

Data Storage

CIE stores indexed data locally in ~/.cie/data/<project_id>/ using CozoDB with RocksDB backend. This ensures:

Embedding Providers

CIE supports multiple embedding providers:

Documentation

Architecture

CIE uses a client-server architecture where the heavy lifting runs in Docker:

Key Components:

Code Structure:

For in-depth architecture details, see Architecture Guide.

Development

Testing

CIE uses a two-tier testing approach:

Unit Tests (default) - Fast in-memory tests, no CozoDB installation required:

Integration Tests - Use Docker containers with CozoDB:

The testcontainer infrastructure automatically handles:

For detailed testing documentation, see docs/testing.md.

Writing Tests

Use the CIE testing helpers for easy test setup:

Building

Support

Need help or want to contribute?

Before opening an issue:

Contributing

See CONTRIBUTING.md for guidelines.

CIE Enterprise

Scale code intelligence across your entire organization.

CIE Enterprise brings the power of semantic code search and call graph analysis to teams of any size. Built for organizations that demand reliability, security, and collaboration.

Why Enterprise?

Enterprise Features

Distributed Architecture
Deploy CIE across your infrastructure with a Primary Hub and Edge Caches. All team members connect to the same indexed codebase with millisecond-latency queries worldwide.

Team Collaboration
Share code intelligence across your entire engineering organization. One index, one source of truth—no more siloed knowledge.

CI/CD Integration
Automatically keep your code index up-to-date with every commit. Native integration with GitHub Actions, GitLab CI, Jenkins, and more.

High-Fidelity Embeddings
OpenAI-powered 1536-dimension embeddings for superior semantic search accuracy. Find exactly what you're looking for, even in massive codebases.

Integrated LLMs
Connect your preferred LLM provider for enhanced code analysis, architectural insights, and natural language queries about your codebase.

Priority Support
Direct access to our engineering team. SLAs, dedicated support channels, and implementation assistance.

Get Started

Contact us: [email protected]

Schedule a demo to see how CIE Enterprise can transform your team's development workflow.

License

CIE is dual-licensed:

Open Source License (AGPL v3)

CIE is free and open source under the GNU Affero General Public License v3.0 (AGPL v3).

Use CIE for free if:

See LICENSE for full AGPL v3 terms.

Commercial License

Need to use CIE in a closed-source product or service? We offer commercial licenses that remove AGPL requirements.

Commercial licensing is right for you if:

Pricing: Contact [email protected] for details.

See LICENSE.commercial for more information.

Why dual licensing?
This model allows us to:

Third-Party Components

CIE includes some third-party components with their own licenses:

These components are compatible with AGPL v3 and retain their original licenses.

Related Projects

About

Resources

License

Licenses found

Code of conduct

Contributing

Security policy

Uh oh!

There was an error while loading. Please reload this page.

Stars

Watchers

Forks

Releases

11

Packages

0

Uh oh!

There was an error while loading. Please reload this page.

Languages

Footer

Footer navigation