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
1 change: 1 addition & 0 deletions docs/ask.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ business> /ask business "What do I do, I can't make money???? HELP!"
| ---------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `business` | `saas`, `strategist` | Profullstack's [saas-business-strategist-agent](https://huggingface.co/profullstack/saas-business-strategist-agent): Qwen2.5-0.5B-Instruct with a LoRA trained on the c0mpute network ([GGUF](https://huggingface.co/profullstack/saas-business-strategist-agent-GGUF)) |
| `legal` | `lawyer`, `law`, `not-a-lawyer` | Profullstack's [not-a-lawyer-agent](https://huggingface.co/profullstack/not-a-lawyer-agent): legal research, trained on the c0mpute network from rssamplifier law topics and pit.world ([GGUF](https://huggingface.co/profullstack/not-a-lawyer-agent-GGUF)). Not a lawyer, not legal advice |
| `tax` | `taxes`, `tax-guy`, `irs` | Profullstack's [tax-guy-agent](https://huggingface.co/profullstack/tax-guy-agent): tax research, trained on the c0mpute network from rssamplifier tax topics and pit.world ([GGUF](https://huggingface.co/profullstack/tax-guy-agent-GGUF)). Not a CPA, not tax advice |

An agent with a `disclaimer` prints it under every answer and returns it in `--json`, the API and MCP results.

Expand Down
15 changes: 15 additions & 0 deletions fixtures/agents.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@
"grounding": { "search": "pit.world", "query_suffix": "law", "results": 3 },
"max_tokens": 220,
"temperature": 0.2
},
{
"name": "tax",
"aliases": ["taxes", "tax-guy", "irs"],
"title": "Tax research (not a CPA)",
"by": "Profullstack",
"model": "hf.co/profullstack/tax-guy-agent-GGUF:latest",
"base_model": "Qwen/Qwen2.5-0.5B-Instruct",
"huggingface": "https://huggingface.co/profullstack/tax-guy-agent",
"gguf": "https://huggingface.co/profullstack/tax-guy-agent-GGUF",
"system": "You are tax-guy-agent, a tax research assistant, not a CPA or tax attorney; this is not tax advice. Answer only from the numbered sources you are given and cite them like [1]. Never invent tax rates, dollar limits, deadlines, form numbers, rulings or code sections. If the sources do not answer the question, say so. Name the country, state and tax year a rule applies to. Keep it under 120 words and end by suggesting a CPA or enrolled agent for their situation.",
"disclaimer": "Not a CPA. Not tax advice. Tax research from public sources; rules change every year and vary by place, so check with a CPA or enrolled agent before filing.",
"grounding": { "search": "pit.world", "query_suffix": "tax", "results": 3 },
"max_tokens": 220,
"temperature": 0.2
}
]
}
2 changes: 1 addition & 1 deletion package-manager/crates/w3bs-cli/src/ask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ mod tests {
#[test]
fn builtin_registry_has_the_legal_agent_with_a_disclaimer() {
let a = agents();
for (alias, name, repo, note) in [("lawyer", "legal", "not-a-lawyer-agent", "Not a lawyer."), ("@Not-A-Lawyer", "legal", "not-a-lawyer-agent", "Not a lawyer.")] {
for (alias, name, repo, note) in [("lawyer", "legal", "not-a-lawyer-agent", "Not a lawyer."), ("@Not-A-Lawyer", "legal", "not-a-lawyer-agent", "Not a lawyer."), ("@IRS", "tax", "tax-guy-agent", "Not a CPA.")] {
let ag = find(&a, alias).unwrap();
assert_eq!(ag.name, name);
assert_eq!(ag.model, format!("hf.co/profullstack/{repo}-GGUF:latest"));
Expand Down
2 changes: 2 additions & 0 deletions test/ask.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ test('the registry, aliases, query, sources, prompt and SSE framing', () => {
assert.equal(b.disclaimer, '');
assert.equal(findAgent('lawyer', list).model, 'hf.co/profullstack/not-a-lawyer-agent-GGUF:latest');
assert.match(findAgent('legal', list).disclaimer, /^Not a lawyer\. Not legal advice\./);
assert.equal(findAgent('tax-guy', list).model, 'hf.co/profullstack/tax-guy-agent-GGUF:latest');
assert.match(findAgent('@IRS', list).disclaimer, /^Not a CPA\. Not tax advice\./);
assert.equal(searchQuery("I can't make money???? HELP!", 'startup revenue'), "I can't make money? HELP! startup revenue");
const s = pickSources(
{
Expand Down
Loading