TamfisGPT Code -- standalone terminal coding agent (calls HF/NVIDIA NIM/OpenRouter/Ollama directly; --remote for the legacy TamfisGPT Remote backend)
Project description
tamfis-code
A standalone terminal coding agent. By default it calls an LLM provider directly — Hugging Face, NVIDIA NIM, OpenRouter, or Ollama — and runs its own agent loop, tool execution, and local risk/approval/mutation-ledger safety layer, with no separate backend process required.
--remote (or a persistent default_backend = "remote" config setting)
switches to the original architecture: a thin client to the TamfisGPT
Remote Workspace backend, for TamfisGPT tenants using their hosted account
the same way Codex CLI uses a ChatGPT/OpenAI account, kimi-code uses a Kimi
account, or Claude Code uses a Claude account.
Install
pipx install tamfis-code
See USAGE_INSTALL_RELEASE.md for installing from source, using a TamfisGPT tenancy, and the release process.
Quick start
export OLLAMA_BASE_URL=http://localhost:11434/v1 # or set HF_TOKEN / NVIDIA_API_KEY / OPENROUTER_API_KEY
tamfis-code doctor # check provider connectivity
tamfis-code ask "explain what this repo does"
tamfis-code agent "add a health-check endpoint" # full read/write/execute loop
tamfis-code # interactive REPL
Providers
| Provider | Env var | Notes |
|---|---|---|
| Ollama | OLLAMA_BASE_URL (default http://localhost:11434/v1) |
Runs fully on-device, no API key |
| Hugging Face | HF_TOKEN |
|
| NVIDIA NIM | NVIDIA_API_KEY |
|
| OpenRouter | OPENROUTER_API_KEY |
Select one explicitly with --provider hf|nvidia|openrouter|ollama, or
leave it as auto (default) to pick the best configured one.
Safety model
Every mutating tool call (write_file, edit_file, execute_command) is
risk-classified locally (tamfis_code/safety.py), gated by
--approval-policy (or the /mode REPL command), and recorded in a local
mutation ledger — see tamfis-code diffs / tamfis-code diff /
tamfis-code revert. There is no sandboxing beyond risk classification;
review dangerous commands yourself before approving them.
License
TBD — decide before the first public PyPI release (a public package still needs a stated license; "all rights reserved"/proprietary is a valid choice if you don't want redistribution/modification, but it should be explicit rather than absent).
Project details
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 tamfis_code-0.2.3.tar.gz.
File metadata
- Download URL: tamfis_code-0.2.3.tar.gz
- Upload date:
- Size: 152.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99f5dca7e2d96ca9ece1e531cc7c1b30203ebaafa56de6cf3603059bc7d9e468
|
|
| MD5 |
998a5fb27e6c5e0526cf6739e396beff
|
|
| BLAKE2b-256 |
565035794f26dbe6140309ec129dfc4b42a6df52dbe3a7b32174927df4480381
|
Provenance
The following attestation bundles were made for tamfis_code-0.2.3.tar.gz:
Publisher:
publish.yml on tamfitronics/tamfis-code
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tamfis_code-0.2.3.tar.gz -
Subject digest:
99f5dca7e2d96ca9ece1e531cc7c1b30203ebaafa56de6cf3603059bc7d9e468 - Sigstore transparency entry: 2189593895
- Sigstore integration time:
-
Permalink:
tamfitronics/tamfis-code@f77c766b2557de9e52da5f54be484f114a351c66 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/tamfitronics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f77c766b2557de9e52da5f54be484f114a351c66 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tamfis_code-0.2.3-py3-none-any.whl.
File metadata
- Download URL: tamfis_code-0.2.3-py3-none-any.whl
- Upload date:
- Size: 125.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3770bbe02b2562fc540f3b7f9af3847ac8099db9ff958a95de4236367c0eb2b6
|
|
| MD5 |
500552b0411fd8574d48375b725fb831
|
|
| BLAKE2b-256 |
b51525d667c2abc7c2ff2a1d98b80620a6be54bc16e5770b367e90b7f3394bfa
|
Provenance
The following attestation bundles were made for tamfis_code-0.2.3-py3-none-any.whl:
Publisher:
publish.yml on tamfitronics/tamfis-code
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tamfis_code-0.2.3-py3-none-any.whl -
Subject digest:
3770bbe02b2562fc540f3b7f9af3847ac8099db9ff958a95de4236367c0eb2b6 - Sigstore transparency entry: 2189593908
- Sigstore integration time:
-
Permalink:
tamfitronics/tamfis-code@f77c766b2557de9e52da5f54be484f114a351c66 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/tamfitronics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f77c766b2557de9e52da5f54be484f114a351c66 -
Trigger Event:
push
-
Statement type: