Live data from Hacker News

Show HN: Nous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI

github.com

21–30 of 38 posts

Re: Show HN: Nous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI

#21
This looks fantastic! I've been using aider and had my own scripts to automate some things with it, but this looks next level and beyond.

I wanted to try this out (specifically the web UI), so I configured the env file, adjusted the docker compose file, ran `docker compose up` and it "just works".

It would be great if there was a basic agent example or two pre-configured, so you can set this up and instantly get a better sense of how everything works from a more hands-on perspective.

Re: Show HN: Nous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI

#22
I'm having a hard time figuring out how much logic lives in Nous and how much in Aider for code changes - could you say some more about it?

Playing with the code agents do far I've found Aider to do many silly mistakes and revert its own changes in the next commit of the same task. On the other hand Plandex is more consistent but can get in a loop of splitting the take into way too small pieces and burning money. I'm interested to see other approaches coming up.

Re: Show HN: Nous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI

#23

I'm having a hard time figuring out how much logic lives in Nous and how much in Aider for code changes - could you say some more about it? Playing with the code agents do far I've found Aider to do many silly mistakes and revert its own changes in the next commit of the same task. On the other hand Plandex is more consistent but can get in a loop of splitting the take into way too small pieces and burning money. I'm…

I have a few steps so far in the code editing at https://github.com/TrafficGuard/nous/blob/main/src/swe/codeE... There is a first pass I initially created when I was re-running a partially completed task and it would sometimes duplicate what already had been done. This helps Aider focus on what to do.

  ${fileContents}
  ${requirements}
  You are a senior software engineer. Your task is to review the provided user requirements against the code provided and produce an implementation design specification to give to a developer to implement the changes in the files.
  Do not provide any details of verification commands etc as the CI/CD build will run integration tests. Only detail the changes required in the files for the pull request.
  Check if any of the requirements have already been correctly implemented in the code as to not duplicate work.
  Look at the existing style of the code when producing the requirements.
Then there is a compile/lint/test loops which feeds back in the error messages, and in the case of compile errors the diff since the last compiling commit. Aider added some similar functionality recently.

Then finally there's a review step which asks:

  Do the changes in the diff satisfy the requirements, and explain why? Are there any redundant changes in the diff? Was any code removed in the changes which should not have been? Review the style of the code changes in the diff carefully against the original code.  Do the changes follow all the style conventions of the original code?
This helps catch issues that Aider inadvertently introduced, or missed.

I have some ideas around implementing workflows that mimic what we do. For example if you have a tricky bug, add a .only to the relevant describe/it tests (or create tests if they dont exist) add lots of logging and assertions to pinpoint the fix required, then undo the .only and extra logging. Thats whats going to enable higher overall success rates, which you can see the progress in the SWE-bench lite leaderboard as simple RAG implementations had up to ~4% success rate with Opus, while the agentic solutions are reaching 43% pass rate on the full suite.

Re: Show HN: Nous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI

#24

This looks fantastic! I've been using aider and had my own scripts to automate some things with it, but this looks next level and beyond. I wanted to try this out (specifically the web UI), so I configured the env file, adjusted the docker compose file, ran `docker compose up` and it "just works". It would be great if there was a basic agent example or two pre-configured, so you can set this up and instantly get a be…

Updating the Dockerfile and docker-compose.yml was the last change I made so glad to hear that worked for you! What change did you make to the docker compose file?

The CLI scripts under src/cli would be the best examples currently to have a look at for running an autonomous agent, and the fixed workflows (e.g code.ts)

Re: Show HN: Nous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI

#25
post #18
post #17

Earlier quoted context omitted.

Good question, at first I only called the fully autonomous agents as agents, as to me that's what having agency is. I didn't like when other projects had "multi-agent" when it's just a bunch of llm calls. Initially the coding and software dev agents were called workflows, but to make it more agenty I was ok with it being called an agent if the result of an llm call affected the control flow

So an agent here is the combination of a system prompt and a configured set of tools, kind of like an OpenAI "GPT"?

No, a chat bot using tools (e.g. GPTs) is an "assistant."

An LLM agent is not a chat bot, unlike an assistant. It is a primarily or fully autonomous LLM driven application which "chats" primarily with itself and/or other agents.

In other words, assistants primarily interact with humans while agents primarily interact with themselves and other agents.

Re: Show HN: Nous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI

#27

How much does it cost to run?

To have it deployed costs nothing to run with the Cloud Run and Firestore free tier.

As for LLM costs that really depends what you're trying to do when it. Fortunately that cost is always coming down. When I was first building it with Claude Opus the costs did add up, but 100 days later we have 3.5 Sonnet at a fraction of the cost.

The Aider benchmarks are good to see how different LLMs perform for coding/patch generation. Sonnet 3.5 is best if it's in the budget. DeepSeek coder v2 gives the best bang for buck https://aider.chat/2024/07/25/new-models.html

Re: Show HN: Nous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI

#28
post #24

This looks fantastic! I've been using aider and had my own scripts to automate some things with it, but this looks next level and beyond. I wanted to try this out (specifically the web UI), so I configured the env file, adjusted the docker compose file, ran `docker compose up` and it "just works". It would be great if there was a basic agent example or two pre-configured, so you can set this up and instantly get a be…

Updating the Dockerfile and docker-compose.yml was the last change I made so glad to hear that worked for you! What change did you make to the docker compose file? The CLI scripts under src/cli would be the best examples currently to have a look at for running an autonomous agent, and the fixed workflows (e.g code.ts)

environment cannot be an empty object, which it is by default currently. And I commented out the google cloud line (thanks for that code comment).

Re: Show HN: Nous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI

#30

Earlier quoted context omitted.

Nous is the french word for "us". haven't heard of NousResearch

but they explain it is from the greek nous which fits better for ai

I was surprised when I learned about the Greek derivation. In the UK it's slang for common sense ("use your nous, mate"). I have to wonder how a bit of Ancient Greek ended up as UK slang.
Post reply on HN