๐Ÿ™ Sefia AI v2.3.0 is out โ€” menu refresh, token analyzer, and improved packaging. Sefia-Code alpha 0.1.7 is live.
open source ยท MIT licensed ยท v2.3.0

From terminal prompts to agentic workflows

Sefia is now a fuller AI workspace for the terminal: chat with local Ollama models, connect to cloud-backed providers, use a coding assistant and a terminal assistant that actually get things done. No accounts, no lock-in โ€” install the .deb or run it from source. Still actively evolving.

sefia โ€” python3 main.py
Docs ยท what it does ยท v2.3.0

Six modes, one entry point.

Run python3 main.py and pick a number โ€” Sefia now stays in that loop until you exit. Everything talks to Ollama under the hood, with optional cloud/API provider support.

1 ยท Cloud

Cloud chat

Talk to Ollama's hosted models (or cloud credentials if set) straight from your terminal, with the conversation appended to a local history.txt so context survives between sessions.

2 ยท Local

Local chat

Run a model entirely on your own machine โ€” lists everything you've pulled and defaults to Sefia's own fine-tune, camdencarr84/sefia-ai:1b โ€” with nothing leaving your device.

3 ยท Terminal

Guarded shell assistant

Pick any model you've pulled, describe a task in plain English, and Sefia drafts a shell command and runs it past a safety check โ€” pattern-matching for destructive operations, then a second model verdict โ€” before anything executes.

4 ยท Self-host

Host your own server

Bind Ollama to 0.0.0.0:11434 in one command and point any client โ€” Chatbox, your phone, another machine on your network โ€” at your own GPU.

5 ยท Podcast

AI podcast generator

Paste an article and Sefia scripts a two-host conversation, voices it with edge-tts, and stitches the segments into a single downloadable .wav file.

6 ยท New in 2.3.0

Token analyzer

Paste in any block of text โ€” a chat log, an article, a prompt you're about to send โ€” and get a quick estimate of how many tokens it costs, right from the menu.

โ˜…

Free & open source

MIT licensed, named after the city of Sefia ("rules are made for fools") from The Tales of the Broken Realm. Built and maintained in the open โ€” PRs welcome. Still under active development.

# Debian / Ubuntu โ€” install straight from the .deb sudo apt install ./sefia_2.3.0_all.deb sefia # or run from source, any OS git clone https://github.com/camdencarr84-jpg/sefia-ai cd sefia-ai ollama pull qwen2.5-coder:1.5b python3 -m venv venv && source venv/bin/activate pip install -r requirements.txt # run it โ€” stays open until you choose "7. Exit" python3 main.py
โฌ‡ Download sefia_2.3.0_all.deb
Now available alpha 0.1.7

Sefia-Code is here.

The second generation of the Sefia family: a coding agent that lives in your terminal. Describe a task, it writes the file, names it, picks the right extension, and appends a README explaining what it did. Free for everyone, commercial rights included. In this alpha, AI is only used for the coding itself and light debugging โ€” nothing else.

Install

Debian / Ubuntu

Sefia-Code ships as its own .deb, separate from the main Sefia package โ€” install it and sefia-code is on your PATH in any terminal.

Install

macOS

No package yet โ€” follow the build-from-source steps on GitHub until a native installer lands.

Inside the loop

/init and /quit

Run /init once to write a SEFIA.md with instructions the agent should follow on every task; /quit exits and saves everything.

# Debian / Ubuntu sudo apt install ./sefia_2.3.0_all.deb sefia-code # first run: set /init, describe your first task SEFIA-CODE>>> /init
โฌ‡ Download sefia-code .deb macOS build instructions โ†—
Still alpha

Help shape what's next.

Sefia-Code is early โ€” rough edges are expected. Tell us what you're building it with and what you want it to do next, and flag yourself for testing future builds before they go public.

No spam โ€” just a heads-up on new builds and the occasional question.
Stay in the loop

Sefia newsletter

Occasional updates on new modes, releases, and the Sefia-Code beta. No noise.

By subscribing you agree to receive occasional project emails. Unsubscribe anytime.