fj — one-shot CLI coding agent powered by soothe-nano
Project description
fj
🎥 Watch the demo video on Vimeo
fj is a one-shot coding-agent CLI for the terminal. Type a question, get an answer — no UI, no context-switching:
fj explain this repo
fj -f what did we decide last time?
fjf what did we decide last time? // The same as fj -f
It runs on soothe-nano — tools, skills, MCP, subagents, and progressive loading — with SQLite persistence so every thread is resumable.
Package: fj-ai · Runtime: soothe-nano
Install
pip install fj-ai
# or
uv tool install fj-ai
Requires Python 3.11+.
Configure
Option A — Local model (guided):
fj setup
Walks you through an OpenAI-compatible endpoint (Ollama, LM Studio, vLLM, …) and writes the basics to ~/.soothe/config/nano.yml.
Option B — Cloud (no config file):
export OPENAI_API_KEY=sk-...
fj summarize README.md
Missing nano.yml falls back to OPENAI_API_KEY or ANTHROPIC_API_KEY.
Run
fj who are you
fj list Python files in this directory
fj refactor the parser to use dataclasses
Conversation
Threads persist across runs in SQLite. Continue the latest, jump to a specific one, or list them:
fj -f and now add tests # continue latest active thread
fj -t abc123 continue from here # continue a specific thread
fj -l # list recent threads
Flags
fj [options] [--] <query...>
| Flag | Meaning |
|---|---|
-f / --follow |
Continue the latest active thread |
-t ID / --thread |
Continue (or pin) a specific thread |
-l / --list |
List recent threads (newest first) |
-n NUM |
How many threads -l shows (0 = all) |
-c PATH / --config |
Use an alternate nano.yml |
-w DIR / --workspace |
Workspace root |
--no-stream |
Wait for the full answer instead of streaming |
-v / --verbose |
Mirror tool calls on stderr |
Shell completion (AI-assisted, predicts natural-language intents, not just flags):
eval "$(fj completion zsh)" # or: fj completion bash
Extend
Skills
fj ships AgentSkills (planning, TDD, debugging, document tools, MCP builder, and more) and supports your own via nano.yml:
skills:
- ~/.soothe/skills/my-reviewer
- ./skills/deploy
Each skill is a SKILL.md with frontmatter; progressive loading keeps the catalog compact and loads on demand.
MCP servers
Connect any Model Context Protocol server:
mcp_servers:
- name: filesystem
transport: stdio
command: npx
args: ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
With defer: true (default), MCP tools activate on demand.
Development
git clone https://github.com/caesar0301/fj-ai.git
cd fj-ai
make sync-dev
make test
make lint
CI runs format, lint, and tests on Python 3.11–3.13; releases go GitHub Release → PyPI.
Powered by
Built on soothe-nano. For a full TUI coding agent from the same stack, see mirasoth/soothe.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fj_ai-1.0.14.tar.gz.
File metadata
- Download URL: fj_ai-1.0.14.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f13681d6291f39d39d9529d5f4262ec10039f12a47d9f68eada65ea9d1e3e46f
|
|
| MD5 |
270160445bf6147cfa35983241f929a1
|
|
| BLAKE2b-256 |
148c8f167495911ae86d6110806bd27a8d11761370fb4f7a3bcaad7efc335297
|
Provenance
The following attestation bundles were made for fj_ai-1.0.14.tar.gz:
Publisher:
release.yml on caesar0301/fj-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fj_ai-1.0.14.tar.gz -
Subject digest:
f13681d6291f39d39d9529d5f4262ec10039f12a47d9f68eada65ea9d1e3e46f - Sigstore transparency entry: 2230536794
- Sigstore integration time:
-
Permalink:
caesar0301/fj-ai@b52a102e48bcc370400afa58a128ca18143f8b45 -
Branch / Tag:
refs/tags/v1.0.14 - Owner: https://github.com/caesar0301
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b52a102e48bcc370400afa58a128ca18143f8b45 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fj_ai-1.0.14-py3-none-any.whl.
File metadata
- Download URL: fj_ai-1.0.14-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bef64c6d1d5f5ff1e2d4172fabdf1761c59d099276e2a47d2f4e095bc445cf3
|
|
| MD5 |
6eeb215e4513b2bdbe36d9c5d98726fe
|
|
| BLAKE2b-256 |
66affb5af742b020b7ef9fed0bda15e1e9e61f49ff5036cecca57d9c7bf3f89c
|
Provenance
The following attestation bundles were made for fj_ai-1.0.14-py3-none-any.whl:
Publisher:
release.yml on caesar0301/fj-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fj_ai-1.0.14-py3-none-any.whl -
Subject digest:
8bef64c6d1d5f5ff1e2d4172fabdf1761c59d099276e2a47d2f4e095bc445cf3 - Sigstore transparency entry: 2230537171
- Sigstore integration time:
-
Permalink:
caesar0301/fj-ai@b52a102e48bcc370400afa58a128ca18143f8b45 -
Branch / Tag:
refs/tags/v1.0.14 - Owner: https://github.com/caesar0301
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b52a102e48bcc370400afa58a128ca18143f8b45 -
Trigger Event:
release
-
Statement type: