rfp-agent pulls open federal contract notices from SAM.gov, scores every one for your company with plain reasons, and checks the FAR before it says anything about the rules. When the FAR doesn't cover a question, it says so.
Open source · runs on your machine · free local models via Ollama · plugs into any MCP client
What it does
Walkthrough
Six steps from an empty folder to a go/no-go brief, with the tool's real output for an example Atlanta IT firm. Pick any step to jump to it.
01 · Find
Agencies post the same opportunity again with every amendment: new notice id, same solicitation number. rfp-agent groups notices by department and solicitation number and keeps the newest.
02 · Score
The fit score is rules, not a model: five weighted parts, each with a written reason, so a business-development lead can see why a notice ranks where it does and disagree with a specific weight.
The brief turns scores into GO (70+), REVIEW (40-69) or NO-GO, and never says GO for an ineligible set-aside, an impossible deadline, or a sole-source notice.
| Part | Max | Rule | VA |
|---|---|---|---|
| NAICS | 35 | exact 35 · same group 20 | 35 |
| Set-aside | 25 | held 25 · open 15 · lacking caps total at 10 | 15 |
| Keywords | 20 | 2+ in title 20 · 1 in title 12 · text 6 | 12 |
| Deadline | 10 | enough days 10 · at least half 5 | 10 |
| Place | 10 | target state 10 · none 5 · other 2 | 5 |
| Total | 100 | "NAICS 541519 is one of the firm's codes" · "title keyword: software" · "14 days to respond (need 10)" | 77 |
03 · Check the FAR
The FAR tool retrieves 50 passages, collapses them to sections, and checks two gates calibrated on nonsense probes, not on hand-labeled refusals. It returns sections as evidence and never writes an answer.
When must a contracting officer set aside an acquisition for small business?
ANSWER ALLOWED · 0.840What is the per diem rate for lodging in Atlanta in 2026?
REFUSED · 0.620 < 0.711The FAR says which regulation sets travel rates, not the rates. A system that answered here would invent a number.
Plugs in anywhere
Add one block to Claude Desktop or Claude Code and ask in plain English: "find small-business IT notices in Georgia closing after the 15th and score them for us."
search_opportunitiesget_opportunityscore_opportunityfar_lookup// claude_desktop_config.json { "mcpServers": { "rfp-agent": { "command": "uv", "args": ["--directory", "/path/to/rfp-agent", "run", "rfp-agent-mcp"] } } }
Measured, not claimed
Evals ran on a laptop through Ollama at temperature 0, with the real FAR index. The table looks perfect; the full task shows where small local models still fail.
| Eval category | Cases | Rules baseline | llama3.1:8b | qwen2.5:7b | Decided by |
|---|---|---|---|---|---|
| Tool choice | 7 | 7/7 | 7/7 | 7/7 | the model |
| FAR refusal | 7 | 7/7 | 7/7 | 7/7 | retrieval gates |
| Fit bands | 5 | 5/5 | 5/5 | 5/5 | scoring rules |
llama3.1:8b put all eleven profile keywords into one search, got zero results, and stopped. Before a fix, it invented three notice ids in its summary.
qwen2.5:7b stacked every filter, got nothing, then retried after the tool explained empty results. Its summary still named the wrong NAICS code.
Tool-choice cases grade the tool name only; both models made up argument values that still passed.
The brief's tables are built only from tool results, so made-up notice ids never reach them. The model-written summary is labeled as such and should be checked against the tables.
Refusals and scores never depend on the model, so a weaker model can't talk the system into answering a question the FAR doesn't cover.
78 tests run with no network and no model; CI runs lint, tests and offline evals.
Quick start
Python 3.12 and uv. The public extract needs no API key; a SAM.gov key is optional and read from your keychain, never written to disk.
git clone https://github.com/gss-18/rfp-agent && cd rfp-agent && uv sync# get notices (public CSV, no key) and build the store uv run rfp-agent extract && uv run rfp-agent build # best fits for a company, at least 10 days to respond uv run rfp-agent search --min-days-left 10 \ --profile examples/atlanta_it_profile.toml # go/no-go brief with a local model uv run rfp-agent brief --llm ollama --model qwen2.5:7b
FAQ
A bid decision needs a reason a person can check. Rules give the same score every time, explain every point, and let a business-development lead change a weight they disagree with. The LLM's job is to choose tools and summarize, not to decide fit.
Two gates from the companion project abstain-rag: the best section must score at least 0.711, a floor set from nonsense probe queries built from real FAR words, and it must stand out from the next nine sections by a small margin. On the FAR test set this refuses most off-topic and near-miss questions while answering almost all real ones.
No. The public daily extract has every open notice and needs no key, and the agent runs on free local models through Ollama. A personal SAM.gov key adds fresher data; it is read from the macOS Keychain or an environment variable and never stored in the repo.
No. The tables come from SAM.gov data and rule-based scores; the FAR tool returns sections to read, not interpretations. The model-written summary can be wrong, as the results above show, and is labeled so you can check it.
The Model Context Protocol is an open standard for giving AI assistants tools. Running rfp-agent as an MCP server means any compatible client can search notices, score them and look up the FAR without custom integration code.