dwyl / dwyl/technology-stack

Agents?

Open
#160 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
291
Forks
25
PR merge metrics
No merged PRs in 30d

Description

# Only short explanations, only short video, only short readings

Basically:
- you connect to a **stateless** LLM, the thing that takes text and throughs back text and forgets everything immediately after.
- These models are trained and fine-tuned _to use “tools” and they’re very **eager** to do so_.
<= this is where an _Agent_ comes in.
- you add a process that keeps the state = the memory of the conversation
- you give access to tools to read/write/fetch/find/grep...

and this it?

The problem: the context window is **small**

Remember what **RAG** does? you have your data, documentation... vectorized, and you run a "k closest neighbour" (`kNN` finds the k nearest vectors to the vectorized query) and retokenize it and inject it with your query to the LLM. This gives you much better context to the LLM to formulate an answer with reliable source of information. RAG makes it more precise if your scope is narrow but deep.

Agents keep the state and provide tools, and MCP is a unified way to access to these tools.
Agent build their context by using tools, such as digging into your code as there are trained to do so.

## Now, building an agent:

[Image](https://www.youtube.com/watch?v=7oTPNr9APGE)

## Literature

I was looking at when I found this (in `Go`).

[Image](https://ampcode.com/how-to-build-an-agent)

## The best(?) article

[Image](https://faraazahmad.github.io/blog/blog/efficient-coding-agent/)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.