-
Notifications
You must be signed in to change notification settings - Fork 384
Create a tiny-agents
package
#1451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
julien-c
commented
May 13, 2025

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Available Commands: | ||
run Run the Agent in command-line | ||
serve Run the Agent as an OpenAI-compatible HTTP server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
being able to run OR serve from the same config is 👌
@@ -0,0 +1,13 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://gitmcp.io/ <-- for demo this is a nice remote server for a coding agent. (it makes any github repo an MCP server!). (just announced it now supports streaming http!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good can you add it as a suggestion so i can commit it?
CI failure is unrelated as far as I can tell @coyotte508, merging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arrrg, I arrived 1 minute late 😭
"model": "Qwen/Qwen3-32B", | ||
"provider": "novita", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to try tiny-agent
but got an error:
Error: model features function calling not support
at innerStreamingRequest (/home/wauplin/projects/huggingface.js/packages/inference/dist/index.cjs:1839:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async chatCompletionStream (/home/wauplin/projects/huggingface.js/packages/inference/dist/index.cjs:2115:3)
at async Agent.processSingleTurnWithTools (/home/wauplin/projects/huggingface.js/packages/mcp-client/dist/src/index.js:198:22)
at async Agent.run (/home/wauplin/projects/huggingface.js/packages/mcp-client/dist/src/index.js:328:9)
at mainCliLoop (/home/wauplin/projects/huggingface.js/packages/tiny-agents/src/lib/mainCliLoop.ts:53:20)
at main (/home/wauplin/projects/huggingface.js/packages/tiny-agents/src/cli.ts:146:3)
Node.js v20.11.1
ELIFECYCLE Command failed with exit code 7.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"model": "Qwen/Qwen3-32B", | |
"provider": "novita", | |
"model": "Qwen/Qwen2.5-72B-Instruct", | |
"provider": "nebius", |
changing to this made it work for me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feel free to open a PR to add your own agent @Wauplin 😁
Does the other one work for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opened a separate PR: #1466