Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,10 @@ secfoo run --skill sast --agent api --target https://github.com/org/repo
It suits small and medium repositories: the whole target has to fit in one
request, and larger ones are rejected with a message suggesting `--exclude`.

(`--agent secfoo` is a minimal variant of the same LiteLLM path that sends
only the rendered prompt, without the target's source files, and reads
`SECFOO_MODEL` instead. Prefer `api` unless you have a reason not to.)

### Tracking AI spend

Every run records tokens and cost where the agent reports them (`api`,
`secfoo`, `claude`; `gemini` reports tokens only; `agent` and `agy` report
`claude`; `gemini` reports tokens only; `agent` and `agy` report
neither and show as unpriced rather than $0). See it per run in
`secfoo run`, `secfoo list`, the dashboard and the enterprise portal, or
summarised:
Expand Down
3 changes: 1 addition & 2 deletions src/secfoo/agents/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from secfoo.agents.base import AgentAdapter, AgentResult
from secfoo.agents.registry import ADAPTERS, get_adapter
from secfoo.agents.secfoo import SecFooAdapter

__all__ = ["AgentAdapter", "AgentResult", "SecFooAdapter", "ADAPTERS", "get_adapter"]
__all__ = ["AgentAdapter", "AgentResult", "ADAPTERS", "get_adapter"]
2 changes: 0 additions & 2 deletions src/secfoo/agents/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from secfoo.agents.codex import CodexAdapter
from secfoo.agents.cursor import CursorAdapter
from secfoo.agents.gemini import GeminiAdapter
from secfoo.agents.secfoo import SecFooAdapter

ADAPTERS: dict[str, type[AgentAdapter]] = {
ClaudeAdapter.name: ClaudeAdapter,
Expand All @@ -17,7 +16,6 @@
GeminiAdapter.name: GeminiAdapter,
CopilotAdapter.name: CopilotAdapter,
ApiAdapter.name: ApiAdapter,
SecFooAdapter.name: SecFooAdapter,
CodexAdapter.name: CodexAdapter,
}

Expand Down
89 changes: 0 additions & 89 deletions src/secfoo/agents/secfoo.py

This file was deleted.

1 change: 0 additions & 1 deletion src/secfoo/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class AgentId(str, Enum):
GEMINI = "gemini"
COPILOT = "copilot"
API = "api"
SECFOO = "secfoo"
CODEX = "codex"


Expand Down
2 changes: 1 addition & 1 deletion src/secfoo/config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Used whenever --agent / --depth / --timeout aren't passed on the command
# line. CLI flags always win over these.
# Agent CLIs: claude | agent (Cursor) | agy (Antigravity) | gemini | codex | copilot
# API-key agents (no CLI): api | secfoo
# API-key agent (no CLI): api
agent = "claude"
depth = "quick" # quick | standard
# timeout = 1800 # seconds; omit to use each agent's own default
Expand Down
74 changes: 0 additions & 74 deletions tests/test_agents/test_secfoo.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def fake_execute_runs(**kwargs):
def test_agents_command_lists_all_adapters():
result = runner.invoke(app, ["agents"])
assert result.exit_code == 0
for agent_id in ["claude", "agent", "agy", "gemini", "secfoo", "codex"]:
for agent_id in ["claude", "agent", "agy", "gemini", "codex"]:
assert agent_id in result.stdout


Expand Down
Loading