MCPcopy Index your code
hub / github.com/ekkinox/yai

github.com/ekkinox/yai @0.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.6.0 ↗ · + Follow
198 symbols 590 edges 33 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🚀 Yai 💬 - AI powered terminal assistant

build release doc

Unleash the power of artificial intelligence to streamline your command line experience.

Intro

What is Yai ?

Yai (your AI) is an assistant for your terminal, using OpenAI ChatGPT to build and run commands for you. You just need to describe them in your everyday language, it will take care or the rest.

You have any questions on random topics in mind? You can also ask Yai, and get the power of AI without leaving /home.

It is already aware of your: - operating system & distribution - username, shell & home directory - preferred editor

And you can also give any supplementary preferences to fine tune your experience.

Documentation

A complete documentation is available at https://ekkinox.github.io/yai/.

Quick start

To install Yai, simply run:

curl -sS https://raw.githubusercontent.com/ekkinox/yai/main/install.sh | bash

At first run, it will ask you for an OpenAI API key, and use it to create the configuration file in ~/.config/yai.json.

See documentation for more information.

Thanks

Thanks to @K-arch27 for the yai name idea!

Core symbols most depended-on inside this repo

GetAiConfig
called by 18
config/config.go
GetSystemConfig
called by 14
config/config.go
Add
called by 13
history/history.go
NewRenderer
called by 10
ui/renderer.go
RenderContent
called by 9
ui/renderer.go
NewRunOutput
called by 9
run/output.go
NewHistory
called by 8
history/history.go
GetUserConfig
called by 8
config/config.go

Shape

Method 90
Function 87
Struct 17
TypeAlias 4

Languages

Go100%

Modules by API surface

ai/engine.go19 symbols
ui/ui.go17 symbols
system/analyzer.go17 symbols
ui/prompt.go14 symbols
ui/renderer_test.go9 symbols
ui/renderer.go9 symbols
ai/output.go9 symbols
history/history.go8 symbols
ai/output_test.go7 symbols
ui/input.go6 symbols
config/config.go6 symbols
config/ai.go6 symbols

For agents

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

⬇ download graph artifact