← All integrations

AI & Models · Integration

Embed a Llama 2 integration in your product

Add Llama 2 to your product for your customers, and give your AI agents governed access to it.

Embed a Llama 2 integration so your customers can run generation on their own Llama 2 deployment rather than on one shared key you have to meter, rotate and defend. Credentials are held per customer, and the model, prompt template and parameters are configuration rather than code, so a customer who wants different settings is a mapping change instead of a release. Every call is logged per customer, which means a generated output can be traced back to the request and the customer that produced it. fastn handles credential storage and retries, and monitors the connection, proposing a fix for your team to approve if Llama 2 changes its API, and the same connection is what your AI agents call when they need generation.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Add a Llama 2 backed drafting or summarizing feature to your product, with each customer's own endpoint credentials held per customer.
  • Let a customer pick Llama 2 for a feature and change model later without you shipping new client code.
  • Build prompts from records your product already holds so generated text is grounded in that customer's own data.
  • Keep per-customer request logs so model usage and cost are attributable to the customer that caused them.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent uses Llama 2 for generation while its access to every other connected system stays scoped and audited.
  • An agent compares a Llama 2 response with another model's before it acts, with both calls logged per customer.
  • An agent drafts content with Llama 2 and files it through another connected system in the same governed run.

Example prompt

Draft a release summary with Llama 2 from these tickets, then post it to the channel I name.

Set up Llama 2 in 4 steps

  1. 01Enable the Llama 2 connector in your fastn dashboard.
  2. 02Have each customer supply credentials for their own Llama 2 endpoint so calls run on their deployment.
  3. 03Set the model, prompt templates and parameters per customer as configuration.
  4. 04Call it from your product and expose the same connection to your agents through the MCP gateway.

Why teams use the Llama 2 integration

  • Ship a Llama 2 integration without building it. Your customers connect their own Llama 2 account inside your product and work their models, requests and outputs there, and nothing lands on your team.
  • Handle the part that actually costs time: per-customer keys, quotas and cost attribution matter more than schema here, because every call is billed. fastn handles the auth, token refresh, rate limits and pagination, and when Llama 2 changes, its maintainer agent proposes a tested fix, so a Llama 2 update does not start in your backlog.

Used by these teams

Llama 2 integration FAQ

Can AI agents use this Llama 2 integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent uses Llama 2 for generation while its access to every other connected system stays scoped and audited. For example: "Draft a release summary with Llama 2 from these tickets, then post it to the channel I name."

Whose Llama 2 API key and quota does each call use?

Each customer authorises their own Llama 2 account, so usage, rate limits and cost land on the customer that caused them. You are not metering a shared key and re-billing it, and one heavy customer cannot exhaust another's quota.

Are inputs and outputs auditable?

Yes. Every call is logged per tenant with the call, the input and the result, so an output can be traced back to what produced it. That matters more here than in most integrations, because a generated answer or an extracted field cannot be reconstructed from the request alone.

What can I build with the Llama 2 integration?

A common starting point: add a Llama 2 backed drafting or summarizing feature to your product, with each customer's own endpoint credentials held per customer. The use cases above list the rest.

Add Llama 2 to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.